Khier Posted June 1, 2003 Share Posted June 1, 2003 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. Link to comment Share on other sites More sharing options...
Leen_Qualant Posted June 1, 2003 Share Posted June 1, 2003 Hallo Khier. 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: Reborn { playerModel reborn saberColor red reactions 1 aim 1 move 1 aggression 1 evasion 1 intelligence 1 hfov 120 vfov 120 scale 94 playerTeam enemy enemyTeam player // race human class reborn snd reborn1 sndcombat reborn1 sndjedi reborn1 yawSpeed 60 walkSpeed 45 runSpeed 180 health 40 dismemberProbHead 0 dismemberProbArms 20 dismemberProbLegs 0 dismemberProbHands 30 dismemberProbWaist 0 } Now another Reborn looks like this, here is the Reborn Acrobat: RebornAcrobat { playerModel reborn customSkin acrobat saberColor red rank crewman reactions 3 aim 3 move 5 aggression 3 evasion 3 intelligence 5 hfov 160 vfov 160 scale 96 playerTeam enemy enemyTeam player // race human class reborn snd reborn1 sndcombat reborn1 sndjedi reborn1 yawSpeed 140 walkSpeed 55 runSpeed 200 health 100 dismemberProbHead 0 dismemberProbArms 20 dismemberProbLegs 0 dismemberProbHands 30 dismemberProbWaist 0 } Notice the difference? This part: customSkin acrobat 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. Leen Link to comment Share on other sites More sharing options...
Kengo Posted June 2, 2003 Share Posted June 2, 2003 Yeh, thats right. For some more ingo on this check...http://www.geocities.com/kengomaps/tutorials.html Particularly this tutorial: http://www.geocities.com/kengomaps/tutorials_npcconfig1.html Which is basically about using team colours for NPCs in SP Link to comment Share on other sites More sharing options...
V4nd4L Posted June 6, 2003 Share Posted June 6, 2003 I'm trying to make an NPC with the grayfox model, and trying to make a jedi rodian and a jedi trandoshan. 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? Thanks, Mike (V4) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.