[FS] Teargas V.2 - More stable, and accurate. -
Carlton - 18.06.2010
Information
When I was first released my V.1 teargas system, it was buggy, you were able to see the gas objects, and the teargas only worked for one teargas. It was completely bugged, and stupidly scripted using functions & variables as teargas instead of using the weapons. (
http://forum.sa-mp.com/index.php?topic=157771.0 )
Why this version?
This version has been made for accuracy. It was re-coded completely, with a decent animation, not a crack animation. The Map Andreas plugin made most of this accurate, the rest was from loops and coding.
Can you show me what it looks like?
Yeah, sure.
SA:MP: Teargas System.
How do I install this
You will need just the Map Andreas plugin and the knowledge on how to set up a filterscript and a plugin. The Map Andreas plugin is found here:
http://forum.sa-mp.com/index.php?topic=145196.0
Download
PWN
http://solidfiles.com/d/f51b/download/
AMX
http://solidfiles.com/d/65b7/download/
Bugs
Only one known bug which i'm sure it will be fixed in the future version.
- You can't throw long range teargas, yea' I know that sucks. You can only click, and a underarm throw is given. If you throw long ranges, the teargas effect will be several coordinates back from the teargas. Yet this can be fixed. I just need to figure out how to make it so that it checks if you just hold it not, click and hold. For example: When I added the hold feature, it made the clicking and the holding effect appear!
If you think you can fix this bug or have already fixed it, PM me.
Re: [FS] Teargas V.2 - More stable, and accurate. -
GhOsT[X] - 18.06.2010
wow very nice, nice physic simulation
Re: [FS] Teargas V.2 - More stable, and accurate. -
GunFight - 18.06.2010
nice work
Re: [FS] Teargas V.2 - More stable, and accurate. -
Trooper[Y] - 18.06.2010
Nice work, now i can think about using it

Hated the last version...
You know why :P
Re: [FS] Teargas V.2 - More stable, and accurate. -
Calgon - 18.06.2010
It's supposed to be a simple effect, not a hundred lines of code... Your older version was better.
Re: [FS] Teargas V.2 - More stable, and accurate. -
Carlton - 18.06.2010
Quote:
Originally Posted by Calgon
It's supposed to be a simple effect, not a hundred lines of code... Your older version was better.
|
It can easily be, if you noticed it's, until I added the Map Andreas for accuracy reasons, like I said.
_________________________________________________
Oh, and thank you everyone.
Re: [FS] Teargas V.2 - More stable, and accurate. -
Kar - 18.06.2010
looks good. i'll download when u make it able to throw far.
Re: [FS] Teargas V.2 - More stable, and accurate. -
Brian_G - 18.06.2010
Nice work
Re: [FS] Teargas V.2 - More stable, and accurate. -
Backwardsman97 - 18.06.2010
I know how you could make it to be thrown further.
Re: [FS] Teargas V.2 - More stable, and accurate. -
Carlton - 18.06.2010
Quote:
Originally Posted by Baked-Banana
I know how you could make it to be thrown further.
|
Quote:
Originally Posted by Topic
If you think you can fix this bug or have already fixed it, PM me.
|
Re: [FS] Teargas V.2 - More stable, and accurate. -
Montis123 - 18.06.2010
not bad did not see such script.
Re: [FS] Teargas V.2 - More stable, and accurate. -
Aleron - 19.06.2010
pretty good..this should be usefull..
Re: [FS] Teargas V.2 - More stable, and accurate. -
Plugy - 23.06.2010
Would be cool if you could try in next version, teargas taking health down
Re: [FS] Teargas V.2 - More stable, and accurate. -
Carlton - 23.06.2010
You can just remove some health in the teargas effect area in the script. ( Line 77 )
Re: [FS] Teargas V.2 - More stable, and accurate. -
ViruZZzZ_ChiLLL - 23.06.2010
Nice Filterscript

Gonna test it now :>
Re: [FS] Teargas V.2 - More stable, and accurate. -
maij - 24.06.2010
Quote:
Originally Posted by Calgon
It's supposed to be a simple effect, not a hundred lines of code... Your older version was better.
|
A number of lines does not matter as long as the code is efficient.
you can have hundred lines of code but use only let's say 50, with good development all it does is taking a bit more in filesize, which equals to ram taken. However the size of ram taken is just too small to notice.
Besides, even a simple effect can take more lines. I never seen any good script without hundred of lines for these kind of simple effects. Ever.
Re: [FS] Teargas V.2 - More stable, and accurate. -
Calgon - 24.06.2010
Quote:
Originally Posted by maij
Quote:
Originally Posted by Calgon
It's supposed to be a simple effect, not a hundred lines of code... Your older version was better.
|
A number of lines does not matter as long as the code is efficient.
you can have hundred lines of code but use only let's say 50, with good development all it does is taking a bit more in filesize, which equals to ram taken. However the size of ram taken is just too small to notice.
Besides, even a simple effect can take more lines. I never seen any good script without hundred of lines for these kind of simple effects. Ever.
|
I wasn't implying it was inefficient, I was implying it's a bunch of useless code. Teargas: Shoot + Done = Result of teargas effect, it's not supposed to be a complex FS.
At LEAST read my post before responding.
Re: [FS] Teargas V.2 - More stable, and accurate. -
MarkoniGHS - 24.06.2010
omg nice
Re: [FS] Teargas V.2 - More stable, and accurate. -
andreyeu2007 - 24.06.2010
Good FS !
AW: [FS] Teargas V.2 - More stable, and accurate. -
GooMan - 06.11.2010
Solidfiles down oo?