Quote:
Originally Posted by Grim_
Quote:
Originally Posted by kaisersouse
The way we did this at Everystuff (/cow and /chicken) was to create the object, then attach the object to the player. You have to adjust the z-axis a bit, but you can run/sprint/jump AND shoot as a cow or chicken. Not saying either system is better, but its worth checking out how it works for you using that method.
Either way, awesome FS
|
Eh, that's a good way to think about it. But aren't the objects solid? How would you shoot through them?
P.S. Why would you have to adjust the Z-axis if the player is controlling? The object would always stay with him, and he is always going to be above land.
|
The shooting and z-axis thing are related. Both the cow and chikcen are actually signs, and are on a grey "platform". If you drop the z of the object a little bit those platforms disappear under the road AND at the same time...line the player up so that you can shoot between their legs.
That said, I used a different "shooting" system where hitting the fire button touches off a series of explosions in a line in front of the player. Far out enough that the player isn't hurt, and extending far enough out to be able to kill other players without being right on top of them.
Madoshi Everystuff Chicken Fight - SAMP