• Register
Forum Thread
  Posts  
HL2 - Custom NPCs (Forums : Coding & Scripting : HL2 - Custom NPCs) Locked
Thread Options
May 27 2014 Anchor

First off, I don't mean creating a whole new NPC from scratch with new behaviors. I just want to duplicate an NPC, with a different skin, model, and name. I don't want to just reskin it outright, because I need both "versions" of the NPC for my needs. Unless there is a way to have multiple skins for an NPC, I need to know how to make a copy with a different skin/model.

The following NPCs are the ones I want to duplicate:

1. Headcrab

2. Hunter

3. Strider

4. Combine Solider

Thanks in advance...

May 27 2014 Anchor

Half-Life 2 IIRC does not support duplicates I mean that you cannot have a different graphical representation and yet the same code for the selected NPC. You should read the Source engine documentation and firstly, create a mod for HL2 via the SDK tool. The tool can also extract models for modifying. Source SDK is the key.

May 27 2014 Anchor

Reborn:X wrote: Half-Life 2 IIRC does not support duplicates I mean that you cannot have a different graphical representation and yet the same code for the selected NPC. You should read the Source engine documentation and firstly, create a mod for HL2 via the SDK tool. The tool can also extract models for modifying. Source SDK is the key.


I already have the mod made (ish) (no moddb page yet), using the "create a mod" tool.

May 27 2014 Anchor

You mean like having the same with just a different appearance, like e.g. companion cubes in Portal or combine soldiers in HL2?
Maybe you'll find something on the Valve developer wiki, here's what a quick search got me: Developer.valvesoftware.com

There should be more on that in the modeling section.

Aug 18 2014 Anchor

You can duplicate npc's, why should't you be able to do that? (Reborn X)
- For beginners, it might be a bit tricky to duplicate npc's, however, if you just want to reskin or add a new model to a npc entity, turn off smart edit in hammer and change the mdl location. You can also add a new entry to the fgd.

Sep 16 2014 Anchor

Hmm...

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.