how do you use male 09 in hammer??????

how do you use male 09 in hammer??????

Re: how do you use male 09 in hammer?????? Posted by sgtscorpion on Thu Aug 31st 2006 at 10:55pm
sgtscorpion
8 posts
Posted 2006-08-31 10:55pm
8 posts 1 snarkmarks Registered: Aug 31st 2006 Location: us
I made a crap load of choreographys useing male 09 in group 3 the one with the green hat!!!! and i cant find a way to put that npc into my map using hammer. I have searched the internet all day useing words like tutorial and male 09 and rebel but i havent found crap and i am two seconds away from ripping my hair out!!!! :mad: btw i dont want him wearing a blue suit!!!! is there a way to add npc's to the editor??????
Re: how do you use male 09 in hammer?????? Posted by omegaslayer on Thu Aug 31st 2006 at 11:05pm
omegaslayer
2481 posts
Posted 2006-08-31 11:05pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Some thing to get you started:

http://developer.valvesoftware.com/wiki/Npc_citizen

http://developer.valvesoftware.com/wiki/Choreography_Tool

I really don't know how to help you because your question wasn't very
specific. But I immagine that you want to use npc_citizen and make the
model the one you want (the 09 guy with a blue shirt?). Could you
possibly mean the g-man?
Posting And You
Re: how do you use male 09 in hammer?????? Posted by fishy on Thu Aug 31st 2006 at 11:19pm
fishy
2623 posts
Posted 2006-08-31 11:19pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
from one of the links omegaslayer posted;
Other values cause the equivalent models from models/humans/group02/ (for 2 - refugee) and models/humans/group03/ (for 3 - rebel) to be used. The changes appear only in-game and not in Hammer.
maybe you've been doing it right all along, but you'll need to compile to find out. :/
i eat paint
Re: how do you use male 09 in hammer?????? Posted by sgtscorpion on Thu Aug 31st 2006 at 11:22pm
sgtscorpion
8 posts
Posted 2006-08-31 11:22pm
8 posts 1 snarkmarks Registered: Aug 31st 2006 Location: us
well go into modle veiwer and go humans>group3>male 09.....this is they guy i want to use but hammer dose not include this model under the drop downlist for npc citizen! nor is it as iny other npc.... wich makes no sence cuz i have seen rebels in the game!
Re: how do you use male 09 in hammer?????? Posted by ReNo on Thu Aug 31st 2006 at 11:39pm
ReNo
5457 posts
Posted 2006-08-31 11:39pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
If you are sure that the model you want to use is in the game and intended for use, but for some reason you can't select it in hammer, it may be possible for you to edit the FGD file to make him selectable. The FGD file is a simple text file that tells Hammer what all the entities available for use are. Have a read up on the FGD file format on the Valve wiki, and have a browse through the HL2 FGD file in notepad for the npc_citizen entity. It should be reasonably straightforward to add in that model to be selectable, but there is a possibility that the entity works on integer values to define the model (which are then interpreted in game code) rather than strings which define the model path/name, in which case you probably won't be able to do it.

To be honest though, it seems like you might just be better off using one of the models that CAN be selected - surely you can't be all THAT attached to this one character :razz:
[img]http://card.mygamercard.net/sig/Default/reno84.png[/img]
Designer @ Haiku Interactive | ReNo-vation.net
Re: how do you use male 09 in hammer?????? Posted by omegaslayer on Fri Sep 1st 2006 at 3:32am
omegaslayer
2481 posts
Posted 2006-09-01 3:32am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
I think to a cerain degree HL2 randomizes the NPC around to so it gives
the illusion that your not just leading the same people around all the
time. So it may be out of your control.
Posting And You
Re: how do you use male 09 in hammer?????? Posted by ReNo on Fri Sep 1st 2006 at 8:58am
ReNo
5457 posts
Posted 2006-09-01 8:58am
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
You have the choice of using completely random, random male, random female, or manually chosen models with the npc_citizen entity. It just seems that for some reason some of the models cannot be selected in hammer manually, even though the model (apparently) exists and works in model viewer (and presumably in game).

I made a custom NPC class for my uni project and used the citizen models. I made a new FGD entry for my new entity class and modified the way you select characters a little. I seem to remember noting that there were more models available with my new character class than there were through the npc_citizen, so I think sgtscorpion may well be correct. As I said, look into editing the FDG file - should be easy enough to make that character model selectable.
[img]http://card.mygamercard.net/sig/Default/reno84.png[/img]
Designer @ Haiku Interactive | ReNo-vation.net
Re: how do you use male 09 in hammer?????? Posted by sgtscorpion on Fri Sep 1st 2006 at 6:21pm
sgtscorpion
8 posts
Posted 2006-09-01 6:21pm
8 posts 1 snarkmarks Registered: Aug 31st 2006 Location: us
"FGD stands for Forge Game Data. It is the file extension for Hammer's game definition files. They define all of the entities of a game so mappers can select them from within the editor. It is a key point to understand that an fgd is nothing more than a reference. You cannot create or modify entities by editing a fgd, you merley give Hammer different information about what it expects to find within the game. Sometime editing reveals hidden or unused features or even entities, but they were always there and could be used even without the updated fgd. " is what it says at the vale wiki..... how ever ReNo you said that you have done so in one of your projects.... would you be so kind as to include the lines that you edited (the before and after of course)? :smile:
Re: how do you use male 09 in hammer?????? Posted by rs6 on Fri Sep 1st 2006 at 6:50pm
rs6
640 posts
Posted 2006-09-01 6:50pm
rs6
member
640 posts 94 snarkmarks Registered: Dec 31st 2004 Occupation: koledge Location: New Jersey, USA
From reading the dev wiki, it looks as easy as setting "citizentype" to "3", and "model" to "male 6". That will give you the right model, then set it up to do your script/choreography (which i have no clue how to do.)
Re: how do you use male 09 in hammer?????? Posted by sgtscorpion on Fri Sep 1st 2006 at 8:38pm
sgtscorpion
8 posts
Posted 2006-09-01 8:38pm
8 posts 1 snarkmarks Registered: Aug 31st 2006 Location: us
yea i fixed the problem but new problems arose.... i have the right model and he dose the right coereography and stuff but he runs away from my player even though i have the flag do not give in to player push ticked..... and adding to that i made a intro useing point_viewpoint or what ever it is called... but the the camera falls in a spiral every time i play the map (it is locked to a entity and has no trac and both the target and the camera are in a sky box(so i can change the back ground rapidly) .......... iny idea on how to fix these problems???
Re: how do you use male 09 in hammer?????? Posted by sgtscorpion on Sat Sep 2nd 2006 at 3:35pm
sgtscorpion
8 posts
Posted 2006-09-02 3:35pm
8 posts 1 snarkmarks Registered: Aug 31st 2006 Location: us
ok i fixed the camera rpob lol i had the follow player flag ticked...
Re: how do you use male 09 in hammer?????? Posted by ReNo on Sat Sep 2nd 2006 at 7:27pm
ReNo
5457 posts
Posted 2006-09-02 7:27pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Glad to hear you got it sorted. In future, if you have more than one question and they aren't particularly linked together, then please post a seperate thread instead of just posting it in the same one. Also, please put a bit more time into your posts. Use punctuation and grammar correctly and try to sort out any obvious spelling mistakes. Just makes things easier and more pleasant to read for other people - they'll be far more willing to help you out with your problems if you put a bit of effort into how you ask for it :smile:
[img]http://card.mygamercard.net/sig/Default/reno84.png[/img]
Designer @ Haiku Interactive | ReNo-vation.net