Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Land Mine Script Zone
Land Mine Script Zone [message #22585] Wed, 28 May 2003 15:04 Go to next message
Spike is currently offline  Spike
Messages: 132
Registered: May 2003
Karma: 0
Recruit
I was wonderin if there was a landmine script.... i know theres a scriptzone in commando for landmine area that has a script, but when i put the scripts folder in the pkg and look for it i can never find it, is it there, i duno. Anyways, is there anyway to make like a Land Mine Script Zone ?

Another thing i was wonderin was would it be possible to make it so everyone was on the same team, like everyone join gdi, and have the game start after someone else joins?
Land Mine Script Zone [message #22587] Wed, 28 May 2003 15:43 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)
Q: How can I make working minefields?

A: Put a mesh over the damage area in RenX and apply your collision data except vehicle to that mesh. This will create a "floating" mesh but if you make it low enough you won't be able to tell it's floating.



Then make the floating mesh invisible or texture it if you wish depending on the terrain underneath.



Import to Leveledit and create a damage zone on the bottom plane as thin as possible so it doesn't intersect the top plane, this may require a lot of tweaking, probably best to align the Z axis using the coordinates of the zone.



It should only need to be about 0.001 above the bottom mesh to apply damage.



This will harm vehicles including the harvester though but not infantry.



I don't remember if there was a vehicle damage zone but if there is not make a "Script_Zone_All" zone where I said the damage zone should be.



Then attach "JFW_Apply_Damage_On_Enter" script to it and set the script parameters. See below for the parameters:



JFW_Apply_Damage_On_Enter (This script will apply damage to the object that entered the zone)



Warhead (the warhead to use)

Damage (how much damage to do)



Alternatively use this script:



JFW_Blow_Up_On_Enter (This script will create an explosion at the location of the object that entered the zone)

Explosion (the explosion to create)



The explosion will do a set amount of damage depending on the type. E.G. a timed C4 explosion is likely to kill a hum-vee but not an APC. The damage is applied every few seconds whilst in the zone. You can also use modded explosion types.

_General Havoc


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
Land Mine Script Zone [message #22590] Wed, 28 May 2003 16:11 Go to previous messageGo to next message
Spike is currently offline  Spike
Messages: 132
Registered: May 2003
Karma: 0
Recruit
thanx for the help Very Happy
Land Mine Script Zone [message #22633] Thu, 29 May 2003 01:23 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)
No preoblem Smile This question can be found along with many others at the Renegade Modification FAQ. It's written by Stonerook and I now maintain it when i get chance, you can find it at http://generalhavoc.port5.com/tutorials/faq.htm

_General Havoc


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: New dangerous tiberium...found
Next Topic: Water Sound Not Working
Goto Forum:
  


Current Time: Mon Dec 23 21:47:18 MST 2024

Total time taken to generate the page: 0.00593 seconds