View Full Version : Question about making NPCs in SP
06-01-2003, 06:33 PM
I'm trying to use the model_red.skin rather than the model_default.skin for an NPC in SP, but when I spawn the NPC it just shows a gray and white jumble of textures on the model. :confused:
06-01-2003, 06:49 PM
Now this has been a long time since I messed about with skins for SP actually, but I do remember some stuff, I dont know how you went about trying to switch skins but I think one way is like this:
Extract the file "npcs.cfg" from assets0.pk3 /ext_data.
Open it with a note editor like Notepad.
This file sets different attributes to NPC and YOU as single player.
Example, the Reborn dudes all use the same model but have different skins and attributes/styles/forcepowers.
Default Reborn dude looks like this:
// race human
Now another Reborn looks like this, here is the Reborn Acrobat:
// race human
Notice the difference?
Find the NPC you wish to change in this file, then if he has a "Customskin" tag on him just set it to "red" and I believe you should be fine.
06-01-2003, 08:53 PM
Yeh, thats right. For some more ingo on this check...http://www.geocities.com/kengomaps/tutorials.html
Particularly this tutorial:
Which is basically about using team colours for NPCs in SP
06-06-2003, 01:20 AM
I'm trying to make an NPC with the grayfox
model, and trying to make a jedi rodian and a jedi
I'm not putting them into a level, so all I edit is
npcs.cfg right? To get them through the console.
Jedi 2 Outcast\GameData\grayfox_npc\grayfox_npc.pk3
grayfox_npc.pk3 > ext_data > npcs.cfg
And I should keep the npcs.cfg the same filename since
I'm replacing the original file with additions, right?
Well, that didn't work so well so I've made 3 .npc files for each of the guys - rebornrodian.npc, reborntrandoshan.npc and jedigrayfox.npc.
the grayfox model can now use a lightsaber, and takes
it out and fights, except for one problem. The
lightsaber isn't attached to the model properly,
(like when you replace the player model
in single player and try to load a previously saved
game). The lightsaber is stuck in the character's
center and does not move when he fights.
The Rodian and Trandoshans have their lightsaber hilts
in their hands, but never use them. They run around
and wave the hilts but the actual lightsaber blade never comes out.
How could I solve these problems?
I also have some other questions. Is there any way for me to randomize the lightsaber color of npcs, but keep it within a range of colors?
i.e.: Making an npc with sabercolors green, blue, and purple, randomly.
Or maybe the sabercolors are randomized according to the playerteam setting?
i.e.: the jedif (jedi that looks like jan) npc has a random sabercolor setting, but I have yet to see her spawn with a red saber. I am pretty sure I have seen her spawn with all the other colors, except red.
Has anyone else noticed this?
vBulletin®, Copyright ©2000-2015, Jelsoft Enterprises Ltd.