All pastes #413519 Raw Edit

Someone

public text v1 · immutable
#413519 ·published 2007-03-28 14:24 UTC
rendered paste body

// Before it'd save this for a prop_physics...

56:
		Model	=	models/props_wasteland/controlroom_storagecloset001b.mdl
		Angle	=	0.012 84.887 0.016
		Class	=	prop_physics
		LPos	=	192.3221 -17.0637 43.7452

		Vel		=   0 0 0		// This would only be saved if it was moving  (not 0,0,0)
		aVel	=   0 0 0		// This would only be saved if it was moving  (not 0,0,0)
		frozen	=	false		// This would only be saved if it was frozen  (true)


// Now it saves this...

56:
		Created	=	429.54
		PhysicsObjects:
				0:
						LocalAngle	=	0.012 84.887 0.016
						LocalPos	=	192.3221 -17.0637 43.7452
						Angle	=	0.012 84.887 0.016
						Frozen	=	false
						Pos	=	192.3221 -17.0637 43.7452
		LocalAngle	=	0.012 84.887 0.016
		ConstraintSystem	=	Entity [0][phys_constraintsystem]
		LocalPos	=	192.3221 -17.0637 43.7452
		Model	=	models/props_wasteland/controlroom_storagecloset001b.mdl
		Flex:
				0	=	0
		OnDieFunctions:
				GetCountUpdate:
						Function	=	function: 019416FC
						Name	=	GetCountUpdate
						Args:
								1	=	Player [1][DEADBEEF]
								2	=	props
								n	=	2
				undo5:
						Function	=	function: 01D08FF8
						Name	=	undo5
						Args:
								1	=	5
								2	=	Player [1][DEADBEEF]
								n	=	2
		FlexScale	=	1
		Constraints:
				1	=	Entity [0][phys_constraint]
		Entity	=	Entity [56][prop_physics]
		Angle	=	0.012 84.887 0.016
		Class	=	prop_physics
		Pos	=	192.3221 -17.0637 43.7452