Jump to content

Home

Wrong NPC


acewombat

Recommended Posts

I was finally successful at adding a new npc as in sp levels. I used the example from emon's tuts. It worked howwever I tried the same thing witht the Jedi trainer. I called him RebornJedi Trainer and named the changed the model folder name just as the stormtrooper. He spawns but spawns as a stromtrooper instead of JediTrainer. He has the right AI but the wrong skin? I rechecked to see if I extracted the right model from assets0.pk3 and I have. This is what my edited file looks like.

 

RebornJediTrainer

{

playerModel RebornJediTrainer

saberColor red

rank commander

reactions 5

aim 5

move 5

aggression 5

evasion 5

intelligence 5

playerTeam enemy

enemyTeam player

class reborn

yawSpeed 140

walkSpeed 55

runSpeed 200

snd reborn2

sndcombat reborn2

sndjedi reborn2

health 400

dismemberProbHead 0

dismemberProbArms 5

dismemberProbLegs 0

dismemberProbHands 10

dismemberProbWaist 0

}

 

 

But He is spawning a stormtrooper with a saber instead-can anyone tell me what I might be doing wrong?

Link to comment
Share on other sites

The GLM has to be in the directory with the .skin file, otherwise it won't know where to look for it. Which is foolish, imho; you're only repeating yourself with the same exact file over and over, but sadly that's how Raven set it up.

 

Hope that helps!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...