[FilterScript] Wheelie
#1

Hello again!

A would like to share with you a filterscript that I made some time ago. The idea was to make use of new SA-MP function SetVehicleAngularVelocity(...) from SA-MP 0.3b. Some math conversions (quaternion to vector and vice-vresa) I took from the internet (Wikipedia and forums about game programming).
This script allows you to perform a wheelie with a car. For this you need some fast car with good acceleration (nitro is not necessary) and hydraulics might be required to initialize the bounce.
To do a wheelie, you use hydraulics to make front wheels go up (or back wheels go down), use the down arrow on keyboard, as you do with motorbikes and bikes, and then accelerate. Please watch the demonstration:

https://www.youtube.com/watch?v=6rS6TMv4__g

Code:

part one (PlayerConnect.inc): http://pastebin.com/H6nCJfwG
part two (wheelie.pwn): http://pastebin.com/3tAM8ZJp

Warning 1: Please give me credits, when re-releasing, copying or making any changes to the code.
Warning 2: This was written quite a lot of time ago and contains some bugs. Please use it with that in mind.

I would like also to ask SA-MP team for new functionality for vehicles to make use of, next time. I was talking about it in SA-MP 0.3.7 Suggestions thread:
http://forum.sa-mp.com/showthread.ph...24#post3428724
I love new functionality in SA-MP, and this would be great, as that used in wheelie script.

Have fun!
Thank you!
Reply
#2

Great job!
Reply
#3

That realism though Aha.

Not a bad release to be fair.
Reply
#4

D:\Server SAMP\pawno\include\PlayerConnect.inc(7) : fatal error 100: cannot read from file: "QuickList"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Link to QuickList.inc please?
Reply
#5

Not bad at all!
Reply


Forum Jump:


Users browsing this thread: