Difference between revisions of "Structure.xml Parameters"

From Carmageddon Wiki
Jump to: navigation, search
(Created page with "== Structure.xml Parameters == In Carmageddon: Reincarnation the Strcuture.xml file controls the physics set up, animation and visible damage of a vehicle. It can have numerou...")
(No difference)

Revision as of 14:12, 28 October 2014

Structure.xml Parameters

In Carmageddon: Reincarnation the Strcuture.xml file controls the physics set up, animation and visible damage of a vehicle. It can have numerous properties and parameters set in it. This is a rudimentary list of parameters and properties which can be used in the file. It is currently an incomplete list pulled out of the game's EXE and needs expanding to include the arguments of the various properties and how they are used.

Physics Properties

These are options which are supplied with the CDamageParameters:Add_PhysicsProperty function.

NONE
FRONT_LEFT_WHEEL
REAR_LEFT_WHEEL
FRONT_RIGHT_WHEEL
REAR_RIGHT_WHEEL
FRONT_LEFT_POINT_OF_ROTATION
REAR_LEFT_POINT_OF_ROTATION
FRONT_RIGHT_POINT_OF_ROTATION
REAR_RIGHT_POINT_OF_ROTATION
REAR_LEFT_POINT_OF_SUSPENSION
FRONT_RIGHT_POINT_OF_SUSPENSION
FRONT_LEFT_POINT_OF_SUSPENSION
REAR_RIGHT_POINT_OF_SUSPENSION
FRONT_LEFT_POINT_OF_STEERING
REAR_LEFT_POINT_OF_STEERING
FRONT_RIGHT_POINT_OF_STEERING
REAR_RIGHT_POINT_OF_STEERING
STEERING_WHEEL
LEFT_STEERING
RIGHT_STEERING


Animation Controllers

These are options which go along with the various animation functions to determine what powers the motion of the object.

NONE
STEERING_OVER_TIME
STEERING
ENGINE_RPM
ENGINE_CRANK_ANGLE
WHEEL_ROTATION_FR
WHEEL_ROTATION_FL
WHEEL_ROTATION_RR
WHEEL_ROTATION_RL
GEARBOX_OUTPUT_ANGLE
ENGINE_NORMALISED_RPM_OVER_TIME
ENGINE_NORMALISED_RPM
ENGINE_RPM_OVER_TIME
CONSTANT_OVER_TIME
CONSTANT
WHEEL_SPEED_OVER_TIME
WHEEL_SPEED
SPEED_DEPENDENT_AEROFOIL
AIR_BRAKE
SPEED_OVER_TIME
SPEED
SPEED_DEPENDENT_AEROFOIL_2


Weld Parameters

These are methods of the CWeldParameters class which are used in WELD blocks, which tell the game how objects attach to other objects.

Get_Bounds
Set_Bounds
Get_CarSpaceVertex
Add_CarSpaceVertex
Get_PartSpaceVertex
Add_PartSpaceVertex
Get_VertexColour
Set_VertexColour
Get_Weakness
Set_Weakness
Get_AbsoluteLimit
Set_AbsoluteLimit
Get_ChanceOfFailure
Set_ChanceOfFailure
Get_Break
Set_Break
Get_GangedBreak
Add_GangedBreak
Get_WeldFailurePartEmitter
Add_WeldFailurePartEmitter
Get_WeldFailurePartnerEmitter
Add_WeldFailurePartnerEmitter

Damage Parameters

These are methods of the CDamageParameters class which are set in the PART blocks, they control physics, animation, materials, weapons, sounds and particle emitters tied to the object.

