Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage metropolisVehicles.package·originates fromworld 0a0b119f-a…

fleet

This module manages the parked vehicle population of a city, streaming them around players in three tiers: far (instanced models), standing (local entities with colliders and interaction prompts), and real (fully simulated vehiclesKit Vehicles). It is called by the game loop to u…

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

fleet

This module manages the parked vehicle population of a city, streaming them around players in three tiers: far (instanced models), standing (local entities with colliders and interaction prompts), and real (fully simulated vehiclesKit Vehicles). It is called by the game loop to update the visible vehicle population based on player proximity and to convert parked vehicles into drivable ones when a player interacts with them. The module uses a deterministic planning system based on the city plan and a seed to place vehicles consistently across peers.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

nonstrict

ModelBoxCollider

hash(a: number, b: number, c: number, d: number) → number

argtypedescription
anumber
bnumber
cnumber
dnumber

cellKey(x: number, z: number) → number

argtypedescription
xnumber
znumber

budget(which: any) → any

The budget table for a name (or the table itself).

argtypedescription
whichany

new(opts: any) → any

argtypedescription
optsany

_plan( ) → void

_pose(place: any) → any

Where a place's vehicle rests: on the ground under its wheels, turned to its bay, tilted to the slope.

argtypedescription
placeany

g(dx: number, dz: number) → number

argtypedescription
dxnumber
dznumber

_draw(kind: string) → any

argtypedescription
kindstring

laneBlock(place: any) → void

argtypedescription
placeany

_stand(place: any) → void

argtypedescription
placeany

status(_peer: number) → void

argtypedescription
_peernumber

handle(_peer: number, verb: string, _args: any) → void

argtypedescription
_peernumber
verbstring
_argsany

_unstand(id: number) → void

argtypedescription
idnumber

wake(place: any, opts: any?) → any

Turns a parked place into a real vehicle where it stands. opts = { enter = true (the local player gets in) }.

argtypedescription
placeany
optsany?

nearest(x: number, z: number, r: number) → void

The nearest unclaimed place to a point within `r` metres, and its distance.

argtypedescription
xnumber
znumber
rnumber

eyeOf( ) → vector

_claims( ) → void

_refresh(eye: vector) → void

argtypedescription
eyevector

update(dt: number, eye: vector?) → void

Every frame. `eye` (a vector) defaults to the active camera.

argtypedescription
dtnumber
eyevector?

stats( ) → any

{ places, far, standing, draws, ms (the last refresh) }.

destroy( ) → void

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.