[FilterScript] [FS] Teargas V.2 - More stable, and accurate.
#1

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.
Reply
#2

wow very nice, nice physic simulation
Reply
#3

nice work
Reply
#4

Nice work, now i can think about using it
Hated the last version...
You know why :P
Reply
#5

It's supposed to be a simple effect, not a hundred lines of code... Your older version was better.
Reply
#6

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.
Reply
#7

looks good. i'll download when u make it able to throw far.
Reply
#8

Nice work
Reply
#9

I know how you could make it to be thrown further.
Reply
#10

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.
Reply
#11

not bad did not see such script.
Reply
#12

pretty good..this should be usefull..
Reply
#13

Would be cool if you could try in next version, teargas taking health down
Reply
#14

You can just remove some health in the teargas effect area in the script. ( Line 77 )
Reply
#15

Nice Filterscript Gonna test it now :>
Reply
#16

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.
Reply
#17

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.
Reply
#18

omg nice
Reply
#19

Good FS !
Reply
#20

Solidfiles down oo?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)