logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,520

Administrators:
DeeZire, Redemption

There are currently 25 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Member Written Tutorials » [GEN/ZH] Burning Wreckage

Member Written Tutorials A compilation and archive of tutorials written by members. You cant post here, but you can read the threads.

Reply
 
LinkBack Thread Tools
Old 11-02-2004, 11:38 AM   #1 (permalink)
Member
 
Join Date: Feb 2003
Location: Newcastle, UK
Posts: 80
Send a message via ICQ to Acid Send a message via AIM to Acid Send a message via MSN to Acid
Default [GEN/ZH] Burning Wreckage

For each vehicle you want to make burn when destroyed like the Dragon Tank you need to go to the code of that vehicle in the FactionUnit.ini file located in Data\INI\Object and find the SlowDeathBehavior and change the FX = FINAL line. Here's an example of the SlowDeathBehavior for the Crusader tank:

Code:
  Behavior = SlowDeathBehavior ModuleTag_10
    DeathTypes = ALL -CRUSHED -SPLATTED
    ProbabilityModifier  = 50
    DestructionDelay  = 500
    DestructionDelayVariance  = 100
    FX  = INITIAL  FX_GenericTankDeathEffect
    OCL = MIDPOINT OCL_GenericTankDeathEffect
    FX  = FINAL    FX_GenericTankDeathExplosion
    OCL = FINAL    OCL_CrusaderTurret
  End
Replace FX_GenericTankDeathExplosion with FX_DragonTankDeathExplosionFinal so that the code looks like this:

Code:
  Behavior = SlowDeathBehavior ModuleTag_10
    DeathTypes = ALL -CRUSHED -SPLATTED
    ProbabilityModifier  = 50
    DestructionDelay  = 500
    DestructionDelayVariance  = 100
    FX  = INITIAL  FX_GenericTankDeathEffect
    OCL = MIDPOINT OCL_GenericTankDeathEffect
    FX  = FINAL    FX_DragonTankDeathExplosionFinal
    OCL = FINAL    OCL_CrusaderTurret
  End
The code will vary for different units but you will always change the same line. Repeat this for every vehicle you want to add the burning wreckage effect to.
Now you want to do is search for the term "dead" in order to find the dead hull objects for each vehicle. Every vehicle has one. the first one i think is for the Humvee which and is listed as Object AmericaVehicleHumveeDeadHull you cant find everything by searching for "DeadHull" as other vehicles have different ones, some are "DeadHulk" for example, but they all contain the term dead. Now for each unit that is on fire when it dies you want to change the LifetimeUpdate to this:

Code:
  Behavior = LifetimeUpdate ModuleTag_04
    MinLifetime = 0 ; min lifetime in msec
    MaxLifetime = 0 ; max lifetime in msec
  End
And then change the SlowDeathBehaviour to this:

Code:
  Behavior = SlowDeathBehavior ModuleTag_05
    SinkDelay = 14000
    SinkRate = 2 ; in Dist/Sec
    DestructionDelay = 20000
  End
Repeat this for the wreckage of every vehicle you have added the burning effect to and then you're done.
Acid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Burning Sky Mod needs Modelers Chachalon LOTR: Battle For Middle Earth I & II Editing 0 04-07-2005 12:41 PM
China walls and Burning Barricade Tesla-Chrono Generals & Zero Hour Editing 6 02-25-2003 03:35 AM


All times are GMT -4. The time now is 04:53 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.