Frictional Games Forum (read-only)
[LVL ED] Smoke thing - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [LVL ED] Smoke thing (/thread-13691.html)

Pages: 1 2


Smoke thing - GoranGaming - 03-01-2012

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_4&feature=g-upl&context=G22dec37AUAAAAAAAAAA


/ GoranGaming


RE: Smoke thing - SilentStriker - 03-01-2012

You use particles and the code

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




RE: Smoke thing - GoranGaming - 03-01-2012

(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....


RE: Smoke thing - SilentStriker - 03-01-2012

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



RE: Smoke thing - GoranGaming - 03-01-2012

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?


RE: Smoke thing - SilentStriker - 03-01-2012

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



RE: Smoke thing - GoranGaming - 03-01-2012

YES IT WORKED! Thank you!!! But the smoke went the wrong way....


RE: Smoke thing - Xanthos - 04-08-2012

How did you do the light?


RE: Smoke thing - SilentStriker - 04-08-2012

the light?


RE: Smoke thing - Datguy5 - 04-08-2012

Xanthos probably means the explosives light when its on the ground.