Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: EK.IceFlake on Feb 15, 2015, 02:26 PM

Title: [HELP] Resetting player animation
Post by: EK.IceFlake on Feb 15, 2015, 02:26 PM
Yo!
I added an animation to my server, only to found out that there is no way to reset it! Please help.
Also, how to throw a spike from player (/spike in 0.3zr2)
Title: Re: [HELP] Resetting player animation
Post by: BigcaT_ on Feb 15, 2015, 03:21 PM
about spikes, I think we can't realize. Because we must let the spike spread. 0.4 can only move the objects to other places. We can't do anything else。
Title: Re: [HELP] Resetting player animation
Post by: Sebastian on Feb 15, 2015, 08:13 PM
You can reset an animation with another animation.
I used it in >my snippet< (http://forum.vc-mp.org/?topic=10.0). (it's ID is 29, group 0)

About spikes, I always wondered if the spikes made for Maxo's Vehicle Loader  (http://www.gtagarage.com/mods/show.php?id=16467) by maxorator will work for 0.4 also... so I tested it. :)
Unfortunately, the spikes didn't appear. Just the weapon icon, and the animation.

Maybe developers can enable it. :)

Here you can find the weapon tested by me: https://www.mediafire.com/?44do2iw4v8jhxra

PS: When you "throw" the custom spikes, you won't be able to control your ped anymore, but you will be able to move the camera around it, just like in SA. :P
Title: Re: [HELP] Resetting player animation
Post by: aXXo on Apr 20, 2015, 06:25 AM
@sseebbyy  I was hoping the latest update would allow us to implement spike strips.
We need an object that would trigger onObjectBump when a vehicle bumps it. If required, it can be placed halfway into the ground so cars dont come to a dead stop on collision.

Any suggestions?
Title: Re: [HELP] Resetting player animation
Post by: Sebastian on Apr 20, 2015, 11:27 AM
This is an interesting idea, but wouldn't be like the original...
Also, you should test first if the onObjectBump is called when the wheels are touching the object.

Even if it will be called, you won't know what wheels touched the object, so all you can do is popping all tyres.

The best is to leave this on developers.