SA-MP Forums Archive
Smoke grenade (tear gas) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: Smoke grenade (tear gas) (/showthread.php?tid=602859)



Smoke grenade (tear gas) - UNLIMIT3D - 14.03.2016

Hello.
I am looking for some help in improving the tear gas so it'll make more smoke and blind for a few seconds the entire view like a smoke grenade should work.
I know there's a SA:MP effect object of smoke but I really don't know how can I attach this effect to the tear gas, can you guys help me out by telling me how can I attach that smoke effect to the smoke grenade? Thanks!


Re: Smoke grenade (tear gas) - SyS - 14.03.2016

Quote:
Originally Posted by UNLIMIT3D
View Post
Hello.
I am looking for some help in improving the tear gas so it'll make more smoke and blind for a few seconds the entire view like a smoke grenade should work.
I know there's a SA:MP effect object of smoke but I really don't know how can I attach this effect to the tear gas, can you guys help me out by telling me how can I attach that smoke effect to the smoke grenade? Thanks!
wrong place bro


Re: Smoke grenade (tear gas) - Gammix - 16.03.2016

Thats not easy enough if you want exact results. I use a physics simulation to create tear gas effects (cough...) which isn't accurate enough, It fails 30% out of 100 throws.

An alternative is to create a custom throw so you never has to use client tear gas but your own (hint: use the object physics include).

Good luck.