Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Vehicle Fuel script
Vehicle Fuel script [message #40232] Sun, 17 August 2003 18:28 Go to next message
OrcaPilot26 is currently offline  OrcaPilot26
Messages: 394
Registered: February 2003
Karma: 0
Commander
I can't get it to work, I set the timer to 1 sec, but when I get in the vehicle,nothing

JFW_Aircraft Fuel is attached to the vehicle preset, I put the name of the explosion preset in for explosion, Timer is set to 1 for now, and timer num is set to 2.


http://nova.deadlyfear.com/uploads/files//sig_orca.jpg
"ALL HAIL THE CHRONOSPHERE AND ITS CHRONOSHIFTY GOODNESS" -Aircraftkiller
Vehicle Fuel script [message #40342] Mon, 18 August 2003 08:38 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Chack your running version 1.2 of the scripts. Check this by right clicking the scripts.dll and checking that the "modified" date is June. Then make sure you have no conflicting times on your map. TimerNum should be unique for the script, say 27 for example. Try changin the time to 5 seconds and the explosion to "Explosion_Mine_Remote_01" and try that. For testing puropses make the vehicle in your map and the add the script to that vehicle itself.

If you get it wokring you need to read up on TDA_Send_Custom_Zone as this can be used to send the custom to refuel the vehicle. Please note a "custom" is the same as a "message" in terms of scripting, this is simply a way of sending a message between scripts so they can interact.


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Vehicle Fuel script [message #40445] Mon, 18 August 2003 18:01 Go to previous messageGo to next message
Ugauga01 is currently offline  Ugauga01
Messages: 173
Registered: June 2003
Location: Germany
Karma: 0
Recruit

What do the script???

Will the Vehicle Explode when you get in or what??


Das Leben ist ein scheiß Rollenspiel. -Hat aber eine geile Grafik.
-------------------------------------------------------
The life is a bad RPG. -But it has a great Graphik
Vehicle Fuel script [message #40526] Tue, 19 August 2003 04:50 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Well the vehicle starts to take damage after a timer has expired, when it runs out of fuel basically. Te explosion may not kill the vehicle but it will take damage, when the timer expire again it will take more damage and so on unti it is destroyed. The damage can be avoided by refueling at a zone specified such as a repiar pad or helipad for example. You can attach it to say a bomber that does a lot of damage but you don't want people camping with it.

Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Vehicle Fuel script [message #40829] Tue, 19 August 2003 18:42 Go to previous messageGo to next message
Ugauga01 is currently offline  Ugauga01
Messages: 173
Registered: June 2003
Location: Germany
Karma: 0
Recruit

THX for info

Das Leben ist ein scheiß Rollenspiel. -Hat aber eine geile Grafik.
-------------------------------------------------------
The life is a bad RPG. -But it has a great Graphik
Vehicle Fuel script [message #40859] Tue, 19 August 2003 20:10 Go to previous messageGo to next message
Skier222 is currently offline  Skier222
Messages: 336
Registered: March 2003
Location: Honeoye Falls, NY
Karma: 0
Recruit

thats cool

where did u say the script is, 1.2?


Modern Warfare site: http://modernwarfare.tk
Vehicle Fuel script [message #40905] Wed, 20 August 2003 01:11 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Yeah it's in back to version 1.0 and maybe before but It is more than likely to be faulty. The version in the 1.2 scripts will work as Jonathan Wilson tested it so we know it works.

Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Vehicle Fuel script [message #40979] Wed, 20 August 2003 11:56 Go to previous messageGo to next message
OrcaPilot26 is currently offline  OrcaPilot26
Messages: 394
Registered: February 2003
Karma: 0
Commander
okay, I almost got it to work, (I wasn't using 1.2) I'll get in the vehicle, wait a few seconds, then the explosion will go off, but it only will once.

http://nova.deadlyfear.com/uploads/files//sig_orca.jpg
"ALL HAIL THE CHRONOSPHERE AND ITS CHRONOSHIFTY GOODNESS" -Aircraftkiller
Vehicle Fuel script [message #40986] Wed, 20 August 2003 12:25 Go to previous messageGo to next message
Laser2150 is currently offline  Laser2150
Messages: 178
Registered: March 2003
Karma: 0
Recruit
does it have a Repeat Value? if it does switch it to "1" so that the timer starts again. Smile

http://www.n00bstories.com/image.fetch.php?id=1048733368
Command Whats Yours, Conquer what isn't.
Modeler for Renegade.
Vehicle Fuel script [message #40995] Wed, 20 August 2003 13:00 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Well i don't know if it is meant to go off more than once. When i tested the script it was still faulty byt Janothan Wilson fixed it and got it working since so maybe it does only explode once. The idea is to stop you using a vehicle for too long without refueling.

Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Vehicle Fuel script [message #41275] Wed, 20 August 2003 23:22 Go to previous messageGo to next message
OrcaPilot26 is currently offline  OrcaPilot26
Messages: 394
Registered: February 2003
Karma: 0
Commander
I'm really close now, I got it to go off more that once by adding the script multiple times, but for the script zone I'm using TDA_Zone_Custom, that doesn't seem to work, I put the ID of the vehicle preset in but it doesn't have any effect.

http://nova.deadlyfear.com/uploads/files//sig_orca.jpg
"ALL HAIL THE CHRONOSPHERE AND ITS CHRONOSHIFTY GOODNESS" -Aircraftkiller
Vehicle Fuel script [message #41369] Thu, 21 August 2003 08:19 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Try GTH_Zone_Send_Custom. It sends a custom to anything that enters the zone without knowing it's ID. TDA_Send_Custom_Zone is okay if the vehicle is already on the map but you can't put the presets ID in as the vehile made will have a different ID as all ID's are generated in realtime.

Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Vehicle Fuel script [message #42055] Sat, 23 August 2003 11:08 Go to previous messageGo to next message
OrcaPilot26 is currently offline  OrcaPilot26
Messages: 394
Registered: February 2003
Karma: 0
Commander
arrrghhh Mad , I still can't get it to "refuel", I've attached about 15 scripts to the vehicle that set off explosions at different times, the refuel message (11) is all the same for the scripts

I attached the GTH_Zone_Send_Custom to the zone and set the enter message to 11, the parameter to 1, the exit message to 0 and the other parameter to 0.


http://nova.deadlyfear.com/uploads/files//sig_orca.jpg
"ALL HAIL THE CHRONOSPHERE AND ITS CHRONOSHIFTY GOODNESS" -Aircraftkiller
Vehicle Fuel script [message #42066] Sat, 23 August 2003 11:38 Go to previous message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Try it with no params.

Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Previous Topic: OT: Generals / Skinner needed " Tiberian Sun Rising &q
Next Topic: A question for ppl that have 3ds max
Goto Forum:
  


Current Time: Wed Dec 25 17:31:06 MST 2024

Total time taken to generate the page: 0.00864 seconds