I'm working on an NPC for a project and this is what I have:
[lua]local NPC = { Name = "Vortigaunt Docter",
Class = "npc_vortigaunt",
Model = "models/vortiguant_docter.mdl",
Squadname = "Vortigaunts",
Health = "100",
Category = ""Humans + Resistance" }
list.Set( "NPC", "npc_doctorvort", NPC )
[/lua]
It's in autorun, which is in lua, which is in the folder named "Doctorvort" which has an info.txt which is correct.
The models work, they have animations and are tested to work. Any help please?
[QUOTE=Hax102;18325514]I'm working on an NPC for a project and this is what I have:
[lua]local NPC = { Name = "Vortigaunt Docter",
Class = "npc_vortigaunt",
Model = "models/vortiguant_docter.mdl",
Squadname = "Vortigaunts",
Health = "100",
Category = ""Humans + Resistance" }
list.Set( "NPC", "npc_doctorvort", NPC )
[/lua]
It's in autorun, which is in lua, which is in the folder named "Doctorvort" which has an info.txt which is correct.
The models work, they have animations and are tested to work. Any help please?[/QUOTE]
Take a look at the syntax highlighting in your post, the error should become obvious. :smile:
That also means it should be giving you errors. Sometimes errors can be at the top of the loading process so look at your console carefully.
Pffft, why debug when you can have the FP Community do it for you?
Docter?
Doctor?
[QUOTE=AlfieSR;18336217]Docter?
Doctor?[/QUOTE]
FROM EPISODE 2 ... or do I detect sarcasm?
[QUOTE=(AMS-$)ILOVEPIE;18337244]FROM EPISODE 2 ... or do I detect sarcasm?[/QUOTE]
I don't think that was sarcasm.
Sorry, you need to Log In to post a reply to this thread.