Vehicle Spawn [message #196884] |
Tue, 18 April 2006 14:27 |
Sn1per74*
Messages: 939 Registered: April 2006
Karma: 0
|
Colonel |
|
|
In a server once I saw when u press a switch a vehicle spawns. Does anybody know how to do this?
Creator: AoBFrost
|
|
|
|
|
|
Re: Vehicle Spawn [message #196906 is a reply to message #196884] |
Tue, 18 April 2006 17:54 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Make a daves arrow on the map (make a note of it's ID) and attatch the script "JFW_Create_Object_Custom", define what vehichle you want by it's preset name in the parametres unber objects, and input the x,y,z of where you want it created under location.
Alternatively Attatch the script "JFW_Custom_Play_Cinematic" to the daves arrow and make a cinematic.txt file, still define the location where you want the cinematic to play, and type in your cinematic name including the .txt file extension in the Script_Name parametre.
If you don't know how to make cinematics, open up your always.dat and look at the text files, it will become more clear looking at them, or perhaps just look at how BHS made there vehichle drop cinematics.
Add a switch to the map, attatch "JFW_Poke_Send_Custom_Cost" to the switch. You then need to fill in the parametres;
Just a hint; Player_Type 1 = GDI and Player_Type 0 = Nod
You also need to put in the cost of what you want the vehichle to be. Then put the ID from the daves arrow into the parametre for ID.
Note: For this to work for the client, they must be using JohnWill's scripts.dll.
[Updated on: Tue, 18 April 2006 17:55] Report message to a moderator
|
|
|
|
Re: Vehicle Spawn [message #196909 is a reply to message #196884] |
Tue, 18 April 2006 18:05 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Where I explained about "JFW_Custom_Play_Cinematic", that's for the chopper, well infact it could be anything really, it's a cnematic. But you have to either write your own or find one that is suitable inside renagdes always.dat.
Where I explained about "JFW_Create_Object_Custom" thats for it to just spawn.
|
|
|
Re: Vehicle Spawn [message #196997 is a reply to message #196909] |
Wed, 19 April 2006 15:34 |
Sn1per74*
Messages: 939 Registered: April 2006
Karma: 0
|
Colonel |
|
|
I got John Wil's scripts.dll but how do i install it? I extracted the folder to my renegade folder and under scripts in level edit but nothing happened.
Creator: AoBFrost
|
|
|
|
Re: Vehicle Spawn [message #197001 is a reply to message #196884] |
Wed, 19 April 2006 15:47 |
Sn1per74*
Messages: 939 Registered: April 2006
Karma: 0
|
Colonel |
|
|
Do I make two JFW_create_object_customs one for location and other for vehicle?
I attached the JFW_create_object_custom and i put object then i put in CnC_GDI_Humm-vee and level edit crashed... What do i do now?
Creator: AoBFrost
[Updated on: Wed, 19 April 2006 15:51] Report message to a moderator
|
|
|
|
|
|
|
|