Frictional Games Forum (read-only)
[SCRIPT] How to make a "pour into glass jar effect" - 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: [SCRIPT] How to make a "pour into glass jar effect" (/thread-25527.html)



How to make a "pour into glass jar effect" - Rowzter - 06-21-2014

So i am creating this puzzle where u place a coppertube & needle in the victims head and you need to fill a glass jar that you place on the floor.

How do you make the effect that the glass jar get's filled with blood that drains from the coppertube.

can take screenshots of the scenario if needed.


RE: How to make a "pour into glass jar effect" - Mudbill - 06-21-2014

Well, you use particles and such. Have you tried checking out the script from the original event? Set the entities you need active or inactive depending on when they need to show, then add particles at areas which should be carefully placed so the particles match up with your entities. That should be pretty much it.


RE: How to make a "pour into glass jar effect" - Rowzter - 06-21-2014

(06-21-2014, 04:50 PM)Mudbill Wrote: Well, you use particles and such. Have you tried checking out the script from the original event? Set the entities you need active or inactive depending on when they need to show, then add particles at areas which should be carefully placed so the particles match up with your entities. That should be pretty much it.

oh, it's an particle effect, thanks =D.

How do you set an particle effect active with script?


RE: How to make a "pour into glass jar effect" - Radical Batz - 06-21-2014

(06-21-2014, 04:55 PM)Rowzter Wrote:
(06-21-2014, 04:50 PM)Mudbill Wrote: Well, you use particles and such. Have you tried checking out the script from the original event? Set the entities you need active or inactive depending on when they need to show, then add particles at areas which should be carefully placed so the particles match up with your entities. That should be pretty much it.

oh, it's an particle effect, thanks =D.

How do you set an particle effect active with script?

This is the script if you want a particle to be active in a script when doing something.
PHP Code:
CreateParticleSystemAtEntity("ps""ps_acid_machine_bubble_end.ps""PS"false); 



RE: How to make a "pour into glass jar effect" - Rowzter - 06-21-2014

(06-21-2014, 06:22 PM)Badcat5550 Wrote:
(06-21-2014, 04:55 PM)Rowzter Wrote:
(06-21-2014, 04:50 PM)Mudbill Wrote: Well, you use particles and such. Have you tried checking out the script from the original event? Set the entities you need active or inactive depending on when they need to show, then add particles at areas which should be carefully placed so the particles match up with your entities. That should be pretty much it.

oh, it's an particle effect, thanks =D.

How do you set an particle effect active with script?

This is the script if you want a particle to be active in a script when doing something.
PHP Code:
CreateParticleSystemAtEntity("ps""ps_acid_machine_bubble_end.ps""PS"false); 

Thank you! =D, had a little placingproblem with the area but i got it to work.