Talk:Half-Life Source.fgd

From Valve Developer Community
Revision as of 12:50, 29 April 2007 by Ook (talk | contribs) (func_pushable implementation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The func_pushable is missing. This is how I did mine, I basically copied it from the hl1 fgd. It works, not sure it's 100% correct. I put it at the top of the Solid Entities section:

@SolidClass base(Breakable, RenderFields) = func_pushable : "Pushable object"
[
size(choices) : "Hull Size" : 0 =
[
0: "Point size"
1: "Player size"
2: "Big Size"
3: "Player duck"
]
spawnflags(flags) =
[
128: "Breakable" : 0
]
friction(integer) : "Friction (0-400)" : 50
buoyancy(integer) : "Buoyancy" : 20
_minlight(string) : "Minimum light level"
]