Talk:Half-Life Source.fgd: Difference between revisions
Jump to navigation
Jump to search
(func_pushable implementation) |
m (Reformatted) |
||
Line 1: | Line 1: | ||
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:< | 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: | ||
<pre>@SolidClass base(Breakable, RenderFields) = func_pushable : "Pushable object" | |||
@SolidClass base(Breakable, RenderFields) = func_pushable : "Pushable object" | [ | ||
[ | size(choices) : "Hull Size" : 0 = | ||
size(choices) : "Hull Size" : 0 = | [ | ||
[ | 0: "Point size" | ||
0: "Point size" | 1: "Player size" | ||
1: "Player size" | 2: "Big Size" | ||
2: "Big Size" | 3: "Player duck" | ||
3: "Player duck" | ] | ||
] | spawnflags(flags) = | ||
spawnflags(flags) = | [ | ||
[ | 128: "Breakable" : 0 | ||
128: "Breakable" : 0 | ] | ||
] | friction(integer) : "Friction (0-400)" : 50 | ||
friction(integer) : "Friction (0-400)" : 50 | buoyancy(integer) : "Buoyancy" : 20 | ||
buoyancy(integer) : "Buoyancy" : 20 | _minlight(string) : "Minimum light level" | ||
_minlight(string) : "Minimum light level" | ]</pre> | ||
]< |
Revision as of 21:37, 29 April 2007
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" ]