Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Vehicle Spawn
icon1.gif  Vehicle Spawn [message #196884] Tue, 18 April 2006 14:27 Go to next message
Sn1per74* is currently offline  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?

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: Vehicle Spawn [message #196885 is a reply to message #196884] Tue, 18 April 2006 15:01 Go to previous messageGo to next message
piotrkol1 is currently offline  piotrkol1
Messages: 167
Registered: July 2005
Location: Milwaukee, Wisconsin
Karma: 0
Recruit

I dont know about a switch, but I do know that there is a script or something that you attach to a scriptzone and when you walk into it a viechle spawns besides you but u have to pay the amount that the viechle costs. Sorry, dont know the right scripts Sn1per74.
Re: Vehicle Spawn [message #196892 is a reply to message #196884] Tue, 18 April 2006 16:45 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
A vehichle spawns, or one is dropped off by a transoprt copter?


Re: Vehicle Spawn [message #196894 is a reply to message #196884] Tue, 18 April 2006 16:51 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
either 1 would do

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: Vehicle Spawn [message #196906 is a reply to message #196884] Tue, 18 April 2006 17:54 Go to previous messageGo to next message
reborn is currently offline  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 #196908 is a reply to message #196884] Tue, 18 April 2006 18:02 Go to previous messageGo to next message
piotrkol1 is currently offline  piotrkol1
Messages: 167
Registered: July 2005
Location: Milwaukee, Wisconsin
Karma: 0
Recruit

Interesting.....is this for the transport chopper to come down and drop off or just a regular spawn?
Re: Vehicle Spawn [message #196909 is a reply to message #196884] Tue, 18 April 2006 18:05 Go to previous messageGo to next message
reborn is currently offline  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 Go to previous messageGo to next message
Sn1per74* is currently offline  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.

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: Vehicle Spawn [message #197000 is a reply to message #196884] Wed, 19 April 2006 15:43 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
Scratch that, I got it working. Thanks Reborn, you've been a lot of help.

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: Vehicle Spawn [message #197001 is a reply to message #196884] Wed, 19 April 2006 15:47 Go to previous messageGo to next message
Sn1per74* is currently offline  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?


http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost

[Updated on: Wed, 19 April 2006 15:51]

Report message to a moderator

Re: Vehicle Spawn [message #197007 is a reply to message #197001] Wed, 19 April 2006 17:18 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
No, do not attatch the script twice for that. In the parametres sectiopn for the script, under Name: You can click the drop down box, then you can define the preset you want to create in the "object" part, then under "location" you define the x,y,z. like in the screen shot attatched...
  • Attachment: def.gif
    (Size: 7.90KB, Downloaded 119 times)



Re: Vehicle Spawn [message #197011 is a reply to message #197007] Wed, 19 April 2006 17:40 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
I added the script, Under object I put Cnc_Gdi_humm-vee then under location i put my coordinates. I pressed OK and level edit crashed. Sneaky What happened?

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: Vehicle Spawn [message #197033 is a reply to message #196884] Wed, 19 April 2006 19:08 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
You left a space blank Big Grin Thumbs Up Blush In Love
Re: Vehicle Spawn [message #197181 is a reply to message #197033] Thu, 20 April 2006 18:04 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
I press button and nothing happens


http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: Vehicle Spawn [message #197287 is a reply to message #196884] Fri, 21 April 2006 16:54 Go to previous message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
Help here to please

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Previous Topic: Help with scripts&Nuetral PT's
Next Topic: Script Generator
Goto Forum:
  


Current Time: Fri Nov 15 00:50:54 MST 2024

Total time taken to generate the page: 0.00962 seconds