How do i use particles??? - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: How do i use particles??? (/thread-6924.html) |
How do i use particles??? - Henriksen - 03-17-2011 Hi. Im making a custom story and i would like to make a cave in. But when it happends its supposed to come smoke if you know what i mean. So... how do i do it. I have looked at the script for the original but i dont get it. Could anybody post the script and tell me what each of the parameters mean? Sry for my terrible english xD RE: How do i use particles??? - thepaleking - 03-17-2011 http://wiki.frictionalgames.com/hpl2/amnesia/script_functions http://wiki.frictionalgames.com/hpl2/tutorials/level_editor/tutorial_1#billboards_particles http://wiki.frictionalgames.com/hpl2/tools/editors/particle_editor RE: How do i use particles??? - Henriksen - 03-17-2011 (03-17-2011, 12:21 PM)thepaleking Wrote: http://wiki.frictionalgames.com/hpl2/amnesia/script_functions Hi thanks for the quick answear I know how to make particles but I dont know how to make them appear when i enter a area. Im sry i wasnt very specific in my first post, i was really tired when i wrote it xD But you know is it something like : MakeParticle("cave_inPS"); or something??? XD RE: How do i use particles??? - thepaleking - 03-17-2011 Yeah, that's on the script function page. Just crtl + f and search for particle. RE: How do i use particles??? - Henriksen - 03-17-2011 (03-17-2011, 12:54 PM)thepaleking Wrote: Yeah, that's on the script function page. Just crtl + f and search for particle. Ok, so i found this and i guess this is it? CreateParticleSystemAtEntity(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS); But what do i put in each parameter? What do i put in "string& asPSName" etc? RE: How do i use particles??? - Linus Ă…gren - 03-17-2011 CreateParticleSystemAtEntity("", "ps_dust_break_25.ps", "AreaEffects", false); ps_dust_break_25.ps = Particle Effect File AreaEffects = Where the PS Effect shall be created RE: How do i use particles??? - Pandemoneus - 03-17-2011 asPSName = the internal name you want to give the particle system, you will need that name when you want to use DestroyParticleSysten. asPSFile = self-explanatory, the file name of the particle system (just look in the particle system browser) asEntity = where it should appear abSavePS = not quite sure what that does, might cache it or remembers that it already has been used next time you enter the map |