AI tools: More tools
Everything else your AI can call. 29 tools. You see every step your AI takes and can undo any of them.
baked_probes
Bake bounced light into light probes and use the bake: save the live probe grid (the light arriving at points all over the place, ray traced) to a .probes file, load one, prefer it over the live grid (no tracing cost), or read what is loaded. For machines without ray tracing (they get no probe light otherwise) and for low-end speed. action save (default path Assets/Lighting/<scene>.probes; let the probes settle first), load {path: a .probes file, or a folder of tiles with index.json for a whole map; default the scene's own}, prefer {on}, unload, status. Then/now: launch with TTR_RAYTRACE=0 to see a Mac as a GPU without ray tracing.
| Argument | Type | What it does |
|---|---|---|
action | status / save / load / prefer / unload | status (default) · save the live grid · load a bake · prefer the bake over the live grid (on/off) · unload. |
on | boolean | prefer: the bake in place of the live grid even where ray tracing runs (session only; TTR_GI_BAKED=1 at launch). |
path | string | save: the .probes file (default Assets/Lighting/<scene>.probes). load: a .probes file, or a folder of tiles (index.json + tile files: a whole map, the tile nearest the camera read as it moves); default the scene's own folder Assets/Lighting/<scene>/ when it has one, else its .probes file. |
call_tool
Call ANY engine tool by name with its arguments: for AI apps whose tool list holds only some of the engine's tools (a cap, or a list loaded before a tool pack was published). With find_tools (which tool) and tool_help (its arguments) this one tool reaches the whole engine. The reply is the named tool's own reply.
| Argument | Type | What it does |
|---|---|---|
arguments | object | Its arguments (tool_help shows them). |
name required | string | The tool to call. |
direct_sequence
The AI director: writes a whole cut of the scene as a director and a cinematographer would shoot it, in a style (trailer: fast cuts on the beat, anamorphic, low hero angles, every shot moving; drama: long takes, slow push-ins, the focus on whoever speaks; horror: slow creeping pushes, low and dutch angles, sudden close cuts, shallow focus; documentary: handheld, a zoom, natural pacing). It opens on a shot that establishes the subjects, then covers them in the style's sizes (wide to extreme close-up), each framed with the eyes on the upper third and lead room where they look, every camera on one side of the line between the two subjects so screen direction never flips, no jump cuts, the lens for each size from the style's kit, rigs and moves, the focus on the eyes, the style's film; cuts on the music's beat when music is given. Replaces Sequences/<name>. Returns the shot list; render_sequence shows it.
| Argument | Type | What it does |
|---|---|---|
action | string | A sequence holding the action to cover (who walks where: its tracks and events, its length): the cut keeps them, with the director's cameras and focus in place of its own. |
length | number | Seconds (default 12). |
music | string | An audio file in the project to cut on its beat (wav, aiff, m4a, mp3). |
name required | string | The sequence to write (Sequences/<name>.sequence.json; replaced). |
seed | integer | Another take: a different side of the line, angles and pacing (default 1). |
style | trailer / drama / horror / documentary | How it's shot (default drama). |
subjects | list of string | Who it's about, one or two (default: the first two characters in the scene). |
engine_log
The engine's own log: what it warned about or failed at that no tool's reply showed (a sound it could not play, a model it could not load, a script it switched off, a stall). Warnings and errors by default, the newest last; level "all" adds the ordinary lines; search: only lines holding these words; category: one part of the engine (Audio, Play, Script, Hang ...). Read it when something silently does nothing.
| Argument | Type | What it does |
|---|---|---|
category | string | Only this part of the engine (the word in square brackets). |
level | warnings / errors / all | warnings (default: warnings and errors), errors only, or all lines. |
limit | integer | Most lines shown, the newest (default 40). |
search | string | Only lines holding these words (any case). |
explain
Why is it doing that? Describe what you see going wrong in your own words ("the room is black", "bullets hit but nothing takes damage", "the enemy just stands there", "it timed out", "the frame rate is stuck at 15") and get what the engine is known to do in that case: the cause, how to confirm it, the fix you can make right here, and whether it is the engine's own fault (then work round it and report it). Built from faults met for real, kept current as they are fixed. Ask it BEFORE guessing or writing your own probe; with no words it lists everything it knows.
| Argument | Type | What it does |
|---|---|---|
symptom | string | What is going wrong, as you see it (the error's own words help). |
gpu_driven
GPU-driven culling and detail for still objects (a city's buildings and blocks): when a scene has enough plain still models (default 1,024), the GPU tests each one against the view, last frame's depth and the sun's cascades, picks its detail level with the CPU's own rules, places it and writes indirect draw arguments, instead of the CPU doing it per object every frame. Reports how many objects, archetypes and buckets it handles, what the GPU drew and left out last frame, and the CPU cost of keeping its copy. Switch it off and on (enabled), change the threshold (minimum) or its occlusion test, to A/B with frame_profile.
| Argument | Type | What it does |
|---|---|---|
enabled | boolean | GPU-driven still objects (default on; off: the CPU path for everything, A/B). |
metal4 | boolean | Encode the passes on Metal 4 (an MTL4 queue with an argument table and a residency set, ordered by events) instead of the Metal 3 encoder (default off until measured; TTR_GPU_DRIVEN_MTL4=1). |
minimum | integer | Qualifying objects a scene needs before the GPU path takes them (default 1024). |
occlusion | boolean | Leave out objects wholly behind last frame's depth pyramid (default on; it stands down while the camera moves fast). |
hdr_output
True HDR on a screen that has the headroom: bright lights shown brighter than white. No arguments: what it is doing now (the screen's headroom, frames drawn in HDR). on: false turns it off (an ordinary picture), true back on. peak: the most of the screen's headroom the picture uses (1 to 16 times white, default 16). knee: the scene brightness where highlights start to rise (default 0.7; lower lifts more of the picture). saturation: how much of a bright light's own colour comes back, 0 to 1 (default 0.5; the film curve bleaches bright lights toward white). Stills and recordings never show it.
| Argument | Type | What it does |
|---|---|---|
knee | number | The scene brightness where highlights start to rise above the film curve (0.2 to 2; default 0.7). |
on | boolean | false: an ordinary picture on every screen. true: HDR where the screen has headroom. |
peak | number | The most of the screen's headroom used, as a multiple of white (1 to 16). |
saturation | number | How much of a bright light's own colour comes back (0 to 1; default 0.5). |
look_through
Look through a camera object (one with cine_camera): the editor's viewport becomes that camera, its place and its body and lens (field of view from the sensor, depth of field at its stop and focus, distortion, fall-off and bokeh), live, with the viewfinder's frame lines and guides over the picture; flying the view then moves the camera (each flight is one undo). camera "off" goes back to the editor's own camera. Also sets the viewfinder: frame_lines (full, 2.39 scope, 2.00, 1.85 flat, 16:9, 1.43 IMAX, 4:3, 9:16 vertical, or w:h) and guides (thirds, safe_areas, center, horizon). See it with editor_window_shot.
| Argument | Type | What it does |
|---|---|---|
camera | string | The camera object's name; "off" ends looking through. Leave out to change only the viewfinder. |
frame_lines | string | full, 2.39, scope, 2.00, 1.85, flat, 16:9, 1.43, imax, 4:3, 9:16, vertical, or w:h. |
guides | list of thirds / safe_areas / center / horizon | The guides to show ([] for none). |
peaking | boolean | Focus peaking: mark what is in focus over the picture. (To make the focus follow a character's nearer eye, set the camera's cine_camera focus_target with edit_entity.) |
make_creek
Cut a creek into the land in one undoable step: from `start` [x, z] it finds its way downhill (`length` m), winds (`meander` 0...1), and sits in a real channel: the water `bank_height` (0.3-0.6 m) under its bank tops, sloped banks that take the land's own ground, a wet gravel bed, round stones in the bed (some breaking the surface) and along its edges. Width varies between `width` [min, max] m. The land opens along it and a fine channel mesh fills the opening (seamless at its edge, solid to walk on); the river water follows it. Answers with a camera on it and its first centreline point. HTTP calls return a job_id immediately; read the result with tool_job {job_id, wait_seconds: 30} (it waits for the job to finish) instead of repeating the tool.
| Argument | Type | What it does |
|---|---|---|
bank_height | number | Bank top over the water, metres (default 0.45). |
clarity | number | Metres you see into it (default 10). |
depth | number | Water depth in the middle, metres (default 0.45). |
flow | number | m/s (default 1.2). |
foam | number | 0...1 (default 0.35). |
length | number | Metres (default 600; it stops sooner where the land gives no way down). |
meander | number | How much it winds, 0 straight ... 1 (default 0.6). |
name | string | |
ripples | number | 0...1 (default 0.6). |
seed | integer | |
start required | list of number | [x, z] world: where it starts (it runs downhill from there). |
stones | number | Stones per 10 m (default 2; 0 none). |
terrain | string | The terrain object's name. Default: the first terrain. |
width | list of number | [min, max] water width, metres (default [1.8, 3.5]: a woodland brook). |
match_picture
How far the scene is from the picture it is built to match (a Nano Banana target, a photo, a film frame): the scene is photographed from the reference's own camera and compared with it, region by region: brightness in stops, contrast, the darkest and brightest parts, colour, and how much detail there is at four sizes, with one overall difference (0% = the same picture; a first blockout is often 15 to 25%, a close match under 10%). Returns the table, what to change first in plain words, and a picture of the engine frame beside the reference with a map of where they differ. Use it every round of a build that follows a reference: fix the biggest difference, measure again. It measures light, colour and detail, not whether each object is the right one: look at the pair too. Never lower contrast or add haze to win the number.
| Argument | Type | What it does |
|---|---|---|
fov | number | Vertical field of view in degrees (default: the editor camera's). The reference's lens: a 24 mm full-frame picture is about 53 degrees. |
image | string | Instead of a camera: a picture already taken (a path in the project or absolute), compared as it is. |
look_at | list of number | The point the camera looks at. |
position | list of number | Camera position: where the reference picture's camera stands (work it out from the picture once, and keep it). |
reference required | string | The picture the scene is built to match: a path in Assets ("References/lobby/target.jpg") or absolute. |
regions | list of object | Named parts of the frame to report: [{name, rect: [x0, y0, x1, y1]}] with 0...1 coordinates from the top left (floor, left wall, window...). Default: a 3 x 3 grid (r00 top left ... r22 bottom right). |
save | string | Keep the report and pictures as Bench/match/<save>/ (report.txt, engine.png, heat.png): one name per round shows the progress. |
width | integer | Width the two pictures are compared at (default 1600, 480...1920); the height follows the reference's shape. |
metal4
Apple GPU features in use, and switches for A/B (Open City lane F): this Mac's Metal 4 support (placement sparse textures need macOS 26.4+ and the GPU's supportsPlacementSparse), the scene residency set (models' buffers held once instead of handed to every encoder every frame: members, commits, per-frame uses it saved), placement sparse texture streaming (maps, heap and mapped megabytes, levels streamed up and down), MetalFX (on, why, at what scale) and how many render targets live only in tile memory (memoryless).
| Argument | Type | What it does |
|---|---|---|
residency_sets | boolean | Scene residency set in place of per-frame useResources (default on where macOS 15+; off: the old calls, A/B). |
orient
Turn an object by compass words, with no rotation maths: `face` its front toward a compass direction ("north-east"), a bearing in degrees (0 north, 90 east, 180 south, 270 west) or a point (`face_point`), and `lean` it some degrees `toward` a compass direction or bearing: its top tips that way (a post leaning east) whatever way it faces. Sets the rotation in one undoable step and says what it set and where the front and the top now point; apply: false only works it out. With no `face` the object keeps the way it faces. The front is the object's local -Z; axis "+z" turns its +Z there instead (a spotlight shines along +Z; wheeled vehicles drive toward +Z).
| Argument | Type | What it does |
|---|---|---|
apply | boolean | Set the rotation (default true). false: only report it. |
axis | -z / +z | Which of its own axes is its front (default -z). |
entity required | string | The object (name or #id). |
face | any | Where its front points: a compass word (north, north-east, east ... or n, ne, e ...) or a bearing in degrees (0 north, 90 east). |
face_point | list of number | Instead of face: a point [x, y, z] its front turns toward (level: the height is ignored). |
lean | number | Degrees its top tips from upright (0 to 89). |
toward | any | The way it leans: a compass word or a bearing (default: the way it faces). |
outside_tools
The SCRIPTS other agents made on this computer that run in a TERMINAL, not inside the editor: type-checks, editor launchers, heavy-job queues, films from frames, picture judges with image libraries, checks across two editors. goal: the job in plain words, the best matches with the one line to run each; name: one in full (what it needs, what it was proven on, who made it). No arguments: every one. Search here before writing a script of your own; tools that run INSIDE the editor are found by find_tools and tool_packs.
| Argument | Type | What it does |
|---|---|---|
goal | string | The job in plain words ("type-check a Swift module", "film frames to mp4"). |
limit | integer | Most listed (default 8 for a goal, 60 for the whole list). |
name | string | One outside tool's name: all it says about itself. |
picture_sheet
Put any pictures side by side in ONE labelled grid and get it back as one picture: stills to compare, views of a scene, before and after, a run of frames. pictures: files (what screenshot, play_clip, shot_in_play and other tools saved, or any PNG/JPEG path), each with a label; across: how many per row; title: one line on top. Use it whenever you would send or judge more than one picture, and from run_script to return many pictures as one (show() keeps four). Writes a PNG (Renders/sheets/<name>.png in the project, or out).
| Argument | Type | What it does |
|---|---|---|
across | integer | Pictures per row (default 3; 2 for a pair). |
cell_width | integer | Each picture's width in the sheet, pixels (default 640). |
name | string | File name for the sheet in the project's Renders/sheets (default sheet). |
out | string | An absolute path for the PNG instead. |
pictures required | array | The pictures, in order: ["/path/a.png", ...] or [{"file": "/path/a.png", "label": "before"}, ...]. Paths are absolute, or relative to the project folder. |
title | string | One line across the top (what this sheet shows). |
placements_build_slods
Makes a placements object's merged far levels (the GTA chain's SLOD1-3): its copies merged into one flat-coloured model per 128 m cell (SLOD1), per 256 m (SLOD2) and per 512 m group (SLOD3), small things left out and simplified to a triangle budget per level, written under Assets/HLOD/<name>/ with an index (slods.txt). Past slod1 / slod2 / slod3 metres a cell or group then draws as one model instead of its copies, through a dithered cross-fade. Rebuild after the placements change.
| Argument | Type | What it does |
|---|---|---|
folder | string | Under Assets (default HLOD/<name>). |
max_triangles | list of number | Per model at levels 1, 2, 3 (default [6000, 9000, 14000]). |
min_size | list of number | Copies smaller than this (m, longest side) are left out at levels 1, 2, 3 (default [3, 8, 16]). |
name | string | The placements object (default: the only one). |
shape | boxes / models | boxes (default): each copy one box in its model's average colour, GTA's far levels, a few MB; models: each copy's coarsest triangles merged (heavier: hundreds of MB for a city). |
slod1 | number | Metres past which SLOD1 shows (default 700; 0 off). |
slod2 | number | Default 1500 (0 off). |
slod3 | number | Default 3000 (0 off). |
placements_from_objects
Turns plain placed objects (only a place and a model: a city's buildings, a port's crates) into one placements object: the models listed once and a list file of where each copy stands, drawn as instance runs in cells (copies near the eye still draw as ordinary objects). Each object cost the frame about 3 µs of CPU; a placements object costs a line per cell and model. Objects with anything else on them (scripts, colliders, lights, attachments, glow), streamed cells' objects, and models with fewer than min_copies copies stay as they are. One undoable step.
| Argument | Type | What it does |
|---|---|---|
dry_run | boolean | Report what would change, change nothing. |
file | string | The list's project path. Default: Scenes/<scene>.placements/<name>.ttrplace. |
group | string | Only objects in a group starting with this ("Blockout_"). Default: any. |
min_copies | number | A model needs this many copies to be placed (default 2); rarer ones stay objects. |
models | string | Only objects whose model starts with this ("Forge/oc_kit_"). Default: any. |
name | string | The placements object's name (default "Placements"). |
replace | boolean | Overwrite an existing list file. |
player_view_audit
Player-view detail guard: from where the player really stands (the spawn view, turned four ways, counted double) and along the scene's roads and trails, what fills the picture, and is each of those things detailed enough for how big and how near it is? FAILS anything big in view that is plain: a flat colour, too few texture pixels for its distance, no normal map or relief within 6 m, one flat roughness, a Forge draft, sharp machine-straight corners on stone, wood, plaster or dirt, relief that is not real shape within 5 m. Each failure has one plain line saying what to do. Also lists what is never seen (it can be coarse or left out) and far things that carry more triangles than pixels. Changes nothing. Run it before calling a place finished.
| Argument | Type | What it does |
|---|---|---|
limit | integer | Most objects to list in each part (default 12). |
only_views | boolean | Judge only the views given (no spawn or road views). Default false. |
roads | boolean | Add views along roads and trails within 120 m of the spawn (default true). |
views | list of object | More views to judge: [{"position": [x, y, z], "look_at": [x, y, z]}]. |
population_status
The living city's budgets (the population object, Open City): which kind of place the player is in (population_zone boxes), the hour and where it comes from (the population clock, the scene's time of day, or the sun), weekday or weekend, the platform's budgets and density dial (Mac or Deck), how many pedestrians and cars the table allows round the player now and the pedestrian mix; in Play also how many are out, how many wait parked in the pools for reuse, and how many came and went. Out of Play: the settings and the zones. Set it with edit_entity: population { density 0.8 platform "deck" hour 13 } on any object, and population_zone { kind "downtown" size (400, 80, 300) } boxes; pedestrian templates are characters tagged pedestrian_template (ped:office, ped:tourist... pick the mix), cars tagged traffic_template.
No arguments.
rain_look
The falling rain's look, live (this session only; the defaults live in the engine): with no arguments, reports every value. Set any of: pace (1 = real fall speeds, 4 to 9 m/s by drop size; lower slows the whole rain), density (drops a cubic metre at full rain), brightness (a lit drop's), over_stops (the most a drop adds over what is behind it), floor (the most against black, a share of white), shutter (seconds the shutter counts as open: a streak's length), beam_reach and lamp_reach (how far a torch's and a lamp's rain is drawn, m), max_drops, splash_brightness, burst (a landing's flare), mist (the spray low over the ground), splash_cell (m: smaller = more landings), drip_brightness and drips_per_second (the big drops under trees), cover (1/0: the height map that keeps rain out from under roofs, lands it on them and runs it off their edges) and cover_reach (m), drop_size (every drop's size against a shower's: 0.4 a drizzle), gust (0 an even fall ... 1 a squall's waves) and gust_band (m between gust bands), veil (the glowing ball of fine rain round a far lamp, past the drops' reach; 0 off). storm sets a whole kind at once: drizzle, steady, downpour or squall. Judge it in Play under a lamp and in the torch's beam; frame_profile's Rain stage is its cost.
| Argument | Type | What it does |
|---|---|---|
beam_reach | number | |
brightness | number | |
burst | number | |
cover | number | |
cover_reach | number | |
density | number | |
drip_brightness | number | |
drips_per_second | number | |
drop_size | number | |
dust_beam | number | |
dust_brightness | number | |
dust_density | number | |
dust_disc | number | |
dust_reach | number | |
floor | number | |
follow_pace | number | |
gust | number | |
gust_band | number | |
lamp_reach | number | |
max_drops | number | |
mist | number | |
over_stops | number | |
pace | number | |
pace_smoothing | number | |
runoff_points | number | |
runoff_pours | number | |
runoff_rate | number | |
shutter | number | |
splash_brightness | number | |
splash_cell | number | |
storm | drizzle / steady / downpour / squall | A storm kind: one set of the numbers below (drizzle: fine slow drops, no splashes; steady: a shower, the defaults; downpour: larger, faster, twice as many, hard landings and spray; squall: a downpour in waves, gust bands down the wind). Set first; numbers given with it are set after it. |
veil | number |
register_outside_tool
Add a SCRIPT that worked to this computer's catalog of outside tools, so every agent in every editor finds it (find_tools and outside_tools show it with its one-line command). For a script that runs in a terminal (Python, shell, a type-check, a launcher, a picture judge). A job that is only engine calls and numbers should be a tool pack instead: publish_tool. Registering a name again replaces it.
| Argument | Type | What it does |
|---|---|---|
command required | string | The one line that runs it, with its arguments shown as <placeholders>. |
keywords | list of string | Other words a person would use for this job. |
made_by | string | Who made it (your lane or name). |
name required | string | Short lower-case name for the job ("typecheck_module", "frames_to_mp4"). |
needs | string | What it needs to run: "python3 + Pillow", "a running editor on a port", "the heavy queue"... |
path | string | Where the script is (absolute, or starting with ~). |
proven_on | string | What it has worked on (a scene, a build, a date). |
summary required | string | What it does and when to use it, starting with the job, in plain words (40 to 800 characters). |
run_script
Run a short JavaScript program INSIDE the editor that calls the engine's tools and works with their answers, and get back only what it returns: ONE call for a job of many steps. Use it for loops (place forty fence posts, fix every object a check lists), for measuring at many spots (the level of a sound at six places, the brightness of five views), for try-measure-adjust (move a lamp until the picture's brightness is right), and to read the scene as data (scene.list, scene.get) with no text to parse. The program is the BODY of a function: use `return` for the result. It has: args; tool(name, {arguments}) → {ok, text, data, pictures, error}; need(name, {arguments}) (stops on a failure); scene.list({group, component, name, near: [x, y, z], within}) → [{name, id, group, components, position}]; scene.get(name) → {name, id, group, components: {transform: {position, rotation, scale}, ...}}; scene.box(name) → {min, max}; scene.ground(x, z); pixels(file, [x0, y0, x1, y1]) → {brightness, contrast, mean_rgb, dark_share, blown_out_share, ...}; show(file); log(...); wait(seconds). Example: `const out = []; for (const o of scene.list({group: "Props"})) { const b = scene.box(o.name); out.push({name: o.name, height: b.max[1] - b.min[1]}); } return out;` A program that proved useful becomes a tool of its own with publish_tool. It can't call the tools that leave this Mac or replace the project.
| Argument | Type | What it does |
|---|---|---|
args | object | Values the program reads as `args` (so the same program runs on other objects). |
code required | string | The program: the body of a function (JavaScript). `return` its result (anything JSON can hold). |
max_calls | integer | Most tool calls it may make (default 300). |
seconds | number | Most seconds it may run (default 30). Over 50 it runs as a job: read it with tool_job {job_id, wait_seconds: 30}. |
scenario_place
Place or generate scenario points (people doing things at places; read them with scenario_points). action place: one point, or several with `points`: name, position, yaw (the way the person faces; for a parking spot the way the car's nose points), activity (a clip or work, kneel, use, pick_up, sit, talk, phone, lean, smoke, push), stay [min, max] seconds, users (pedestrian kinds: their templates' ped: tags), hours ("7-12, 13-19"), capacity, next (a chain: "Garage_Toolbox:2, Garage_Locker:1"), chain_only, vehicle (a parking spot: a traffic_template car pulls in and its driver gets out into the chain), grip, prop, group. action generate: the sets for the buildings in `area` [x, z, radius] by kind (garage: mechanic at the car, toolbox, locker, parking spot, customer; shop: window, smoking door, phone; office/hotel: smokers, talkers; house: porch; park: bench); `kind` forces one; buildings are found by their model (lane A's oc_kit_* names; plain blockout boxes only with a kind). People come from the city's pedestrians (characters tagged pedestrian_template, a population object in the scene).
| Argument | Type | What it does |
|---|---|---|
action required | place / generate | |
activity | string | |
area | list of number | generate: x, z and a radius in metres. |
capacity | number | |
chain_only | boolean | |
grip | string | |
group | string | |
hours | string | |
kind | string | generate: the building kind to use (garage, shop, office, hotel, house, park) instead of the model's. |
limit | integer | generate: most buildings (default 12). |
name | string | |
next | string | |
points | list of object | place: several points, each with the fields above. |
position | list of number | |
prop | string | |
stay | list of number | |
users | string | |
vehicle | boolean | |
yaw | number |
scenario_points
Scenario points (GTA-style: people doing things at places, cars pulling in), read only: the points (in `area` [x, z, radius] or all) with their activity, users, hours and chain; in Play also what's happening at them (people acting, walking to a point, cars pulling in, parked) and their cost per frame, then each person at them (where, walking to which point and how far, round a car, acting and for how long) and each scenario car (how far off its spot and its heading). Place or generate them with scenario_place.
| Argument | Type | What it does |
|---|---|---|
area | list of number | x, z and a radius in metres. |
limit | integer | Most points shown (default 40). |
seat_driver
Seat a character in a vehicle as its driver, measured: attached to the vehicle (rigid) facing its nose, scaled (driver_height_m: its standing height in metres, or height_to_length: that height over the vehicle's length), hips pinned on the seat, hands on the steering wheel and feet on the pedals by pose_character's IK, a tail routed clear, then a clip report: every bone's volume against every vehicle part, by name (over 1 cm is a clip; sitting on the seat, hands round the wheel and feet on the pedals are contact). Points come from the vehicle model's forge points (seat_0, grip_L, grip_R, pedal_L, pedal_R) or else its parts by name (Seat*, Steering_Wheel, Pedal*, Floor*): the reply says which. Vehicle space: metres in the vehicle's own axes, +Z its nose, +X its left, +Y up. It splits the steering wheel into its own object (split_wheel) and adds driver { } (alive): the hands follow the steering, the body leans into turns, bounces, looks into the corner, breathes and reacts (game.driverReact). Returns pictures from the side, the front and above.
| Argument | Type | What it does |
|---|---|---|
alive | boolean | Add driver { } so the driver moves with the vehicle in play (default true). |
driver required | string | The character to seat (a rigged object with an animator). |
driver_height_m | number | Scale the driver to this standing height (m). |
fit_wheel | boolean | Move the (split) steering wheel to the driver when it's out of a comfortable reach or in its body (default true). |
grips | object | Where the hands hold the wheel, vehicle space: {left: [x,y,z], right: [x,y,z]}. |
height_to_length | number | Scale the driver so its standing height is this share of the vehicle's length (a kart's racer about 0.75, read off the reference sheet). |
name | string | The seated pose clip's name (default <driver>_Seat). |
pedals | object | Where the feet go, vehicle space: {left: [x,y,z], right: [x,y,z]}. |
seat | list of number | The seat's top where the driver sits, vehicle space [x,y,z]. |
split_wheel | boolean | Make the steering wheel its own object so it turns (default true). |
still | boolean | Return pictures (default true). |
vehicle required | string | The vehicle (its root object; its parts are the objects attached to it). |
wheel | object | The steering wheel, vehicle space: {center: [x,y,z], axis: [x,y,z] (its column toward the driver)}. |
step_blend
The render blend: while playing, each frame is drawn at its own moment between the last two 120 Hz game steps (what moves and the game's camera blended between them), so motion is even at any frame rate; off, a frame shows the last step as it is (even at 30, 40 and 60 fps, uneven at 45 fps or on a 120 Hz screen whose rate wanders). Costs one step (8.3 ms) of display delay. On by default (TTR_STEP_BLEND=0 starts with it off). Turn it off and on to compare.
| Argument | Type | What it does |
|---|---|---|
mode | on / off / status | on (default), off, or status (only report). |
tool_help
One tool in full, by name: what it does, every argument with its type and meaning, an example call, whether it only reads or changes things, and whether it runs long. Use it when your tool list shows a tool's name but not its arguments, when a call was refused, or for a tool that find_tools named. Several names, comma-separated, answer in one call.
| Argument | Type | What it does |
|---|---|---|
name required | string | A tool's name, or several separated by commas. |
tool_log
What was called in this editor since it started, by any agent, newest first: the tool, its arguments in short, whether it worked, how long it took, and for a failure its own words. failed: true shows only what went wrong (start here when something broke and you don't know when); tool: one tool's calls. Read it when you take over from another agent, or to see what you already tried.
| Argument | Type | What it does |
|---|---|---|
failed | boolean | Only the calls that failed. |
limit | integer | Most calls listed (default 30). |
tool | string | Only this tool's calls. |
tool_map
Every tool by area, in everyday words: for when you don't know what a tool is called. With no arguments: the thirty areas (the scene, placing, people, clothes and hair, animation, weapons and combat, lighting, sound, performance...) with what a person goes there to do. area: that area's tools, one line each saying what you would use it for. Then tool_help for a tool's arguments. find_tools answers a goal directly; this is the map to browse when its answer misses.
| Argument | Type | What it does |
|---|---|---|
area | string | An area's id from the index ("lighting_look", "people"), or "all" for every area's tools (long). |
tool_packs
The tool packs (tools made from programs with publish_tool): list them with where each lives and who made it; check: run every pack's own example again and say which still pass (after an engine update, or before relying on one); remove: take one out (its folder is moved aside, not deleted); ship: a pack that proved itself goes INTO THE ENGINE: its example is run again and must pass, then it is written into an engine checkout's Sources/TTRAgentLink/Resources/kits/toolpacks (to: the checkout), ready to commit and hand in: every build and every customer gets it from then on.
| Argument | Type | What it does |
|---|---|---|
action | list / check / remove / ship | Default list. |
name | string | For check: only this pack. For remove: the pack to take out. For ship: the pack to put into the engine. |
replace | boolean | For ship: write over a pack of that name already in the checkout. |
to | string | For ship: an engine checkout (the folder holding Sources/), or its Resources/kits/toolpacks folder. |