Skip to content

style: Apply consistent field order to PhysicsBehavior Behavior modules#68

Open
Stubbjax wants to merge 1 commit into
TheSuperHackers:mainfrom
Stubbjax:apply-consistent-field-orders-physics-behavior
Open

style: Apply consistent field order to PhysicsBehavior Behavior modules#68
Stubbjax wants to merge 1 commit into
TheSuperHackers:mainfrom
Stubbjax:apply-consistent-field-orders-physics-behavior

Conversation

@Stubbjax
Copy link
Copy Markdown
Contributor

This change applies a consistent field order to all PhysicsBehavior Behavior modules across all INI files. Fields are ordered based on the most common order patterns and their code declaration/parse orders.

Order

Below is the order applied to the respective module.

Behavior PhysicsBehavior
  Mass
  AerodynamicFriction
  AllowBouncing
  KillWhenRestingOnGround
  ShockResistance
  ShockMaxYaw
  ShockMaxPitch
  ShockMaxRoll
  ForwardFriction
  LateralFriction
  ZFriction
  CenterOfMassOffset
  AllowCollideForce
  MinFallHeightForDamage
  FallHeightDamageFactor
  PitchRollYawFactor
  VehicleCrashesIntoBuildingWeaponTemplate
  VehicleCrashesIntoNonBuildingWeaponTemplate

@Stubbjax Stubbjax self-assigned this May 29, 2026
@Stubbjax Stubbjax added Gen Relates to Generals ZH Relates to Zero Hour labels May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gen Relates to Generals ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants