hello everybody! anyone know if it is possible to do this? mean an object explodes and unleashes an explosion followed by several different objects, something like a "domino effect"
via LUA or ODF? thanks!
Explosions chain?
Moderator: Moderators
-
ForceMaster
- Lieutenant General

- Posts: 737
- Joined: Fri Aug 08, 2008 11:27 pm
- Projects :: Tron The Grid
- xbox live or psn: No gamertag set
- Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Explosions chain?
Either one can be done - the .odf method is easiest, but it will make an almost instantaneous explosion for all of them. If you use lua (a series of timers and killobjects would be easiest), it will take some more work, but you may be able to produce a cinematically more satisfying result. It all depends on what you want to do.
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Explosions chain?
An example of the .odf method can be seen in my Aldura: Landfall map. There are several explosive barrels sitting around a turret. The barrels' explosion has a high damage value that destroys anything withing its damage radius - in this case, the turret. As Maveritchell said, the explosion of the turret is essentially instantaneous. This works well when you just need to destroy one or two objects at once, and it takes a matter of seconds to set up.
However, if you want a true domino effect with a small, yet noticeable time lapse between each explosion, you should use the .lua functions Mav described.
However, if you want a true domino effect with a small, yet noticeable time lapse between each explosion, you should use the .lua functions Mav described.
-
ForceMaster
- Lieutenant General

- Posts: 737
- Joined: Fri Aug 08, 2008 11:27 pm
- Projects :: Tron The Grid
- xbox live or psn: No gamertag set
- Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe
Re: Explosions chain?
Thanks men! you mean ussing this line in the explosion odf?
Code: Select all
DamageRadiusIner = "xx.x" - Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Explosions chain?
In the .odf you'll be looking for these lines:
Damage = "800.0" - base damage the explosion inflicts on units, objects, etc.
DamageRadiusInner = "4.5" - radius within which maximum damage is inflicted
DamageRadiusOuter = "6.5" - farthest distance damage will reach; damage inflicted gradually diminishes between RadiusInner and RadiusOuter
Damage = "800.0" - base damage the explosion inflicts on units, objects, etc.
DamageRadiusInner = "4.5" - radius within which maximum damage is inflicted
DamageRadiusOuter = "6.5" - farthest distance damage will reach; damage inflicted gradually diminishes between RadiusInner and RadiusOuter
-
ForceMaster
- Lieutenant General

- Posts: 737
- Joined: Fri Aug 08, 2008 11:27 pm
- Projects :: Tron The Grid
- xbox live or psn: No gamertag set
- Location: C:\Program Files\ForceMaster\Bin\ForceMaster.exe
Re: Explosions chain?
Thanks Eggman! I'll try it. 
