[Help] NPC Modding -1 reply

Please wait...

Kiyle

I'm too cool to Post

50 XP

26th June 2009

0 Uploads

13 Posts

0 Threads

#1 9 years ago

How do you replace SP npc's ingame with NPC's you choose like in some SP mods?




Guest

I didn't make it!

0 XP

 
#2 9 years ago

Well, you find the NPC file you want to replace and the one you want to replace it with (Found in assets1.pk3/ext_data/npcs). Then you open the one you want to replace using notepad and find out its NPC name (the first line of the file). You then change the other NPC file's name to that. Put your new NPC file in a new PK3 file under ext_data/npcs. Then save this file into your base with a name alphabeticly after "assets1".

Job done.




Kiyle

I'm too cool to Post

50 XP

26th June 2009

0 Uploads

13 Posts

0 Threads

#3 9 years ago

i dont think i understand that, sorry im a noob




Forceboat

File Finder Xtreme

50 XP

23rd May 2003

0 Uploads

545 Posts

0 Threads

#4 9 years ago

Okay, I'll give an example. Take a look at this altered npc file I did for Kyle Katarn, turning him into a Dark Jedi, and compare it to the original. I think you'll get the idea (I am just going to do regular Kyle, not the boss one here):

Kyle { playerModel kyle saber kyle rank commander health 1000 weapon WP_BRYAR_PISTOL weapon WP_SABER saberStyle 1 saberStyle 3 saberStyle 2 FP_HEAL 3 FP_LEVITATION 3 FP_SPEED 3 FP_PUSH 3 FP_PULL 3 FP_TELEPATHY 3 FP_GRIP 3 FP_LIGHTNING 2 FP_SABERTHROW 3 FP_RAGE 0 FP_PROTECT 3 FP_ABSORB 3 FP_DRAIN 0 FP_SEE 3 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 forcePowerMax 200 reactions 4 aim 5 move 3 aggression 5 evasion 5 intelligence 5 playerTeam TEAM_ENEMY enemyTeam TEAM_PLAYER class CLASS_DESANN snd kyle sndcombat kyle sndjedi kyle dismemberProbHead 0 dismemberProbArms 0 dismemberProbHands 0 dismemberProbLegs 0 dismemberProbWaist 0 }