Jump to content

Changing weapon model by class on SP.

Recommended Posts

I was wondering how can i change some weapon models (NOT sabers, but the shooting weapons, like blaster pistol) with code into SP client for adding more variety in the shooting weapons  of my mod.


we get two Enemies equiped with WP_BLASTER, if one is CLASS_STORMTROOPER get a weapon model, if instead is CLASS_JAN get another model. i know how to do that with visual effects of weapon shoots, but not with weapon models.

some suggest? where i can find the SP code part that define the weaponmodels and attack the models to NPC right hands?

I need also to overload the weapons.dat field about the weaponmodels?


same question for animation, but about shooting and ready animations i have some half idea based on my SP weapon tutorial. 




Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...