All pastes #413537 Raw Edit

Anonymous

public text v1 · immutable
#413537 ·published 2007-03-28 14:33 UTC
rendered paste body
// Before it'd save this table 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