Open main menu

Difference between revisions of "Blade Runner"

89 bytes removed ,  21:32, 13 March 2019
no edit summary
Line 19: Line 19:
=== scene ===
=== scene ===


Usage:
scene [(<chapterId> <setId> <sceneId>) | (<chapterId> <sceneName>) | <sceneName>]
 
scene [(<chapterId> <setId> <sceneId>) | (<chapterId> <sceneName>) | <sceneName>]
 


Arguments:
Arguments:
 
* setId - set id from this page
 
* sceneId - scene id from this page  
setId - set id from this page
* chapterId - chapter
 
* sceneName - name of the scene to laod
sceneId - scene id from this page  
 
chapterId - chapter
 
sceneName - name of the scene to laod
 


If both arguments are specified, command will change current chapter, set and scene.
If both arguments are specified, command will change current chapter, set and scene.
Line 42: Line 33:
=== loop ===
=== loop ===


Usage:
  loop [<loopId>]
 
loop [<loopId>]
 


Arguments:
Arguments:
 
* loopId - which loop to play, must be a integer and valid for current scene
loopId - which loop to play, must be a integer and valid for current scene
 


If loopId is not specified, command will list all video loops for currently loaded scene.
If loopId is not specified, command will list all video loops for currently loaded scene.
Line 58: Line 44:
=== var ===
=== var ===


Usage:
var <id> [<value>]
 
var <id> [<value>]
 


Arguments:
Arguments:
 
* id - which variable to get or set, partial list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
id - which variable to get or set, partial list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* value - value to set
 
value - value to set
 


If value argument is not specified, command will print value of specified variable
If value argument is not specified, command will print value of specified variable
Line 76: Line 56:
=== flag ===  
=== flag ===  


Usage:
flag <id> [<value>]
 
flag <id> [<value>]
 


Arguments:
Arguments:
 
* id - which flag to get or set, partial list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
id - which flag to get or set, partial list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* value - value to set, must be 0 or 1
 
value - value to set, must be 0 or 1
 


If value argument is not specified, command will print value of specified flag
If value argument is not specified, command will print value of specified flag
Line 94: Line 68:
=== clue ===  
=== clue ===  


Usage:
clue <actorId> <clueId> [<value>]
 
clue <actorId> <clueId> [<value>]
 


Arguments:
Arguments:
 
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* clueId - list of clues is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
 
* value - 0 to remove the clue, 1 to add the clue
clueId - list of clues is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
 
value - 0 to remove the clue, 1 to add the clue
 


If value argument is not specified, command will check if actor has requested clue
If value argument is not specified, command will check if actor has requested clue
Line 114: Line 81:
=== anim ===  
=== anim ===  


Usage:
anim <actorId> [<animationMode>]
 
anim <actorId> [<animationMode>]


Arguments:
Arguments:
 
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* animationMode - which animation to play, 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]
 
animationMode - which animation to play, 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 animationMode argument is not specified, command will print current animation for the actor  
If animationMode argument is not specified, command will print current animation for the actor  
Line 131: Line 93:
=== goal ===
=== goal ===


Usage:
goal <actorId> [<goal>]
 
goal <actorId> [<goal>]
 


Arguments:
Arguments:
 
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* 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, command will print current goal for the actor  
Line 149: Line 105:
=== pos ===
=== pos ===


Usage:
pos <actorId> [(<setId> <x> <y> <z> <facing>)|<otherActorId>]
 
pos <actorId> [(<setId> <x> <y> <z> <facing>)|<otherActorId>]
 


Arguments:
Arguments:
 
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* setId - id of the set to set (oh boy), list is available on this page
 
* x, y, z - pretty self-explanatory
setId - id of the set to set (oh boy), list is available on this page
* facing - angle of actor - number between 0 and 1023
 
* otherActorId - to quickly move actor to another one, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
x, y, z - i will not explain these
 
facing - angle of actor - number between 0 and 1023
 
otherActorId - to quickly move actor to another one, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
 


If only actorId argument is specified, command will print current position of the actor  
If only actorId argument is specified, command will print current position of the actor  
Line 175: Line 122:
=== say ===
=== say ===


Usage:
say <actorId> [<sentenceId>]
 
say <actorId> [<sentenceId>]
 


