Re: how do i add a model in mdl format to my map
Posted by StoneFrog on
Sat Nov 17th 2007 at 7:56pm
3 posts
0 snarkmarks
Registered:
Nov 17th 2007
If you are mapping for Half-Life (or any mods based off of it) you can generally use one of these:
Cycler - Shows a model. If you "use" it ingame, you can pause/unpause its animation. Hitting it makes it play its next animation.
Monster_generic - You may remember in Half-Life several models (mainly in the intro) such as the forklift guy or the loading robot. They don't have their own entities in Hammer, so a monster_generic was used. This is basically an entity that can be used to display any model, and by using either a scripted_sequence or an aiscripted_sequence, you can make it play an animation.
Monster_furniture - In truth, I don't know what this feller does. It's essentially a monster_generic. In fact, just use monster_generics. I think monster_furniture was for some old obsolete function, anyway.
Good luck! Also, if you aren't mapping for HL1/a mod based off it, the monster_ ones will not be available and you will have to use a cycler. You can use MilkShape3D to tweak models to only play one animation, so hitting them won't mess them up. Putting an invisible func_wall around them helps also, to avoid people hitting them (as cyclers bleed "paint chips and bird poo" when hit). Search somewhere else for help on MilkShape 3D. TWHL has a tut on it.