PDA

View Full Version : The saber-through-the-back problem


JavaGuy
09-26-2002, 11:49 AM
Can anyone explain how to solve this in terms a relative newbie can understand? It's discussed in the adding-NPCs thread, but I really don't get it.

(I've created a new NPC by reskinning a Reborn, but he holds his gun in his crotch, a most uncomfortable way to fire a weapon, and his lightsaber comes out of, well, someplace any doctor will tell you never to stick a lightsaber.)

WhiteShdw
09-26-2002, 03:15 PM
make sure his spawnname is something like "reborn....". That should fix it. And don't change the enemy/player teams on the characters, that doesn't work either.

JavaGuy
09-26-2002, 07:09 PM
Here's what I have in my .npc file:

RebornJawa
{
playerModel RebornJawa
saberColor red
rank lt
reactions 3
aim 3
move 5
aggression 4
evasion 3
intelligence 5
hfov 160
vfov 160
playerTeam enemy
enemyTeam player
// race human
class Reborn
snd RebornJawa
sndcombat RebornJawa
sndjedi RebornJawa
yawSpeed 140
walkSpeed 55
runSpeed 200
health 75
scale 60
dismemberProbHead 5
dismemberProbArms 20
dismemberProbLegs 5
dismemberProbHands 30
dismemberProbWaist 5
}

Yes, I have changed all the folder names appropriately. ;)

The saber still comes out his back, and he still holds his rifle in his crotch.

WhiteShdw
09-27-2002, 10:40 AM
the entry looks fine.

All i can think of then is that the model directory isn't right.

JavaGuy
09-28-2002, 12:03 AM
Another mystery solved. It turns out it's case-sensitive. A RebornJawa is not the same thing as a rebornjawa. The later works!

WhiteShdw
09-28-2002, 10:21 AM
LOL, I never realised that. I always typed lowercase because everthing in the pk3's were lowercase. I guess you really do learn something new every day.:)