HOW DO YOU MAKE NEW NPC's? -1 reply

Please wait...

editor obi-wan

Beware the squared-chined jedi

50 XP

24th October 2002

0 Uploads

2,785 Posts

0 Threads

#1 15 years ago

ok, I tried all afternoon yesterday trying to get new npc's. this is what I did...

opened asset1.pk3 up and I went ext_data/npcs and I looked at the files, made my own .pk3 made my own .npc file put it in the exact right spot and it dont show up on the list in radient. Here is what my .npc looker like.

bar_girl { playerModel bar_girl weapon WP_NONE snd bar_girl reactions 3 aim 1 move 3 aggression 3 evasion 1 intelligence 5 rank crewman playerTeam TEAM_NEUTRAL enemyTeam TEAM_IMPERIAL // race human class CLASS_BARTENDER walkSpeed 55 runSpeed 200 yawspeed 90 dismemberProbHead 0 dismemberProbArms 0 dismemberProbLegs 0 dismemberProbHands 0 dismemberProbWaist 0

the model path is valid, I named the file bar_girl aswell, what else am I surposed to do? I feel like there is another file I must modify.

btw. I did put all this in a .pk3 in the base so it should work as far as I am concerned! I know there is probably a raven tutorial for this but I can even find any of their tut's.

I also want to know how you prevent npcs from running on the spot, do you have to put down bot routes!?!




Obi 1 Kanobi

Dueling Nightmare

50 XP

3rd August 2003

0 Uploads

98 Posts

0 Threads

#2 15 years ago

Ok first of all, add this: sex: female sndextra bar_girl sndjedi bar_girl

Second of all use a program pakscape to pack and put .pk3 files into gamedata/base folder(228 kbs)

Third of all you made your own skin? Or did you use different parts of skin?

Fourth of all, can I post the program here for everyone?

Fifth of all, I too making a NPC mod, whoa it's over 8mb...

Sixth of all, does it work in the game with npc spawn sheat?

Seventh of all, if sixth works then it's nothing to do with you list..

Eight of all, explain the problem more if you can




editor obi-wan

Beware the squared-chined jedi

50 XP

24th October 2002

0 Uploads

2,785 Posts

0 Threads

#3 15 years ago

well, thanks for the help. I am gunna attempt to use bits of already existing skins. The problem is when I go to insert the NPC through radient it isn't on the list.




Obi 1 Kanobi

Dueling Nightmare

50 XP

3rd August 2003

0 Uploads

98 Posts

0 Threads

#4 15 years ago

Try putting the files into the assest1.pk3 When giving the map to people include your .pk3 They will be able to see your npc's.. And you will them in both places with npc spawn and in GTKRadient




GothiX

No Time to Cry

50 XP

18th September 2003

0 Uploads

1,290 Posts

0 Threads

#5 15 years ago

Just create an NPC_spawner entity, and as NPC_type value add "bar_girl". You'll get the NPC ingame then.




Obi 1 Kanobi

Dueling Nightmare

50 XP

3rd August 2003

0 Uploads

98 Posts

0 Threads

#6 15 years ago

Yes, but he must include bar_girl.pk3 in a zip with the map and a a reamdme ,or it wont work..




Akira X

I'm too cool to Post

50 XP

28th October 2003

0 Uploads

8 Posts

0 Threads

#7 15 years ago

now I understand the concept of of making the npc in a map but I just want to make an npc in the normal single player without compiling a new map. I took a luke npc file and changed it to this:

Neo { playerModel Neo saber desann weapon WP_SABER saberStyle 4 saberColor green FP_HEAL 0 FP_LEVITATION 2 FP_SPEED 3 FP_PUSH 3 FP_PULL 3 FP_TELEPATHY 0 FP_GRIP 3 FP_LIGHTNING 2 FP_RAGE 3 FP_PROTECT 0 FP_ABSORB 0 FP_DRAIN 3 FP_SEE 3 FP_SABERTHROW 3 FP_SABER_DEFENSE 3 FP_SABER_OFFENSE 3 forceRegenRate 50 rank captain reactions 5 aim 5 move 5 aggression 3 evasion 5 intelligence 5 hfov 160 vfov 160 playerTeam TEAM_ENEMY enemyTeam TEAM_PLAYER // race human class CLASS_DESANN yawSpeed 80 walkSpeed 40 runSpeed 150 snd neo sndcombat neo sndjedi neo health 1200 dismemberProbHead 0 dismemberProbArms 0 dismemberProbLegs 0 dismemberProbHands 30 dismemberProbWaist 0 }

I put it in a pk3 type devmapall and use the command: npc spawn neo and of course it says could not spawn plz help me!

PS:I dont have to use radient to make an npc do I? because i dont want to make a new map...




GothiX

No Time to Cry

50 XP

18th September 2003

0 Uploads

1,290 Posts

0 Threads

#8 15 years ago

You should rename him to start with a class, as Emon's tutorial says. Make him RebornNeo, JediNeo, StNeo, something like that.




Akira X

I'm too cool to Post

50 XP

28th October 2003

0 Uploads

8 Posts

0 Threads

#9 15 years ago

hmmm well I'll try that when I get home I'm at school right now....

PS:Emon's tutorial where can I find that?




Akira X

I'm too cool to Post

50 XP

28th October 2003

0 Uploads

8 Posts

0 Threads

#10 15 years ago

oh wait nvm I was looking at that tutorial last night...