PDA

View Full Version : adding custom npc's to sp map trouble


wannadie
09-29-2003, 11:50 AM
I've been trying to add custom npc's to my sp maps but have trouble, it never works. I've been using Emon's tutorial but it does'nt work for me.

* I replace the "sp_entities.def" in both gamedata/ tools & base/scripts dir's.

* Then add the new entity called NPC_spawner. Then hit the N key to get to the entity window and create a new key called NPC_type with a value of Reborn_vader (or whatever one I use). Then I hit ENTER to make it apply.

* I compile the map, they dont spawn.

However, I can spawn the models/NPC's in sp through the console & play against them all (I have about 60 in a big ass .pk3 file).

I just checked the entity info:
--------------------------------------
NPC_type Reborn_Vader
origin -96 280 -240
classname NPC_Spawner
-------------------------------------- is that how it should be?

I know I could just overwrite existing NPC's but I dont wanna do that. btw, I mostly use GTK 1.2.11 but keep JK2Radiant in case.

Leslie Judge
10-01-2003, 06:13 AM
Erm... try using NPC_spawner instead of NPC_Spawner.

I'm not sure, but I recall that 1.2.13 of GtkRadiant already contains the extended entity definition files with the NPC spawner. Try that if you want.

wannadie
10-01-2003, 11:38 AM
geez what a dumb@ss, I thought I tried that already, lol, anyway........ Yeah it worked.

Thanks.