explosions

explosions

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

explosions

Post by oksnoop2 »

How do I do explosions?
http://springrts.com/screenshot.php?id=899

Is it a lups or ceg thing? and are there any lua examples?
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Re: explosions

Post by bobthedinosaur »

Look at other mods for examples. CA has a ton of CEG and LUPs. Most explosions are CEG and LUPs are used for other effects such as aircraft/ weapon trails, or weather effects.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: explosions

Post by CarRepairer »

Assuming that image is the CA fusion...

Look in the armfus unit file, it explodes as ATOMIC BLAST.

Then look in the weapons folder for the atomic blast weapon file (atomic_blast.tdf).

In there you'll see the explosion graphic is NUKE_150.

A short trip to the effects folder and under it you'll see the nuke_150.lua file that contains the CEG definition for that visual.
Post Reply

Return to “Game Development”