BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
generated from the code

Vehicles: every page

Engine, gearbox, wheels and springs with their formulas, and what float precision does to a lap.

5 pages.

  • Engine, gearbox, wheels and springs: How a Refractor 2 land vehicle moves - the engine's speed and torque curve, the gears, the wheel ratio, the wheel's speed step and slip curve, the spring under each wheel - with the formulas as the Rust has them.
  • Float precision: 24 bits, 53 bits, and a store: Why the same arithmetic gives other floats on a server than on a client, how Heroes differs from Battlefield 2 by where it stores a float, and how the port reproduces each bit.
  • Boats and aircraft: floats, wings, rotors and control surfaces: How Refractor 2 makes a boat float and a jet or helicopter fly - floating bundles and their lift by depth, the wing's lift formula with its stall, the ceiling, rotor engines, control surfaces as rotational bundles, the landing gear - ..
  • Seats and cameras: entering, switching, leaving, and what you see: How a player gets into a vehicle in Refractor 2 and what he sees there - the use key's handler and the entry search, seat switching and the swap with a bot, the exit position and speed, abandoned vehicles, the seat's cameras with their ..
  • A vehicle's life: spawner, abandonment, wreck, the next one: The life of a vehicle in Refractor 2 - the object spawner's template and its update, why maxSpawnDelay does nothing, the hold on a vehicle that stands by its spawner, abandonment and self-destruction, destruction with its events and ..
Source: tools/devwiki/build.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.