REVERA Systems Reference

Flight, falling, the procedural (IK) animation and the combat rules added with them. Last updated 25 November 2026.

Overview

This covers the systems built in the latest round of work: skydiving, the reworked jetpack, jumping out of ships, fall damage, the IK animation (blaster hold, fists, legs, gestures), saber deflection aim, and the right-click input changes.

The document has three parts: Systems (how the game is put together), Features (what players can do) and Operations (installing, debugging, open issues).

Status. Everything here compiles. None of it was run in Roblox by the author; it is play-tested by the team. The "Open issues" section lists what is not yet confirmed in game.

Two config modules tune almost all of it. They live in ReplicatedStorage > Config > GameDesign and appear in the web panel under the same names:

ModuleWhat it holds
FlightSkydive, wind trails, fall damage, deflection, NPC overheat, seat rules, held mouse buttons
IKEvery setting of the procedural animation: legs, blaster hold, fists, gestures, jetpack legs

The scripts read these tables live, so an edit in Studio or in the web panel takes effect without re-installing anything. Each script also keeps its own fallback for every setting, so deleting a line from a config never breaks a script.

Settings that already had a home stayed there: the jetpack and jump pack numbers are in GameDesign/Utilities, and the unpiloted-crash rule is per ship in ShipConfig.

Part 1: Systems

How the game is put together. Read this part first; the features in Part 2 are built from these pieces.

Where everything lives

Place in the game treeWhat lives there
ServerScriptService > ServicesOne folder per server service (economy, quests, sieges, utilities...). The game's rules.
ReplicatedStorage > Controllers > networkSyncedControllersThe five controller kinds that get cloned into things: melee, ranged, npc, ship, utility.
StarterPlayer > StarterCharacterScripts > character.controllerEverything about your own character: movement, input, combat state, animation, IK. A new copy runs each life.
StarterPlayer > StarterPlayerScripts > render.controllerClient-side drawing of every character and effect near you.
StarterGui > Main > ui.controllerAll interface: HUD, menu pages, panels, prompts.
ReplicatedStorage > sharedModulesCode and rules used by both server and client.
ReplicatedStorage > ConfigConfig modules, including GameDesign. Editable from the web panel.
ServerStorage > ModulesServer-only helpers: fall damage, status effects, projectile damage, knockdown.
ServerStorage > RepositoryStored copies of the data model that other places load.

Services (server)

Each service is a folder named for what it owns, with the same three parts:

Other code talks to a service only through its interface. There are about forty: account, admin, bank, base, bounty, class, combat, contract, crafting, creature, economy, exam, faction, gather, guild, location, merchant, mission, npcHandler, party, playerHandler, progression, quest, renderHandler, reputation, shipyard, siege, smuggling, spaceHandler, utility, warmachine and others. The name says what each owns.

Two are worth knowing by role:

Controllers (weapons, NPCs, ships, utilities)

A controller is a script bundle that lives inside the thing it controls: a ranged.controller in every blaster, a melee.controller in every saber, a ship.controller in every ship. Each has:

Because they are cloned, a fix to a controller has to reach every copy: the template and each one already inside a tool, ship or NPC. The installers do this by name.

Logic that must agree on both sides sits in shared modules: SharedRangedLogic and SharedMeleeLogic hold the rules for firing, aiming, blocking and attacking, and each side supplies callbacks.

The character controller

Runs on your client for your own character, with a small server half. Its systems:

SystemJob
InputSystemTurns key presses into actions and hands them to the right system
MovementSystemSprint, crouch, prone, slide, roll, stance changes
AnimationSystemWorks out the movement state and plays the matching animations
JointRotationSystemTurns the waist, neck and root toward where you look
BlasterIK, FistCombat, AbilityIKThe procedural animation (see How the IK works)
CombatSystem, AbilitySystemCombat state and class abilities
ClimbingSystemLedges and walls
cameraHandler (instance module)The camera: center view, shift lock, lock-on, mouse lock

State that other scripts need is published in character.controller > stateCfg (values like subState, poised, cantMove) and as attributes on the character (Jetpacking, Skydiving, FistMode, Stance).

The render controller

