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 #22587] Wed, 28 May 2003 15:43 Go to previous messageGo to previous message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma:
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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: New dangerous tiberium...found
Next Topic: Water Sound Not Working
Goto Forum:
  


Current Time: Tue Dec 24 13:15:47 MST 2024

Total time taken to generate the page: 0.00555 seconds