Get_Crushability
Set_Crushability
Get_Resiliance
Set_Resiliance
Get_Stiffness
Set_Stiffness
Get_Mass
Set_Mass
Get_CentreOfMass
Set_CentreOfMass
Add_PhysicsProperty
Get_ShapeType
Set_ShapeType
Get_Restitution
Set_Restitution
Get_AlwaysJointed
Set_AlwaysJointed
Set_PreIK_RotateInX
Set_PreIK_RotateInY
Set_PreIK_RotateInZ
Set_PreIK_SnapPointToPointOnOtherPart
Set_PreIK_RotatePointToLineOnOtherPart
Set_PreIK_RotatePointToPointOnOtherPart
Set_PostIK_RotateInX
Set_PostIK_RotateInY
Set_PostIK_RotateInZ
Set_PostIK_OscillateInX
Set_PostIK_OscillateInY
Set_PostIK_OscillateInZ
Set_PostIK_SlideInX
Set_PostIK_SlideInY
Set_PostIK_SlideInZ
Set_PostIK_RockInX
Set_PostIK_RockInY
Set_PostIK_RockInZ
Get_PostIK_NamedRotateInX
Add_PostIK_NamedRotateInX
Get_PostIK_NamedRotateInY
Add_PostIK_NamedRotateInY
Get_PostIK_NamedRotateInZ
Add_PostIK_NamedRotateInZ
Get_PostIK_NamedOscillateInX
Add_PostIK_NamedOscillateInX
Get_PostIK_NamedOscillateInY
Add_PostIK_NamedOscillateInY
Get_PostIK_NamedOscillateInZ
Add_PostIK_NamedOscillateInZ
Get_PostIK_NamedSlideInX
Add_PostIK_NamedSlideInX
Get_PostIK_NamedSlideInY
Add_PostIK_NamedSlideInY
Get_PostIK_NamedSlideInZ
Add_PostIK_NamedSlideInZ
Get_PostIK_NamedRockInX
Add_PostIK_NamedRockInX
Get_PostIK_NamedRockInY
Add_PostIK_NamedRockInY
Get_PostIK_NamedRockInZ
Add_PostIK_NamedRockInZ
Set_PostIK_SnapPointToPointOnOtherPart
Set_PostIK_RotatePointToLineOnOtherPart
Set_PostIK_RotatePointToPointOnOtherPart
Set_PostIK_RotatePointToPointOnOtherPartWithScaling
Set_PostIK_RotateVibrateX
Set_PostIK_RotateVibrateY
Set_PostIK_RotateVibrateZ
Get_PostIK_NamedRotateVibrateX
Add_PostIK_NamedRotateVibrateX
Get_PostIK_NamedRotateVibrateY
Add_PostIK_NamedRotateVibrateY
Get_PostIK_NamedRotateVibrateZ
Add_PostIK_NamedRotateVibrateZ
Set_PreIK_WishboneUpper
Set_PreIK_WishboneLower
Set_PreIK_WishboneMountUpperFL
Set_PreIK_WishboneMountLowerFL
Set_PreIK_WishboneMountUpperFR
Set_PreIK_WishboneMountLowerFR
Set_PreIK_WishboneMountUpperRL
Set_PreIK_WishboneMountLowerRL
Set_PreIK_WishboneMountUpperRR
Set_PreIK_WishboneMountLowerRR
Set_PreIK_WishboneHub
Set_PreIK_StrutWishbone
Set_PreIK_StrutWishboneMountFL
Set_PreIK_StrutWishboneMountFR
Set_PreIK_StrutWishboneMountRL
Set_PreIK_StrutWishboneMountRR
Set_PreIK_StrutUpperMountFL
Set_PreIK_StrutUpperMountFR
Set_PreIK_StrutUpperMountRL
Set_PreIK_StrutUpperMountRR
Set_PreIK_StrutHub
Set_PreIK_LiveAxle
Set_PreIK_LiveAxle_Hub
Set_PreIK_LiveAxle_TrailingArm
Set_PreIK_LiveAxle_TrailingArmMount
Get_PostIK_NamedScrollMaterialInU
Add_PostIK_NamedScrollMaterialInU
Get_PostIK_NamedScrollMaterialInV
Add_PostIK_NamedScrollMaterialInV
Get_CrushDamageSoundSubCat
Set_CrushDamageSoundSubCat
Test_CrushDamageMaterial
Add_CrushDamageMaterial
Test_CrushDamageEmitter
Add_CrushDamageEmitter
Get_DetachPartEmitter
Add_DetachPartEmitter
Get_DetachParentEmitter
Add_DetachParentEmitter
Get_FunctionalLight
Add_FunctionalLight
Get_DriverBoxVertex
Add_DriverBoxVertex
Get_DriverBoxVertexColour
Set_DriverBoxVertexColour
Get_DriverEjectionSmash
Set_DriverEjectionSmash
Get_PedWeapon
Add_PedWeapon
Get_VehicleSimpleWeapon
Add_VehicleSimpleWeapon
Get_VehicleWeapon
Add_VehicleWeapon
Get_AccessoryWeapon
Add_AccessoryWeapon
Get_SoundConfigFile
Set_SoundConfigFile


Vehicle Characteristic Parameters

These are methods of the CVehicleCharacteristics class which are used in the Characteristics block, they define global characteristics for the vehicle.

Get_DefenceAgainstCars
Set_DefenceAgainstCars
Get_DefenceGeneral
Set_DefenceGeneral
Get_Offence
Set_Offence
Get_ValueFactor
Set_ValueFactor
Get_WholeBodyDeformationFactor
Set_WholeBodyDeformationFactor
Get_PermanentPowerup
Add_PermanentPowerup
Get_AirBrakeMinSpeed
Set_AirBrakeMinSpeed
Get_AirBrakeMaxSpeed
Set_AirBrakeMaxSpeed
Get_AirBrakeMinParametric
Set_AirBrakeMinParametric
Get_AirBrakeMovementUpTime
Set_AirBrakeMovementUpTime
Get_AirBrakeMovementDownTime
Set_AirBrakeMovementDownTime
Get_AirBrakeDropTime
Set_AirBrakeDropTime
Get_AerofoilUpSpeed
Set_AerofoilUpSpeed
Get_AerofoilDownSpeed
Set_AerofoilDownSpeed
Get_AerofoilMovementUpTime
Set_AerofoilMovementUpTime
Get_AerofoilMovementDownTime
Set_AerofoilMovementDownTime
Get_Aerofoil2UpSpeed
Set_Aerofoil2UpSpeed
Get_Aerofoil2DownSpeed
Set_Aerofoil2DownSpeed
Get_Aerofoil2MovementUpTime
Set_Aerofoil2MovementUpTime
Get_Aerofoil2MovementDownTime
Set_Aerofoil2MovementDownTime


Joint Properties

These are methods of the CWeldJointParameters class which are set in the JOINT blocks, they control moving hinges for element like doors, trunks, etc. in vehicles

Get_Hinge
Set_Hinge
Get_BallJoint
Set_BallJoint
Get_UJ
Set_UJ
Get_MinTwistLimit
Set_MinTwistLimit
Get_MaxTwistLimit
Set_MaxTwistLimit
Get_MinLimit
Set_MinLimit
Get_MaxLimit
Set_MaxLimit
Get_MinLimit2
Set_MinLimit2
Get_MaxLimit2
Set_MaxLimit2
Get_Slide
Set_Slide
Get_FlapSpring
Add_FlapSpring
Get_JointAxis
Set_JointAxis
Get_JointNormal
Set_JointNormal
Get_JointLocation
Set_JointLocation


Unknown Properties

These properties are currently unknown methods of an unknown class.

Get_Bounds_Min
Set_Bounds_Min
Get_Bounds_Max
Set_Bounds_Max
Get_UnidirectionalWeakness
Add_UnidirectionalWeakness
Get_BidirectionalWeakness
Add_BidirectionalWeakness