Giter VIP home page Giter VIP logo

guiftsdynamicblueprint's Introduction

CONTROLS :

  • To enter blueprint editing mode, press Left control or Right control
  • To hide blueprints, simply press 'H'
  • When in editing mode, you can left click to add a block, or right click to remove a block
  • When playing as a builder, use the usual menu to choose which block to place
  • When playing as archer or knight, use the key 'R' and 'U' to naviguate between the different blocks
  • You can select a zone by settings selection points using the 'I' and 'P' key. Use 'I' to set the first point and 'P' to set the second point. Then press 'O' to save your selection. You can also use the mouse-wheel click button.
  • You can save a blueprint that is inside the two selection points using the 'O' key
  • You can load your saved blueprints by using the 'L' key or using the 'X' key
  • You can cycle through rendering window size by pressing 'J', try it if your performance aren't great
  • You can cycle through rendering relative to your camera or your cursor by pressing 'K'
  • As a moderator, you can enable or disable live blueprint editing using the "!bp_edit_toggle" command
  • As a moderator, you can enable or disable the overseer mode using the "!bp_overseer_toggle" command.
    • When the overseer mode is enabled, only the selected overseers with the command "!bp_overseer_set Username" can place and edit blueprints
    • The moderator can use the command "!bp_overseer_none" to remove the overseer role from each player
Thanks to all kag's modder who answered my questions and big thanks to Numan and Monkey_Feats.
Thanks to Epsilon for the inventory code

INSTALLATION FOR HOST

add the CustomRenderer.as to your rules.cfg scripts list. Example, to have it added on CTF gamemode, go to King Arthur's Gold\Base\Rules\CTF\gamemode.cfg and edit the file to add CustomRenderer.as in the script section.

TODO:

Live editor todo:

  • make selection actually select the right area
  • make it possible to rotate 2d sprite larger than 8x8
  • make blob stop attacking when in edit mode
  • make spectator camera stop moving with mouse when editing
  • make editing mode toggleable instead of having to hold
  • fix rotation bug : get the direction of held object directly.
  • add saw
  • add trampoline
  • add catapult
  • add ballista
  • add custom shop
  • ability to place all the relevant block at the blueprint location

CTF improvement todo:

  • f1 tips
  • remove block once it's placed
    • also add a command to disable that
  • Make the data being sent only to the right team
  • make a voting system on blueprints
  • make chat command to clear all blueprints
  • configurable delay between the placement of blueprint to prevent spam

Overall improvement todo:

  • cleanup code, remove the global variable, make the project oop based
    • make a new inventory system and put all the blocks in there.
    • make a make object, make it so that you can easily iterate through it
  • Optimisation : Make the inventory GUI part of a mesh and maybe use only 1 render function.
  • Optimisation : Create multiple vertex array as chunk and render only the chunk near the camera.
  • make a way organize all your blueprint in menu/improve menu
    • a config image that tell you which blueprint number is in which menu
  • dynamics notes/implement the ping mod
  • veracity : block on flag shouldn't be allowed
  • optimise even more blueprint data sharing
    • getLocalPlayer().getNetworkID() == netID this may not work as you think it does : even when netid != localnetid, code is being executed.
  • Wait for engine fix for your save system to completely work -> remind the engine devs about it

Blueprint promotion todo:

  • Overseer idea
    • an addon to existing gamemode that add a 30 to 60 seconds delay before the beginning of a match to plan blueprints building
    • an gamemode in which there is one overseer and the other ppl have to build what the overseer want otherwise they lose
    • kind of an addon/gamemode where there's one overseer per team that tell the team what to do

Code structure

guiftsdynamicblueprint's People

Contributors

kuift avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.