View Full Version : NPC Help
03-22-2004, 01:28 AM
Hello, I am having problems making NPC's. I have tried it two ways:
1) Using notepad and adding what needs to be added and save it as a .npc file.
2) the NPC editor.
Both ways leads to cannot spawn file. I was wondering if someone can help me with this, its really bugging me!
03-22-2004, 11:51 AM
Post an example of a npc file you are using. Here's what I'm using for the Darth Malak model:
// race human
just make sure that "playerModel" points to the directory which your model is in.
03-27-2004, 10:57 AM
Sorry for the delay, havent been able to get on much this week. So heres the text you wanted me to post:
// race human
03-27-2004, 11:47 AM
Im not 100% sure, but i think you shouldnt have a space in the npc name.
03-27-2004, 11:57 PM
yea maybe but even if it was one word it still wont work.
Heres another example:
// race human
03-29-2004, 09:11 AM
Well there doesnt seem to be anything wrong with that npc file...
Maybe you havent zipped it up correctly.. does your pk3 file have the correct directory structure?
03-29-2004, 11:45 AM
Yea thats the wierd thing about it, everything I believe is correct. But still wont work in game.
04-10-2004, 03:10 AM
So anybody got any ideas why my custom npcs wont load in game? I would really like to try to figure out the problem.
05-09-2004, 10:51 AM
My experience with this issue is that 99.9% of the people that have this error either, put the npc file in the wrong directory or they pk3 it wrong or they just don't know how to properly spawn an NPC.
Looking at your NPC code, there don't seem to be any errors except for the fact that i don't see a } at the end, but that's probably just a copy & paste error. Also, that yodaghost playermodel doesn't seem familiar, so I'm thinking it's just some skin you downloaded somewhere.
So all I can say is make sure that you put your NPC in the ext_date/npcs directory in the base dir. Also consider that if you're trying to spawn in Multiplayer you might need to pack it into a pk3, INCLUDING the appropriate directory structure(ext_data/npcs). If you're running it in Single Player, pk3'ing it is not necessary.
05-14-2004, 02:29 AM
This is just a shot in the dark here, but ... are you saving it as a .npc file or ... a .txt.npc file. I've been trying to help people make their own little npc replacements and I've discovered they couldn't change extension because, well, they couldn't see them.
Find your folder options, either by the tools menu on top of any opened folder or in your control panel. Once there, go to the "view" tab on top and find an option called "hide extensions for know file typed" and make sure it's UNCHECKED.
Now try making your .txt into a .npc. Again, this is just something I've come across before and thought I'd try to help here.
Edit: Eh, I just re-read what you said and I ... suppose my help isn't going to, well, help. Sorry about that.
vBulletin®, Copyright ©2000-2015, Jelsoft Enterprises Ltd.