Desperate Help Needed!! -1 reply

Please wait...

hyddenmyth

I don't spend enough time here

50 XP

30th April 2008

0 Uploads

21 Posts

0 Threads

#1 10 years ago

ok ive been trying and trying and i cant seem to add npc support for this model KotOR Officers, Jedi Knight 3 Downloads, Jedi Knight 3 Skin Packs 2 its not appearing on my npc tool at all and i cant find out what to name it if anyone has npc suppoort for this or can help plz do




Darth Zion

Hmm...bored

50 XP

11th January 2006

0 Uploads

487 Posts

0 Threads

#2 10 years ago

I can help you, If you want npc support and do not know the slightest thing about npc you can still make some basic ones easily.

1) open up your assets1.pk3 and go to: ext_data/npcs/cultist.npc 2) Extract the npc file and open it with notepad

3)now you see a bunch of text probably something like this: I will explain a few of these lines so you can get a basic understanding

[COLOR=DimGray] cultist [COLOR=Black]<-- This is the NPC "name" (spawn npc cultist)[/COLOR] { playerModel cultist [COLOR=Black]<-- This is the actual model from the pk3[/COLOR] weapon WP_BLASTER [COLOR=Black]<-- the weapon it uses[/COLOR] altfire 1 FP_LEVITATION 3 [COLOR=Black]<-- the force powers it has and the levels (1~4)[/COLOR] FP_SPEED 2 FP_PUSH 2 FP_PULL 2 FP_GRIP 1 FP_LIGHTNING 1 FP_DRAIN 1 rank ltcomm [COLOR=Black]<-- rank of the npc not sure what this does but I believe this has to do with npc behaviour and SP scripts [/COLOR] reactions 1 [COLOR=Black]<-- these explain themselves I think ;)[/COLOR] aim 1 move 1 aggression 1 evasion 1 intelligence 1 hfov 120 vfov 120

playerTeam TEAM_ENEMY [COLOR=Black]<-- The team the npc is on, TEAM_ENEMY implies hostile npcs while TEAM_PLAYER implies friendly npcs. This however becomes reversed when the player uses the "playermodel" command in the console and selects an npc that has TEAM_ENEMY [/COLOR] enemyTeam TEAM_PLAYER [COLOR=Black]<-- reversed from above[/COLOR] // race human class CLASS_REBORN snd cultist1 [COLOR=Black]<-- soundset it uses ( custom sounds usually come along with the models in the pk3 search for them)[/COLOR] sndcombat cultist1 [COLOR=Black]<-- combat sounds it uses (Think of taunts)[/COLOR] sndjedi cultist1 yawSpeed 60 walkSpeed 45 [COLOR=Black]<-- default walking speed[/COLOR] runSpeed 180 [COLOR=Black]<-- default running speed[/COLOR] health 50 [COLOR=Black]<-- npc health this value can be bigger than 100 These are the dismemberment probabilities for all of the limbs when cut by a lightsaber [/COLOR] dismemberProbHead 0 dismemberProbArms 20 dismemberProbLegs 0 dismemberProbHands 30 dismemberProbWaist 0 }

[COLOR=Black]Hope this explains some stuff.

4) now onto creating the npc you want, The KOTOR officers pack only includes some skins so this becomes easier. The are going to base the npcs of these officers off of the Jedi Rebel model so we use the rebel.npc file:

[COLOR=DimGray]Rebel { playerModel rebel weapon WP_BLASTER reactions 3 aim 1 move 3 aggression 3 evasion 1 intelligence 5 rank crewman playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY // race human class CLASS_REBEL // snd rebel1 // sndcombat rebel1 // sndextra rebel1 snd rebel_pilot sndcombat rebel_pilot sndextra rebel_pilot yawspeed 120 walkSpeed 55 runSpeed 200 dismemberProbHead 0 dismemberProbArms 10 dismemberProbLegs 0 dismemberProbHands 20 dismemberProbWaist 0 }[/COLOR]

Ok we've seen this before, it's a npc sheet with it's values. Now I'm gonna show how to do one of the skins so you can try and do the rest yourself ;) I will take Republic_officer as an example.

[COLOR=DimGray]republic_officer { playerModel republic_officer weapon WP_BLASTER reactions 3 aim 1 move 3 aggression 3 evasion 1 intelligence 5 rank ltcomm playerTeam TEAM_PLAYER enemyTeam TEAM_ENEMY // race human class CLASS_REBEL // snd rebel1 // sndcombat rebel1 // sndextra rebel1 snd rebel_pilot sndcombat rebel_pilot sndextra rebel_pilot yawspeed 120 walkSpeed 55 runSpeed 200 dismemberProbHead 0 dismemberProbArms 10 dismemberProbLegs 0 dismemberProbHands 20 dismemberProbWaist 0 } [/COLOR] And that's it! I've underlined everything I've changed so you can see what I did. Hope this helps you not only now but in the future also ;)[/COLOR] [/COLOR]