Arguments:
Arguments:
 
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* sentenceId - id of the sentence to say, list does not exist but values can be derived from all the scene and actors scripts available here [https://github.com/scummvm/scummvm/tree/master/engines/bladerunner/script]
 
sentenceId - id of the sentence to say, list does not exist but values can be derived from all the scene and actors scripts available here [https://github.com/scummvm/scummvm/tree/master/engines/bladerunner/script]
 
 


If goal argument is not specified, command will print current goal for the actor  
If goal argument is not specified, command will print current goal for the actor  
Line 194: Line 134:
=== timer ===
=== timer ===


Usage:
timer <actorId> [<timer> <value>]
 
timer <actorId> [<timer> <value>]
 


Arguments:
Arguments:
 
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* timer - id of timer, 0, 1, 2 - script timers, 3 - walk delay timer ,4 - clue exachange timer, 5 - animation update timer
 
* value - time left in miliseconds, 0 will disable the timer
timer - id of timer, 0, 1, 2 - script timers, 3 - walk delay timer ,4 - clue exachange timer, 5 - animation update timer
 
value - time left in miliseconds, 0 will disable the timer
 
 


If timer & value arguments are not specified, command will print values all timers for selected actor
If timer & value arguments are not specified, command will print values all timers for selected actor
Line 215: Line 147:
=== friend ===
=== friend ===


Usage:
friend <actorId> <otherActorId> [<value>]
 
friend <actorId> <otherActorId> [<value>]
 


Arguments:
Arguments:
 
* actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
actorId - id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
* otherActorId- id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
 
* value - new friendliness, between 0 - 100 where 0 is least friendly and 100 is most friendly
otherActorId- id of actor, 0 - player, list is available here [https://github.com/scummvm/scummvm/blob/master/engines/bladerunner/game_constants.h]
 
value - new friendliness, between 0 - 100 where 0 is least friendly and 100 is most friendly
 
 


If goal argument is not specified, command will current friendliness of actorId towards otherActorId
If goal argument is not specified, command will current friendliness of actorId towards otherActorId


If goal argument is specified, command will set friendliness of actorId towards otherActorId
If goal argument is specified, command will set friendliness of actorId towards otherActorId


=== save ===
=== save ===


Usage:
save <file path>
 
save <file path>
 


Argument:
Argument:
 
* file path - location of new save game in the file system, warning: existing file will be overwritten
file path - location of new save game in the file system, warning: existing file will be overwritten
 


Command will save the game to the format loadable by the original game
Command will save the game to the format loadable by the original game
Line 251: Line 169:
=== load ===
=== load ===


Usage:
load <file path>
 
load <file path>
 


Argument:
Argument:
 
* file path - location of existing save game in the file system
file path - location of existing save game in the file system
 


Command will load the game from saves from the original game
Command will load the game from saves from the original game
Line 265: Line 178:
=== draw ===
=== draw ===


Usage:
draw (act | eff | fog | lit | obj | obstacles | reg | ui | walk | way | zbuf | reset)
 
draw (act | eff | fog | lit | obj | obstacles | reg | ui | walk | way | zbuf | reset)


Arguments:
Arguments:
 
* act - draw bounding boxes of all actors
act - draw bounding boxes of all actors
* eff - highlight screen 2d effects  
 
* fog - draw fog positions & colors
eff - highlight screen 2d effects  
* lit - draw light positions, orientations and color
 
* obj - draw bounding boxes of all objects in current set and scene
fog - draw fog positions & colors
* obstacles - draw generated obstacles polygon - area where it is possible to walk
 
* reg - draw clickable regions
lit - draw light positions, orientations and color
* ui - draw bounding boxes for ui elements
 
* walk - draw walkboxes
obj - draw bounding boxes of all objects in current set and scene
* way - draw waypoints
 
* zbuf - display zbuffer instead of color buffer
obstacles - draw generated obstacles polygon - area where it is possible to walk
* reset - reset everything to normal
 
reg - draw clickable regions
 
ui - draw bounding boxes for ui elements
 
walk - draw walkboxes
 
way - draw waypoints
 
zbuf - display zbuffer instead of color buffer
 
reset - reset everything to normal


== Game rooms ==
== Game rooms ==
47

edits