SpiderVenom Posted August 14, 2003 Share Posted August 14, 2003 I have been trying to create an NPC for JK2 single player, and I have added the appropiate entry in npcs.cfg. I started by using the luke model for testing (I just copied its folder and renamed it to my character name). The model is fine, but he doesn't have a saber. Well, he has one, but his hands are holding an invisible blaster (which he fires) and he has no force powers. I tried using the jedi model, and setting his class to jedi, but not luck. In fact, the lightsaber was then between his legs. Can anyone help? Link to comment Share on other sites More sharing options...
tFighterPilot Posted August 15, 2003 Share Posted August 15, 2003 Show me what you wrote in npcs.cfg Link to comment Share on other sites More sharing options...
Emon Posted August 15, 2003 Share Posted August 15, 2003 Entries for totally new NPCs should be in yourNPC.npc, as stated in my tutorial which is on a web page now probably defunct, but you can give it a try. It's a sticky thread. Link to comment Share on other sites More sharing options...
tFighterPilot Posted August 15, 2003 Share Posted August 15, 2003 It is quite possible to put them in the npcs.cfg, the only advantage in making a .npc file, is that it does not overwrite the existing npcs.cfg So if you want to send this new file to jk2files.com or something, make it inside a .npc file. Link to comment Share on other sites More sharing options...
SpiderVenom Posted August 15, 2003 Author Share Posted August 15, 2003 This is the current entry in npcs.cfg: Aurodian { fullName "Aurodian" playerModel aurodian saberColor orange rank commander reactions 5 aim 5 move 5 aggression 5 evasion 5 intelligence 5 vigilance 1 playerTeam player enemyTeam enemy class jedi yawSpeed 150 walkSpeed 60 runSpeed 210 vfov 160 hfov 160 // race human snd jedi1 sndcombat jedi1 sndjedi jedi1 health 400 dismemberProbHead 0 dismemberProbArms 0 dismemberProbLegs 0 dismemberProbHands 0 dismemberProbWaist 0 } The model aurodian is currently a copy of the luke model, with the skin files updated to reflect the path changes. Link to comment Share on other sites More sharing options...
tFighterPilot Posted August 16, 2003 Share Posted August 16, 2003 Ok, I found the problem, the title and model name (and of course the model's folder name) should begin with Jedi (e.g. jedi_aurodian) Link to comment Share on other sites More sharing options...
SpiderVenom Posted August 16, 2003 Author Share Posted August 16, 2003 It works!! Thanks! I have two other questions though: 1. What other models can new npcs be based on (for example, is there any way to use luke or desann)? 2. I figure the class attribute is what gives all the properties, like force powers and weapons. Is there any way to create new ones? Link to comment Share on other sites More sharing options...
tFighterPilot Posted August 16, 2003 Share Posted August 16, 2003 1.reborn, luke, tavion, stormtrooper(just need to write st), rebel, desann... 2.not to my knowlage, I believe a thing like that would require programing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.