I wanted to find a way to add the Barney Zombie enemy and
Soldier Zombie enemy into my mod without having to just use the Opposing
Force FGD. So I made a copy of my HL FGD and after looking through both it
and the other, I found that adding the following lines made it work:
@PointClass base(Monster, Sequence) size(-16 -16 0, 16 16 72) studio("models/zombie_barney.mdl") = monster_zombie_barney : "Barney Zombie" []
@PointClass base(Monster, Sequence) size(-16 -16 0, 16 16 72) studio("models/zombie_soldier.mdl") = monster_zombie_soldier : "Soldier Zombie" []
@PointClass base(RenderFields,Appearflags, Angles) size(-16 -16 0, 16 16 72) studio("models/zombie_soldier.mdl") = monster_zombie_soldier_dead : "Dead Soldier Zombie"
[
pose(Choices) : "Pose" : 0 =
[
0 : "On back"
1 : "On stomach"
]
]
I also added the .mdls and sound files into my mod's directory. Sound files
because I also tried to put Otis into my mod as well.
With these in the FGD, I can now place these monsters into my map and can
view their models in Hammer, too. They seem to work fine. I can edit their
properties and everything. But obviously there's some other step that I'm
missing because they do not show up at all when I play the map. They're
there in Hammer, but they seem to just dissapear in-game.
Am I getting ahead of myself? I don't yet know how to completely edit
.mdl's (if that's necassary) or FGD's. But it seems like what I'm doing
is working as far as actually getting things to show up in Hammer.