Frictional Games Forum (read-only)

Full Version: Smoke thing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
My explosion script works now. Shy But when it explodes I want to create smoke on the explosion area. How do I do that?

Here is my video of what I have done so far with the explosion script:

http://www.youtube.com/watch?v=C8Dm-37Bs...AAAAAAAAAA


/ GoranGaming
You use particles and the code

CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);

(03-01-2012, 09:28 PM)SilentStriker Wrote: [ -> ]You use particles and the code

CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS);
I tried that but it didn't work. I can try again atleast....
Make an area in the rumble and then use that as the entity to create the smoke, and remember to use the right smoke. You can always look in TDD on how they did it
I know how to make it Smile I played the storage map from TDD and the smoke was huge. I've tried a lot of smoke particles now but I don't find anyone that is that big Sad
I've looked through the storage.hps file four times now, I haven't found anything about the smoke particles. Can anyone see the script lines?
I know how they made it. They used cave in from Entities/special and then just SetPropHealth 0 and there you go Smile

But they also connected some stones to the cave in so when it blows some rocks fly away from the rumble
YES IT WORKED! Thank you!!! But the smoke went the wrong way....
How did you do the light?
the light?
Xanthos probably means the explosives light when its on the ground.
Pages: 1 2