Howdy yall, just looking to see if anyone can answer these questions for me. 1) how do i create a custom npc, i have the ajunta pal skin and want to create an npc version of it to load into my map for the reason of question 2. 2) how do i make an npc perfectly still and unkillable like a statue. which links to question 3. 3) I remember a thread being posted about being able to chance the textures of a model with a command in the entities window "N key " any one remember what it said cos i cant find it now >.< and also is this usable on npc's? 4) This one is really starting to Grit my Sh*t, i have been following a tutorial on creating button activated force fields, i followed it step by step and many times over but it just wont work, either the button is pressable but nothing happens or the button just vanishes and never returns, as for the force field, it doesnt activate, can anyone try explaining how to make this? maybe i might ge tit if explained differently. (Tut used was Rich Deisils) Thats all for now :D thanks..
8th October 2005
I can only help you on the last two.
EDIT: Well, I can give advice on #2: You probably need to script it to stand there. Although I don't know how to do the infinite health trick.
3: Darth G's entity descriptions file has that info built right in. Map-Craft » Downloads
4: Force fields are easy. Disregard everything you've heard about func_button, I find it pretty useless.
Use a trigger_multiple for the button, and a func_wall for the forcefield. On the func_wall, check the box for "start_off" and on the trigger multiple, add a key/value pair of "wait" "2".
Lastly, select the trigger, then select one of the brushes of your force field, then hit ctrl+k. You're finished.
I didn't make it!
Okay I can help you with your first question there, seeing as how NAB explained forcefields. >.>
Firstly, I'm assuming you know how to make a PK3 file. You need them for mods to work.
What I would do is find a similar NPC to that of what you want yours' to be like. So look in ext_data/npcs/ and find an NPC file. To look them up, open them with notepad. There's several things you can do with an NPC, but I'm not going to explain them all lol. Find the NPC file, copy it, and paste it somewhere you'll remember. Rename it to your NPC name. Open it up and look around. What you NEED to edit is the name. Change the name at the top of everything to what the name of your npc will be. Do the same with the 'playermodel' segment, and change the name of the npc playermodel to your npcs' model folder name. It's also VITAL you have the brackets there. Oh, and change the weapon if you need to. :P And explore everything else when necessary.
Cram the ext_data/npcs/*your npc* folder into the PK3, and test that shit out.
When you have your custom NPC working, placing it in a map is simple. Just go in the NPC menu, and create an NPC_spawner. The segment in your custom npc entity should look like this: Key: NPC_type Value: *your npc's name*
Lastly, compile and fuck around with it lol.
Hope I helped. :)
excellent ty leetmonkey, thats a great help. :bows: Ov_nab, thanks that makes sense, but... do i need to texture the func wall in system/nodraw? because last night i managed to get it working in game wher ei press the button it switches on and off, BUT! the force field wa snot solid :mad:. or does your way make it solid and poifect? :p
8th October 2005
Don't use nodraw. Use textures/system/nodraw_solid. ;)
okay i officially deserve a good slapping for missing that obvious texture that was right unde rmy nose the whole time :D thnx ov_nab, ur always a big help :bows: