Open main menu

Difference between revisions of "Blade Runner"

2,067 bytes added ,  10:25, 24 July 2019
→‎Debugger commands: a few updated command descriptions
(→‎Debugger commands: a few updated command descriptions)
Line 195: Line 195:
== Debugger commands ==
== Debugger commands ==


To open debugger press CTRL+D
To open the debugger console press CTRL+D


=== scene ===
=== scene ===
Line 273: Line 273:
Get or set animation mode of the actor.
Get or set animation mode of the actor.


anim <actorId> [<animationMode>]
  anim <actorId> [<animationMode> <showDamageAnimationWhenMoving>]
  anim <actorId> [<animationMode> <showDamageAnimationWhenMoving>]


Line 285: Line 286:


If animationMode and showDamageAnimationWhenMoving arguments are specified, the command will change animation for the actor and the showDamageAnimationWhenMoving flag.
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 ===
Line 296: Line 311:
* 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]
* 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, command will print current goal for the actor  
If goal argument is not specified, this command will print current goal for the actor.


If goal argument is specified, command will change goal for the actor - it will trigger scripted functionality
If goal argument is specified, the command will change goal for the actor - it will trigger scripted functionality.


=== pos ===
=== pos ===
Line 383: Line 398:
=== draw ===
=== draw ===


  draw (act | eff | fog | lit | obj | obstacles | reg | ui | walk | way | zbuf | reset)
  draw (allobj | obstacles | allreg | ui | allway | zbuf | reset)
draw (act | obj | item | regnorm | regexit | waynorm | wayflee | waycov) [<id>]
draw (eff | fog | lit | walk) [<id>]


Arguments:
Arguments:
* act - draw bounding boxes of all actors
* allobj - draw bounding boxes of all actors, 3d-objects and items in the scene
* eff - highlight screen 2d effects
* fog - draw fog positions & colors
* lit - draw light positions, orientations and color
* obj - draw bounding boxes of all objects in current set and scene
* obstacles - draw generated obstacles polygon - area where it is possible to walk
* obstacles - draw generated obstacles polygon - area where it is possible to walk
* reg - draw clickable regions
* allreg - draw all clickable regions (exits and regular regions)
* ui - draw bounding boxes for ui elements
* ui - draw bounding boxes for ui elements (applicable in modes like KIA, ESPER, Spinner GPS, Elevators)
* walk - draw walkboxes
* allway - draw all waypoints in scene
* way - draw waypoints
* zbuf - display zbuffer instead of color buffer
* 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
* reset - reset everything to normal


1,316

edits