Draws what you see of everyone else. It receives look angles, effects and projectile events and applies them locally: CharacterSystem (other players' joints), ProjectileSystem, WeaponEffectSystem, StanceCorrectionSystem, creature and citizen visuals, weather and atmosphere. The leg IK (ikHandler) is here too, because it runs for every nearby character.

The interface

ui.controller holds about seventy systems, one per screen or widget. They share one visual language through HoloStyle (palette, fonts, the glass panels, buttons, section headers). New interface should be built with HoloStyle so it matches. Item pictures are drawn by ItemArt.

Shared modules worth knowing

ModuleWhat it is for
InputBindingsEvery action's key and controller button. Use matches(action, input) and isDown(action); never hard-code a key.
DataHandler / PlayerDataPlayer save data. Always go through these.
LiveConfigApplies web panel edits to config tables in a running game.
LibraryItems, factions, place ids.
SharedRangedLogic / SharedMeleeLogicWeapon rules used by both sides.
CombatDefenseDecides parry, clash, block or deflect for an incoming attack.
ProjectileNetPlayer-fired projectiles: the client predicts, the server validates.
AbilityAnimationsPlays ability and utility animations, or asks for an IK gesture when none exists.

Config

There are three kinds of config, all editable in the web panel:

  1. GameDesign modules in ReplicatedStorage > Config > GameDesign: one per topic (Utilities, Keybinds, Classes, Ships, Flight, IK...).
  2. Stat modules that live inside things and are cloned with them: weaponCfg, npcConfig, ShipConfig. One panel entry covers every copy with that name.
  3. Settings tables in shared modules.

The web panel keeps the game's own values and your overrides separately. An override is merged into the live table, so scripts that read the table each time see the change at once. A script that copied a value into a local when it loaded keeps the old one until it reloads; the Flight reference below says which settings are like that.

Config reference: Flight and IK

Flight

SectionSettingDefaultMeaning
SkydivestartSpeed60Falling speed (studs/s) at which a fall becomes a skydive
SkydiveminHeight25Studs of air needed below you for it to start
Skydivelean45Degrees the body tips forward when just falling (0 upright, 78 flat)
SkydiveleanMoving15Degrees added while moving forward
SkydiveleanDive25Degrees added in a dive
SkydivebankDegrees22Roll into a turn
SkydivebraceFrom / braceFull45 / 14Studs above ground where the landing brace starts and completes
SkydivearmedLeanShare0.8Share of the lean kept with a weapon or fists out
SkydivearmedSplay / armedKnee2.3 / 2.1Leg spread and knee bend multipliers when armed
SkydivearmedArchWaist / armedArchHips16 / 14Degrees of body arch when armed (stops the body folding)
SkydivefovWiden / fovWidenReducedMotion14 / 5Field of view added at full speed
SkydiveTrailslimbshands and feetWhich parts trail
SkydiveTrailstextureship atmosphere streakTrail picture
SkydiveTrailslifetime / width0.7 / 2.6Trail length in seconds, width at the limb
SkydiveTrailsstartTransparency / midTransparency0.1 / 0.5How see-through the trail is
FallDamageenabledtruefalse: landings animate, no health is taken
FallDamagesafeHeight14Studs you can fall for free
FallDamagedamagePerStud1Health per stud past the safe height
FallDamagehardLandingHeight9Studs from which the hard landing animation plays
FallDamageslowDescentSpeed50A held descent slower than this (studs/s) is not a fall
FallDamageforceJumpImmunitySeconds3No fall damage for this long after a Force jump
DeflectionnpcAimAtShootertrueNPCs send deflected bolts back at the shooter
DeflectionnpcLooseDegrees4How inaccurate that is
NPCwaitFullCooldowntrueAn overheated NPC holds fire until its heat is back
NPCcooldownShare1Share of full heat it waits for
SeatsstopUtilitiesWhenSeatedtrueSitting or boarding ends the running utility
SeatsblockUtilitiesWhenSeatedtrueNo utility can be started while seated
InputholdLostSeconds0.4A mouse button reading "up" this long counts as released

When a Flight change takes effect: fall damage, deflection, NPC and seat rules within a second; skydive lean and pose the next frame; skydive start and brace numbers from the next respawn; trails the next time a skydive starts; input when a player joins.

IK

IK has five sections. Legs, Blaster, Fists and Gestures each hold the full settings table of one script, with a comment on every line. JetpackLegs holds the two knee-bend numbers for flight. The section Animation and IK explains what they control.

Elsewhere

WhereSettingMeaning
GameDesign/Utilities > List > JetpackriseSpeed, flySpeed, thrustSpeed, liftFloors, minFuelToStart, recoil multipliersJetpack flight numbers
GameDesign/Utilities > List > JumpPackupwardSpeed, forwardSpeed, cooldownJump pack burst
each ship's ShipConfig > UnpilotedCrash{ enabled = true, impactSpeed = 60, lostShare = 0.5 }When a ship with nobody at the controls explodes on impact

Animation and IK

Animations here come in two layers. Recorded animations play first: the movement set, weapon stances, attacks. IK is then laid over them each frame for anything that has to point at or reach for something.

The idea

A normal animation plays back a recorded pose. IK works the other way round: the code decides where a hand or foot should be this frame, and the joints of that arm or leg are solved to put it there. That is how a blaster follows the crosshair, a fist travels to its target and feet find the ground.

It is laid over the normal animations every frame, after they have run. Turn an IK system off and you see the animation that was underneath all along.

Solving one limb

Every arm and leg is solved the same way, as a two-bone chain:

  1. Take the root of the limb (shoulder or hip) and the target point for its end (wrist or ankle).
  2. The two bone lengths and the distance to the target form a triangle, which fixes the angle at the middle joint (elbow or knee).
  3. A pole direction picks which way that middle joint points, since the triangle could swing anywhere around the line from root to target. For arms the pole is "down and a little outward", so elbows hang naturally.
  4. If the target is further than the limb can reach, the limb straightens toward it.

So tuning IK is almost always about one of two things: where the target is, or which way the elbow or knee points.

The four systems

SystemWhat it doesScriptConfig section
LegsFeet planted and stepping under an armed characterrender.controller > instanceModules > ikHandlerIK.Legs
BlasterPlaces the weapon, then solves both arms to hold itcharacter.controller > Systems > BlasterIKIK.Blaster
FistsStance, guard, punches and parrycharacter.controller > Systems > FistCombatIK.Fists
GesturesOne-off gestures and held poses for abilities and utilitiescharacter.controller > Systems > AbilityIKIK.Gestures

Who moves which joints

Two systems never write the same joint at the same time. This table is the rule each one follows.

JointsOwnerGives way when
Hips, knees, anklesLegsSprinting, jetpacking or skydiving: the animation or the flight pose has the legs
Shoulder, elbow, wristBlaster while a blaster is out; Fists while fists are upA gesture needs an arm: the blaster's support hand lets go and returns after it
Waist, neck, rootThe look direction (JointRotationSystem)Fists and gestures add their own lean and twist on top

Blaster: the weapon is placed, the hands follow

The blaster IK does not move hands to a gun. It decides where the gun sits and where its barrel points, then solves the right hand to the grip and the left hand to the support point.

There are three holds, blended smoothly:

The support hand goes to a point on the weapon: a part or attachment named LeftGrip, OffHand, Foregrip or similar, or a point worked out along the barrel. It lets go when that point is further than OFFHAND_MAX_REACH of the arm's length, except in jetpack flight and skydives, where it holds on.

The overheat gesture is also IK: the weapon tips up and across the body and shakes, and the support hand comes off the barrel (OVERHEAT_* settings).

The blaster IK stands down, and the animation shows through, when seated, downed, ragdolled, climbing, swimming, rolling, or under any action-priority animation that is not one of the weapon's own holds (reload, equip, abilities).

Fists: positions measured from the shoulder

Each fist has a place for each situation, written as Vector3(toward the body's middle, up, forward) from its own shoulder, in arm lengths:

A punch moves the fist from its stance place out to the target and back, while the waist and hips turn with it. While crouched, the positions are measured along the chest (which the crouch pitches forward) instead of the upright root, and the stance's own lean and body turn are mostly removed.

Legs: planted feet

With a weapon out or fists up, each foot is planted on the ground and stays there while the body moves over it, then steps to a new spot when it falls too far behind. The leg IK is off while sprinting (the sprint animation runs the legs), jetpacking and skydiving.

Gestures: clips and held poses

When the server uses an ability or a utility, it looks for a real animation named after it in ReplicatedStorage > Assets > Animations > Abilities. If there is none, it stamps the character instead, and the gesture system draws a built-in gesture for that name:

Three held poses matter for flight and combat:

Units

UnitMeaning
Arm lengthsA hand position as a share of the character's own arm (0.5 = half an arm out). Scales with any character size.
AnglesWritten math.rad(degrees) in the module. The web panel shows plain radians: degrees x 0.01745, so 0.35 is 20 degrees.
Rates"Exp rate": bigger is snappier. 10 gets most of the way in about 0.2 seconds.

Tuning recipes

You seeChange
A blaster sits wrong in the handsIK.Blaster: READY_GRIP, AIM_GRIP
The support hand lets go too easilyIK.Blaster: OFFHAND_MAX_REACH, OFFHAND_KEEP
Overheat gesture too strongIK.Blaster: OVERHEAT_UP, OVERHEAT_YAW, OVERHEAT_CANT, OVERHEAT_SHAKE
A weapon points the wrong wayAttributes on that Tool: IKBarrelAxis, IKUpAxis (read every second)
Fist guard too close to or far from the faceIK.Fists: BLOCK, third number
Idle fists in the wrong placeIK.Fists: GUARD_LEAD, GUARD_REAR
Punches reach too far or not far enoughIK.Fists: RANGE, REACH
Elbows too tucked or too flaredIK.Fists: ELBOW_IN; IK.Gestures: ELBOW_OUT
Gestures too slow or abruptIK.Gestures: SPEED, FADE_IN, FADE_OUT
Knees too straight in jetpack flightIK.JetpackLegs: kneeForward, kneeVeer

To see which gesture the server asked for, leave IK.Gestures.DEBUG_PRINT on: each gesture or held pose on your own character prints one line.

Input and camera

Input. Actions are named (Aim, MeleeBlock, Sprint...) and bound in InputBindings. A press is checked with matches; a hold with isDown. Aim, saber block and fist guard are holds: they last while the right button is down.

Camera. cameraHandler runs on top of Roblox's default camera. It adds center view (mouse locked to the middle), shift lock, lock-on and the aim zoom, and it owns the mouse lock.

Right click is not yet confirmed fixed. See Open issues.

Places, publishing and rules

Part 2: Features

What players can do, built on the systems above.

Skydive

A fall becomes a skydive once you are dropping at startSpeed or more with at least minHeight of air below you. It works for any fall: off a cliff, out of a ship, or when a jetpack goes out. Lighting a jetpack cancels it.

Jetpack

The jetpack is a toggle: use it once to light it and float, again to put it out.

InputKeyboardControllerEffect
RiseSpaceAClimb
DescendLeft CtrlBSink
ThrustLeft ShiftL3Fly forward along the camera, body laid forward
VeerA / DLeft stickBank left or right

Ship jump and bail

Fall damage

The rules are deliberately simple.

The detection was hardened against five ways a real fall could be missed: invisible volumes counting as ground, landings on edges and railings, being inside a parked ship's bounding box, landings noticed late, and teleports downward reading as falls.

Combat rules, tutorial and Force tear

Part 3: Operations

Installing, debugging and what is still open.

Installing

All installers are Command Bar scripts, run in Studio Edit mode. Update asset 112479672868869 afterwards.

  1. Run Install_ConfigModules.lua. It creates Flight and IK in every copy of Config > GameDesign. Modules that already exist are kept unless you set OVERWRITE = true.
  2. Run Sync_All_Part1of5.lua to Sync_All_Part5of5.lua. Each writes whole scripts at their current version, so nothing is left half-installed. They replace the earlier Sync_SkydiveJetpack parts and include the config wiring.
  3. Optional, not in the Sync parts: Add_OwnCameraPan.lua, Fix_JetpackNoSprint.lua, Redesign_ForceTear.lua, Fix_TutorialNoDuplicateWeapons.lua, Update_TutorialPunchStep.lua, and the render-service half of Fix_DeflectAim_JetLegsKits_OverheatCalm.lua.

If you would rather patch than replace whole scripts, Install_ConfigWiring.lua applies only the config wiring to scripts that already have every earlier fix.

Debug commands

Paste these into the Command Bar during a play test. They change nothing.

FileSideShows
Debug_RightClick_ClientCommand.luaClientA timeline of right-button events, mouse lock mode, aim and guard state
Debug_LegsOverheat_ClientCommand.luaClientPlaying animations, held-pose stamps and leg angles while flying or overheated
Debug_Deflect_ServerCommand.luaServerEach player's look pitch as the server has it

Workspace attributes: DebugProjectiles = true (server projectile log) and NoRegHUD = true.

Open issues

These are not confirmed in a play test.