I'm trying to make the jedi/j2 model use a gun instead of a saber, so i extracted the jedi model, renamed the directory to jedigunner, and made the npc code like this
It's just the stormtrooper code with a few modifications, but when i spawn him, he still has the saber handle, but can't attack. He just swings madly at the enemies.
Can anyone figure out why this isn't working?
------------------
Last week I cudn't evn spel grajuat, but now I is one.
Code:
jedigunner2
{
playerModel jedigunner
customSkin j2
health 30
headPitchRangeDown 30
reactions 3
aim 1
move 3
aggression 3
evasion 1
intelligence 5
rank crewman
playerTeam player
enemyTeam enemy
// race klingon
class stormtrooper
height 64
crouchheight 48
walkSpeed 51
runSpeed 200
snd st1
sndcombat st1
sndextra st1
yawspeed 70
walkSpeed 55
runSpeed 200
dismemberProbHead 0
dismemberProbArms 10
dismemberProbLegs 0
dismemberProbHands 20
dismemberProbWaist 0
}It's just the stormtrooper code with a few modifications, but when i spawn him, he still has the saber handle, but can't attack. He just swings madly at the enemies.
Can anyone figure out why this isn't working?
------------------
Last week I cudn't evn spel grajuat, but now I is one.