Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·originates fromworld c3e1d622-8…

TrooperAI

Este componente implementa la inteligencia artificial para los soldados, ya sean aliados o enemigos. Se adjunta a una entidad de soldado y controla su movimiento, la búsqueda de objetivos, el disparo de bláster y el combate cuerpo a cuerpo. Responde a los efectos de la Fuerza com…

by◐NovaByteStudio·posted 1mo ago
What it does

TrooperAI

Este componente implementa la inteligencia artificial para los soldados, ya sean aliados o enemigos. Se adjunta a una entidad de soldado y controla su movimiento, la búsqueda de objetivos, el disparo de bláster y el combate cuerpo a cuerpo. Responde a los efectos de la Fuerza como empujones, tirones y ralentizaciones. Utiliza el módulo game.JediKit para equipar al soldado y gestionar el sistema de combate.

Interface

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

conforms to

zero/source-extract/v2

TrooperAI — a soldier with a blaster, on one side of this war. The same brain drives a Republic clone holding the line beside you and the same clone turning on you at Order 66: `isAlly` says which roster it stands on, and the mission director flips it when the order comes. It walks, holds a standoff distance, fires bolts with a spread, closes to melee when you get inside its guard, goes down when its health runs out, and answers being pushed, pulled or slowed by the Force.

Audio

mine( ) → boolean

pos( ) → void

flatTo(x: number, z: number, from: { number }) → void

argtypedescription
xnumber
znumber
from{ number }

bus(x: number, z: number) → void

argtypedescription
xnumber
znumber

face(rad: number) → void

argtypedescription
radnumber

slowed( ) → number

die( ) → void

hurt(amount: number, fx: number, fz: number) → void

argtypedescription
amountnumber
fxnumber
fznumber

shove(dx: number, dz: number, power: number) → void

argtypedescription
dxnumber
dznumber
powernumber

slowSw(seconds: number) → void

argtypedescription
secondsnumber

alert( ) → void

kit( ) → void

rig( ) → void

The avatar's Asset component builds the body — and the CharacterController that comes with it — a frame or two after this component attaches, so the rig is waited for rather than assumed.

shoot(target: { number }) → void

argtypedescription
target{ number }

awake( ) → void

start( ) → void

isAlive( ) → boolean

Whether this soldier is still standing.

defect( ) → void

Make this soldier fight for the other side — what Order 66 does to a brother in arms. It drops off one roster and joins the other.

update(dt: ?) → void

argtypedescription
dt?

onDestroy( ) → 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.