29.06.2013, 04:45
(
Последний раз редактировалось Alternative112; 15.07.2013 в 10:45.
)
Recruitable Bambi Filterscript!
Find Bambi on the map and crouch in front of him to recruit him. He will follow you around and will even jump on top of a car with you!
Pictures:
http://oi39.tinypic.com/5l2f5j.jpg
http://oi43.tinypic.com/2us7mme.jpg
http://oi43.tinypic.com/2uhnup2.jpg
Too soft and cutesy-wutsey? Did I mention that if you shoot somebody, Bambi will tackle their shit to the ground and give you a good 3 seconds to continue shooting your enemy? Bambi is also an object, which means he can protect you from cars attempting to run you over if he is in the correct spot!
Known Bugs
-Bambi does not face me!: This has to do with the object rotation of the Bambi object, and consequentially math.....which I really really suck at. Improvements on this are welcome.
-Bambi seems to be stuck inside the roof of my car, and he hurts me if I fall off a bike!: It's to do with GetVehicleModelInfo not returning the spot-on exact height of the car. I could probably fix this too but I'm not sure exactly how just yet. The damage from falling off a bike is a SA-MP issue - you are colliding with a solid object so you get damaged. I could fix it by making Bambi float higher on the bike but that would seem much less realistic.
-When I get teleported or go into an interior / virtual world, Bambi does not follow me: Working on it. Bambi WILL actually follow you if you do very far teleports - he's just a little slow and it will take him a while to catch up with you. I am trying to figure out the best way to go about doing this. Not following you into virtual world / interiors will become a much greater challenge. I already tried using Incog's streamer to set the VWs / interiors, but AttachDynamicObjectToVehicle doesn't seem to work at all and makes it impossible for Bambi to follow you on top of a car. I even tried just using AttachObjectToVehicle, but it attached the wrong object ID....
Future Features!
-Make Bambi able to properly tackle players and not have to use ApplyAnimation. If SA-MP allows it.
-Give Bambi the ability to attack someone from the roof of a car with a key press and return back onto the roof!