How to make HL's FGD display a preview m Created 6 years ago2018-03-06 13:13:19 UTC by GoodDOS GoodDOS

Created 6 years ago2018-03-06 13:13:19 UTC by GoodDOS GoodDOS

Posted 6 years ago2018-03-06 13:13:19 UTC Post #338953
How to make HL's FGD display a preview model in Hammer? :D
Posted 6 years ago2018-03-06 15:07:04 UTC Post #338954
Include the following in the line for the point entity
studio("models/filename.mdl")
So for example, Barney's line would be as follows:
@PointClass base(Monster,TalkMonster, Sequence) size(-16 -16 0, 16 16 72) studio("models/barney.mdl") = monster_barney : "Barney" []
You can also use this to represent entites with sprites:
@PointClass base(Targetname, Angles, ZHLT_point) iconsprite("sprites/lightbulb.spr") = light_environment : "Environment"
I believe it also depends on your version of Hammer, but you should really be using Sledge or JACK in this day and age. :P
monster_urby monster_urbyGoldsourcerer
Posted 6 years ago2018-03-06 16:19:38 UTC Post #338956
I'm hosting a fgd file on my website that already includes model rendering support, you can get it here: HL fgd for Hammer 3.5

Also, and you probably know this, you'll need the Hammer 3.5 executable only update/patch for Hammer 3.4 to make model rendering work in the editor. You can download this here: Hammer 3.5 exe.
You must be logged in to post a response.