Author Topic: Gamemode_FallingTiles  (Read 490 times)

Still don't know if this is going to be an actual gamemode, or just a script called a gamemode.

Bricks --- Admin only
  • Big Tile --- 16x16 plate
  • Normal Tile --- 8x8 plate
  • Small Tile --- 4x4 plate
  • Tiny Tile --- 2x2 plate
  • Grill Tile --- Grill plate
  • Winner spawn --- where the winner spawns.

Events
  • onFall --- Called when a brick dissapears as it falls.
  • onNewWinner --- Called when a new winner is picked (e.g. every round)
  • brick->randomizeTileColors --- will make each tile a random color
  • brick->setPrintWinnerName --- will make it and print bricks to the right of it display the last winner's name
  • client->fallBig --- Makes all tiles but big tiles dissapear.
  • client->fallNormal --- Makes all tiles but normal tiles dissapear.
  • client->fallSmall --- Makes all tiles but small tiles dissapear.
  • client->fallTiny --- Makes all tiles but tiny tiles dissapear.
  • client->fallGrill --- Makes all tiles but grill tiles dissapear.
  • client->fallColor --- First arg is the actual color, second argument is where you can put the name of that color
  • client->randomItems --- Argument is the item. Gives each tile a random chance of becoming a spawn for the set item.
  • client->clearGameItems --- Clears inventories of every player and removes all tile item spawns.
  • player->isInArena --- Sets that the player is in arena. Should be used with a onPlayerTouch on a bridge into the arena, or an onTeledoorExit with a teledoor into the arena.

RTB Prefs
  • Time before fall (ms) --- Sets the amount of time players have to find the right tile before they dissapear.
  • Fallen time (ms) --- Sets how long the tiles will remain gone.
  • Tile messages to everyone --- By default game related messages only get sent to people in the arena, check this to send said messages to everyone in the server
  • Color start --- the randomizeTileColors event randomizes tiles color between two set numbers, the start and end colors
  • Color end --- the end point. If you only want tiles to be the first 6 colors in your color set, set colorStart to 0 and colorend to 5
  • Time between rounds (ms) --- The time between rounds. The winner cannot use events until his round starts
  • Max Round Length (secs) --- After a round goes on for this long, a random winner is chosen and the round ends. A warning occurs at half of this time.
  • Points for winning --- How many points for winning a round, does not include kills or deaths

Commands:
  • /tradeWinner <target> --- Gives your winner away to <target>
  • /newWinner --- Admin only command that ends the round and chooses a random winner.
  • /compileGate <name> --- Will make any brick named <name> owned by the command uses a gate, that closes during the rounds.

Still working on this and testing it and stuff
« Last Edit: July 16, 2013, 03:27:37 PM by DrenDran »

Really cool. Can't wait.

Looks like that will help out a lot of falling tile servers.