WataMata Oct 2, 2012 @ 12:13am
Source SDK Programing a NPC Help?
So I'm trying to create a NPC almost from scratch. Any help would be greatly appreciated!
I'm creating a Horror Mod (HL2 MOD), And this is my first project. with SDK .
I'm currently working on creating a enemy NPC for the game.

What i have found out is pretty much nothing, Ive Copped the monster_dummy File from hl2 file. and i have looked it over a couple times. but have had really no luck finding out how to modify it.

What my goals are is to -
1.Create a model for the Monster_NPC (or alter an existing NPC)
2.Create a somewhat decent animation with the Monster_NPC
3.Create a unique A.I were it goes were it hears sound. (Like a radius around it where it can hear your foot steps running)
4. Learn Allot.

I know i might not get much response. but its worth a try.
And I know this is a big project. But I'm going for gold :P
Again thank you for your help I greatly appreciate it!
And please don't post anything rude >,>
< >
Showing 1-5 of 5 comments
triumph Oct 11, 2012 @ 5:38pm 
i think what you should do is learn a modeling program (maya, blender (its free), 3ds max, something like that and make animations and then look for a tutorial on how to convert it to a source model, they do have a few programs for it, and then just base it on an exsisting npc source code (an enmy person with guns combines allys rebels or something like that) then it will be preety well designed cause its based on valves.
WataMata Oct 12, 2012 @ 9:10pm 
cool thanks >,,< for a sec there i thought the comunitity was dead. Thanks for the tip
if you start to learn the AI of Source engine, my first advice for you is about to look aboutthe existent npc_code from HL2 , and start to learn from that.
What do you mean by Monster_NPC exactely ? base your code on the monster_generic entity ? i haven't check out what the monstergeneric entity is coded, but i suppose it entity is based on the AIbaseNpc class.
So it cannot give you an "Unique AI" as it the main classes that all npc used in HL2.
Also what type of npc, what anatomic constraint you rnpc will have. because it very important in your choice, to built your own NPC for Source engine.

Maybe you could start your studies on the AI with some simple Npc as the bird/crow code.
it surely not the best exmaple to understand how to work the ground navigation , but it a good start.
the antlion class is very intersting too for the next step.

WataMata Oct 26, 2012 @ 7:36pm 
thank you so much! , i was thinking of useing the Antalion Construct Body
@Sjö Nov 11, 2012 @ 8:48am 
Originally posted by SYN:
So I'm trying to create a NPC almost from scratch. Any help would be greatly appreciated!
I'm creating a Horror Mod (HL2 MOD), And this is my first project. with SDK .
I'm currently working on creating a enemy NPC for the game.

What i have found out is pretty much nothing, Ive Copped the monster_dummy File from hl2 file. and i have looked it over a couple times. but have had really no luck finding out how to modify it.

What my goals are is to -
1.Create a model for the Monster_NPC (or alter an existing NPC)
2.Create a somewhat decent animation with the Monster_NPC
3.Create a unique A.I were it goes were it hears sound. (Like a radius around it where it can hear your foot steps running)
4. Learn Allot.

I know i might not get much response. but its worth a try.
And I know this is a big project. But I'm going for gold :P
Again thank you for your help I greatly appreciate it!
And please don't post anything rude >,>
< >
Showing 1-5 of 5 comments
Per page: 1530 50