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

Soldier: every page

The soldier on foot and his weapons: a tick of input, sprint, whole-tick timers, deviation.

9 pages.

  • The soldier: input, stances and sprint: What a soldier does with a tick of player input - look, move, jump, the sprint helper and its stamina - and how Heroes' hero differs.
  • Stances and states: stand, crouch, prone, swim, climb, fall: The soldier's stances and speed states in Refractor 2 - the seven speed states and the ramp between them, the stance keys' rules and their delay timers, swimming, ladders, sky diving and the parachute, man down and revive - with the ..
  • Animation: triggers, bundles, the skeleton and the ragdoll: The animation runtime of Refractor 2 - animation systems as scripts, triggers that choose bundles from the soldier's movement and messages, sampling and blending onto the skeleton, the aim, first person, the ragdoll, and why the ..
  • Kits, pickups and supplies: What a soldier carries and how he gets more - the kit as an object with its template, dropping a kit at death and picking one up, supply objects and depots that heal, repair and refill, their storage and their team from the nearest ..
  • Weapons: a fire arm's components, one update, one shot: How a Refractor 2 fire arm is put together - its eight components, the order of one weapon update, what "busy" means, how a shot becomes a fire event that every component hears, and how heat works.
  • Weapons: ticks, deviation and the random table: How a Refractor 2 fire arm counts time in whole ticks, how its deviation grows and decays from movement, turning, jumping and firing, and where a shot's spread comes from.
  • Projectiles: flight, impact and damage over the distance: How a bullet, a rocket or a grenade lives in Refractor 2 - the launch from the fire arm, the point node's step with gravity and drag, the collision pass, ricochet and penetration, thrust and guidance, the damage over the distance, and ..
  • Damage and armor: from a hit to the hit points: The damage pipeline of Refractor 2 - the material pair's modifier, the armor component and its template, explosions with their falloff, line of sight and push, team damage, damage over time in water and as a wreck, and how the port ..
  • Guided missiles and flares: How a guided missile finds and follows a target in Refractor 2 - target objects and heat sources, the seeker's score of distance against angle, the lock and the re-lock time that lets an unlocked missile fly straight, the guidance's ..
Source: tools/devwiki/build.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.