Giter VIP home page Giter VIP logo

overseer's Introduction

OVERSEER MOD FOR THE GAME KING ARTHUR'S GOLD

This mod consist of picking overseers that instruct their teamates what to built using blueprints. The team win if they can manage to build the whole blueprints in time.

CONTROLS FOR THE OVERSEERS AND THE MODERATORS:

  • 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

TODO:

Overseer gamemode:

  • make the builder the only class available
  • make the save system available to everyone even if not overseer
  • make a item that allow you to buy things from the workshop to destroy bedrock and spawn block OR make impossible to put blueprint in those places
  • determine a limit of block that can be placed by the overseer(s) depending on the number of people in the server
    • once the limit is found, make it so instead of having a time limit, the overseer has a "blueprint block quota" to fill before the next phase begin
  • make the overseer selectable with a voting system
  • make it competitive:
    • add the red team
    • make it so that each team can select their own overseer
    • make it so that when the overseer phase is done, each team must build the blueprints of the opposite overseer
  • make a third phase; make a breaking phase where people of to break their construction; or make a defense phase, where one team defend with the help of their blueprint; or make make a normal CTF start

Live editor todo:

  • make a good gui for the editor tool
  • 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
  • make an addon for existing gamemodes that add a 30 to 60 seconds delay before the beginning of a match to plan blueprints building

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

Code structure

overseer'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.