Author Topic: >> GameMode Reference <<  (Read 72495 times)

That doesn't execute though, the schedule is a variable so it needs to be executed in some form of a .cs file
  • Changing Environment settings

       To change the environment you must edit the $EnvGuiServer variables.

       In simple mode you can use preset add-ons like, Sky_Sunset, and Ground_Plate to set the tone of things.
       
       $EnvGuiServer::SimpleMode 1
       $EnvGuiServer::SkyFile Add-Ons/Sky_Sunset/Sunset.dml
       $EnvGuiServer::WaterFile NONE
       $EnvGuiServer::GroundFile Add-Ons/Ground_Plate/plate.ground
       
       If you wish to do more you can refer to the list of variables here.
       
       Also read the tip relating to the saveEnvironment command, to make things easier for you.
       
  • Changing Minigame settings

       All of the normal minigame options are available to change

       Adding this
       
       $MiniGame::Enabled 1
       
       will add a default minigame to your gamemode
       
       All the MiniGame variables you can change are located here.
       
  • Changing Server settings

       Changing the server settings is done in the same way as minigames & environments.
       
       $Server::WelcomeMessage \c2Welcome to Splosion mode %1!
       
       Here \c2 is used for coloring the message, %1 is the players name.
       
       All server variable options are at the bottom of this post, here.
       

I'm taking that as that yes, you can set variables from the gamemode.txt.

You're correct, I got mixed up

Can $EnvGuiServer variables and $Minigame variables be altered dynamically after the gamemode has been started? I know that $Server variables cannot

Does this technically mean we can make story modes?

Yup. Take a look at GameMode_Rampage's files to see how you can clear and load the next level and stuff. The default GameModes provide useful information that could be used for many aspects - like a story mode.

Where is the thing to change the colorset?

Yup. Take a look at GameMode_Rampage's files to see how you can clear and load the next level and stuff. The default GameModes provide useful information that could be used for many aspects - like a story mode.
That's super loving cool
How would I go about executing bot animations in the gamemode?

Also, I made a gamemode but the sky was black. Is this because I didn't set the environment in the Gamemode.txt?

How I can add it gamemode_slayer into gamemode_???

How I can add it gamemode_slayer into gamemode_???
I believe you type "ADDON GameMode_Slayer" without the quotation marks into the gamemode.txt file.

What size is the thumb required to be?
nvm
« Last Edit: August 11, 2012, 03:03:51 PM by Paradon »

That doesn't execute though, the schedule is a variable so it needs to be executed in some form of a .cs file
Blah

Notice how all the things in gamemode.txt (lower part) are variables

Just do it like you set the welcome message

Blah

Notice how all the things in gamemode.txt (lower part) are variables

Just do it like you set the welcome message
Late

I believe you type "ADDON GameMode_Slayer" without the quotation marks into the gamemode.txt file.
Aslo I made slayer custom player color team with the uniforms saved. I have no idea make this add on gamemode and 4 teams. how I can get slayer save txt into gamemode scripts?

Code: [Select]
Blockland\config\client\Slayer\Favorites\fav_2.cs
I wonder you able help me with this. Talk to me RTB connect.

« Last Edit: August 11, 2012, 03:26:30 PM by Cubelands »

Aslo I made slayer custom player color team with the uniforms saved. I have no idea make this add on gamemode and 4 teams. how I can get slayer save txt into gamemode scripts?

Code: [Select]
Blockland\config\client\Slayer\Favorites\fav_2.cs
I wonder you able help me with this. Talk to me RTB connect.
I kind of have the same issue as you, But with Bot events.
I know how to add the Bot Events (In your case Slayer Gamemode) Add-on to the Gamemode but I don't know how to execute Bot Events through the gamemode (In your case you don't know how to save Slayer Settings in the gamemode).

So I'm confused. Some of my bricks get seriously screwed up when I try to put them in a game-mode.

Bug? I tested it in Blockland (w/o game-mode), and it worked fine. But as soon as it goes into a game-mode, nope.

Healthy:


Not Healthy: