Talk:Half-Life Source.fgd: Difference between revisions

From Valve Developer Community
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:<br>
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"<br>
[
[<br>
size(choices) : "Hull Size" : 0 =
size(choices) : "Hull Size" : 0 =<br>
[
[<br>
0: "Point size"
0: "Point size"<br>
1: "Player size"
1: "Player size"<br>
2: "Big Size"
2: "Big Size"<br>
3: "Player duck"
3: "Player duck"<br>
]
]<br>
spawnflags(flags) =
spawnflags(flags) =<br>
[
[<br>
128: "Breakable" : 0
128: "Breakable" : 0<br>
]
]<br>
friction(integer) : "Friction (0-400)" : 50
friction(integer) : "Friction (0-400)" : 50<br>
buoyancy(integer) : "Buoyancy" : 20
buoyancy(integer) : "Buoyancy" : 20<br>
_minlight(string) : "Minimum light level"
_minlight(string) : "Minimum light level"<br>
]</pre>
]<br>

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"
]