Changes

Jump to navigation Jump to search

Blade Runner

2,067 bytes added, 10:25, 24 July 2019
→‎Debugger commands: a few updated command descriptions
== Debugger commands ==
To open the debugger console press CTRL+D
=== scene ===
Get or set animation mode of the actor.
anim <actorId> [<animationMode>]
anim <actorId> [<animationMode> <showDamageAnimationWhenMoving>]
If animationMode and showDamageAnimationWhenMoving arguments are specified, the command will change animation for the actor and the showDamageAnimationWhenMoving flag.
 
=== health ===
Get or set health for the actor.
 
health <actorId> [<health> <maxHealth>]
 
Arguments:
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* health - a positive integer from 0 to 100. It cannot be greater than the actor's max health value.
* maxHealth - a positive integer from 0 to 100.
 
If only the actorId argument is specified, this command will print current health and max health values of the actor.
 
If both health and maxHealth arguments are specified, this command will set the current health and max health values for the actor.
=== goal ===
* goal - id of the goal to set, list does not exist but values can be derived from actor scripts available here [https://github.com/scummvm/scummvm/tree/master/engines/bladerunner/script/ai]
If goal argument is not specified, this command will print current goal for the actor .
If goal argument is specified, the command will change goal for the actor - it will trigger scripted functionality.
=== pos ===
=== draw ===
draw (act allobj | obstacles | allreg | ui | eff allway | fog zbuf | lit reset) draw (act | obj | obstacles item | regnorm | regexit | reg waynorm | ui wayflee | walk waycov) [<id>] draw (eff | way fog | zbuf lit | resetwalk)[<id>]
Arguments:
* act allobj - draw bounding boxes of all actors* eff - highlight screen 2d effects * fog - draw fog positions & colors* lit - draw light positions, orientations and color* obj 3d- draw bounding boxes of all objects and items in current set and the scene
* obstacles - draw generated obstacles polygon - area where it is possible to walk
* reg allreg - draw all clickable regions(exits and regular regions)* ui - draw bounding boxes for ui elements(applicable in modes like KIA, ESPER, Spinner GPS, Elevators)* walk - draw walkboxes* way allway - draw all waypointsin scene
* zbuf - display zbuffer instead of color buffer
* act - draw bounding boxes of all actors. If an id is also specified, then draw bounding box for the specific actor
* obj - draw bounding boxes of all objects in current set and scene. If an id is also specified, then draw bounding box for the specific object
* item - draw bounding boxes of all items in current scene. If an id is also specified, then draw bounding box for the specific item
* regnorm - draw all regular regions. If an id is also specified, then only draw the specific region
* regexit - draw all exit regions. If an id is also specified, then only draw the specific region
* waynorm - draw all normal waypoints in scene. If an id is also specified, then only draw the specific waypoint
* wayflee - draw all flee waypoints in scene. If an id is also specified, then only draw the specific waypoint
* waycov - draw all cover waypoints in scene. If an id is also specified, then only draw the specific waypoint
* eff - highlight screen 2d effects. If an id is also specified, then only draw the specific effect
* fog - draw fog positions & colors. If an id is also specified, then only draw the specific fog
* lit - draw light positions, orientations and color. If an id is also specified, then only draw the specific light
* walk - draw walkboxes. If an id is also specified, then only draw the specific walkbox
* reset - reset everything to normal
44

edits

Navigation menu