SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 04/06/2010, 05:27 AM   #1
clavador
Huge Clucker
 
clavador's Avatar
 
Join Date: Jun 2007
Location: Argentina
Posts: 259
Reputation: 68
Default [FS] Hit Npcs with a car + Extra

So, What I've made it is just a FS (including its npcfile) to hit the npc when you pass near him.

It's far from perfect and it's in a very thin shape, but at least is functional.

It plays three different animations (all random) when you hit the bot. There are many more to play but I tested only three.

Here's a little video I've made:

NPC HIT.wmv

Some things I'm planning to add:

- Detect velocity of the vehicle (anyway, if you don't hit hard enough, in most cases you won't "hit" the npc).
- Play the correct animation depending on the angle of the hit.
- Make the bot face you and look at you (or play random animation) when you are near him (He stops if your are in a range of "10" near him).

Overall, it works pretty good for my taste. Give it a try and post anny suggestions.

You can do whatever you want with this FS and if you manage to make it even better (i guess you will), please post it here so I can use it too :P

BUGS :

- Sometime when you pass near him very very close, even if you didn't hit him for real, he will fall anyway (adjust the isplayerinrange to your desired amount to fix this).
- If you hit the NPC and manage to drag him a few meters, when the animation stops, it will return to its original position (as far as I know, this can't be fixed).
- Maybe some times you hit him too hard and nothing happens and viceversa.


The NPC HIT FS: http://www.sendspace.com/file/0otndc [ YOU NEED DINI FOR THIS TO WORK! IT IS INCLUDED IN THE PACKAGE ANYWAY! ]


EXTRA:

This is an extra package of 53 npc drivers around LS. I was making my GM in LS, but moved it afterwards to some town north LS.
This package include all 53 .pwm, .amx and .rec needed for you to spawn the drivers in LS. It's very cool and it took me quite some time


Drivers Around Los Santos: http://www.sendspace.com/file/zj2856



__________________
clavador is offline   Reply With Quote
Old 04/06/2010, 05:28 AM   #2
clavador
Huge Clucker
 
clavador's Avatar
 
Join Date: Jun 2007
Location: Argentina
Posts: 259
Reputation: 68
Default Re: [FS] Hit Npcs with a car + Extra

Ups, hehe.
__________________
clavador is offline   Reply With Quote
Old 04/06/2010, 06:54 AM   #3
Zeros
Big Clucker
 
Join Date: Feb 2010
Posts: 98
Reputation: 0
Default Re: [FS] Hit Npcs with a car + Extra

nice fs its npc its down 5 min??
Zeros is offline   Reply With Quote
Old 04/06/2010, 08:38 AM   #4
UnHead
Little Clucker
 
Join Date: Apr 2009
Posts: 48
Reputation: 0
Default Re: [FS] Hit Npcs with a car + Extra

Cool man
UnHead is offline   Reply With Quote
Old 04/06/2010, 03:53 PM   #5
clavador
Huge Clucker
 
clavador's Avatar
 
Join Date: Jun 2007
Location: Argentina
Posts: 259
Reputation: 68
Default Re: [FS] Hit Npcs with a car + Extra


It's also funny when you hit the npc and he's "dead", if you approach and touch him on the ground (or kick him) he will spit insults to you :P

But this is from SAMP itself since we can't kill bots

__________________
clavador is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS]Real Time(extra) [DrM]spatrik Filterscripts 3 18/07/2010 02:55 PM
[HELP]DO you i have a extra bracket in this command? Lilcuete Help Archive 5 28/11/2009 05:06 PM
Extra processing work ?? CBFASI Help Archive 1 12/05/2009 10:51 AM
Extra samp versions D101h Server Support 1 27/04/2009 12:36 PM


All times are GMT. The time now is 01:39 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.