how do i get switches to do stuff [message #267383] |
Tue, 19 June 2007 15:14 |
NFHAVOC
Messages: 93 Registered: March 2007
Karma: 0
|
Recruit |
|
|
how do i get switchs to do stuff like buy chars and vehicles and refills and beacons
and how do i do the scripts right to do that stuff
and where are the switches in level edit i cant find them
or the laser walls or those things that look like crates
|
|
|
|
|
|
Re: how do i get switches to do stuff [message #267397 is a reply to message #267393] |
Tue, 19 June 2007 15:43 |
|
futura83
Messages: 1285 Registered: July 2006 Location: England
Karma: 0
|
General (1 Star) Viva la Resistance! |
|
|
RoShamBo wrote on Tue, 19 June 2007 23:36 |
joe937465 wrote on Tue, 19 June 2007 23:32 | lol nice reborn i still think u should make a tut of hw to add buildings like agts on none base defense mpas ;P
|
You can't.
|
kamuix has managed to do it on his server...albeit, it is just the exterior and you can't enter, but he's done it nonetheless
This is a signature. Reading this is wasting your time.
[Updated on: Tue, 19 June 2007 15:44] Report message to a moderator
|
|
|
|
|
|
|
Re: how do i get switches to do stuff [message #267477 is a reply to message #267383] |
Wed, 20 June 2007 02:37 |
|
futura83
Messages: 1285 Registered: July 2006 Location: England
Karma: 0
|
General (1 Star) Viva la Resistance! |
|
|
put 3 powerup buys on it:
one that goes to health refill...one that goes to armour, and one that goes to ammo
This is a signature. Reading this is wasting your time.
|
|
|
|
Re: how do i get switches to do stuff [message #267496 is a reply to message #267383] |
Wed, 20 June 2007 05:47 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
You could make a daves arrow that listens for a custom, then on that custom tiggers test_cinematic, with a cinematic.txt file that creates the vehichle and spawns it at your pos, or chin00ks it in w/e. Then the switch would have to have a poke and send custom attached to it, the custom being what the daves arrow listens for.
you need to search for a poke and teleport sender script, if one exists it will either be in z.cpp or jfw_poke.cpp
Wouldn't be too hard to make one.
|
|
|