avoitishin / xray-16

XRAY 16 Engine Modifications
Other
10 stars 6 forks source link

Utilizing 3rd person weapon animations #22

Open ghost opened 9 years ago

ghost commented 9 years ago

I just noticed that you added a check for the existence of 3rd person weapon animations to the code. I'd like to use this as Shoker mod 2.1 has them and I think I can simply recompile the OWR and UWR guns on those animation sets with those animations.

The question is: how does it work? I mean, if there's a shoot animation in the world model does the code know to use it? Or, do I need to write a script to use it?

avoitishin commented 9 years ago

To be honest, i don't remember exactly what i did there. If i recall i simply wanted to make these changes backward compatible and prevent crashes if models don't have new anims, So i check if new animation exists, play it, if not either use default or dont do anything... or something like that. Lets chat more on forum later today