NOTE: This guide may have a few bugs at this stage, please pm me with any
problems or suggestions as it is imposible to forcsee all errors.
STEP ONE: Make a new game. Do it.
STEP TWO: Make a new map, call it Co-op. Make a new person, call him Player
Two. Give him a weapon (lets say, an Uzi)
STEP THREE: Go to Input Scripts, its near system scripts. familarise yourself
with how everything works by experimenting with a few different scripts.
Input Scripts: click on add controll combination to create a new Input Script.
Scroll down and double click on the new Controll you just created. To assign a
key to that script click on the Controll once, then click Assign key. Simple.
There are also three nodes witch controll wether the script is exectuted when
the player pushes the key down, realeses it or holds it down.
STEP FOUR
Add a new Switch, call it 2P
Maker a new variable, call it 2PName
Return to Input Scripts
Click on 'Add combination'.
Scroll down, look for the combination you just made, it should say 'No
Combination'
Double click on it, Insert Event> Switch Branch> If 2p is on>Change Movement X>
Select the map 'This' > Click the small sqaure box on the right hand side o the
character selection screen> select the variable '2PName'> Set slider to 1 (not
minus one). If 2p is off do nothing. Click ok.
Now to assign a key on the keyboard to that script. Make sure that script is
still highlighted, click on the 'Down Bubble' bellow the name field> Click on
Key/ Button> Push the 'K' key on yyour keyboard, click ok.
Now when ever the 'K' Key is pushed, the second player moves right.
STEP FIVE:
Repeat STEP FOUR only this time set the slider to minus one and use the key
'H'. Repeat STEP FOUR only this time use the Change Movement Y script and use
the 'U' key. Repeat STEP FOUR only this time use the Change Movement Y script,
use the 'j' key and set the slider to minus one.
Now take a well earned break from scripting and test the player out. Click
'test game' on the map 'Player Two' is on, and change the variable '2PName' to
'player two', ensuring you replicate the text exactly. You will notice that
when you push the corresponding key the player moves but does not stop.
You can obviously substitue the keys if you prefer to use the Number Pad or
WASD. Now would be the best time to change this configuration.
STEP SIX:
Repet step four and five, only this time set the slider to zero for every step
and click the 'up' buble under the name field before you enter the key instead
of the 'down' bubble, if there is not a blue arrow next to the picture of the
key you are doing it wrong : ( .
STEP SEVEN:
Pat yourself on the back, you now have finished the movement controlls for a
second player. To enable 2 player controlls in your game do this: Turn the '2p'
Switch on, set the variable '2pname' to the name of your second player.
Enjoy : D
Evergreen