Open main menu

Difference between revisions of "Blade Runner"

63 bytes added ,  16:02, 30 November 2018
no edit summary
Line 20: Line 20:


Usage:
Usage:
scene [<setId> <sceneId>]
scene [<setId> <sceneId>]


Arguments:
Arguments:
setId - set id from this page
setId - set id from this page
sceneID - scene id from this page  
sceneID - scene id from this page  


If both arguments are specified, command will change current set and scene. Warning: if current chapter does not contain specified set and scene, game will crash - use 'chapter' command.
If both arguments are specified, command will change current set and scene. Warning: if current chapter does not contain specified set and scene, game will crash - use 'chapter' command.
If no argument are specified, command will print current set and scene.
If no argument are specified, command will print current set and scene.


Line 32: Line 38:


Usage:
Usage:
chapter <chapter>
chapter <chapter>


Arguments:
Arguments:
chapter - between 1 and 5 (including)  
chapter - between 1 and 5 (including)  


This command will change current chapter but will not change set and scene. Videos, sets and scenes are chapter specific and this command must be used to load relevant resources before using 'scene' command.
This command will change current chapter but will not change set and scene. Videos, sets and scenes are chapter specific and this command must be used to load relevant resources before using 'scene' command.
Line 42: Line 52:


Usage:
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.
If loopId is specified, command will play specified video loop for currently loaded scene.
If loopId is specified, command will play specified video loop for currently loaded scene.


Line 53: Line 68:


Usage:  
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
If value argument is specified, command will set value of specified variable
If value argument is specified, command will set value of specified variable


Line 65: Line 86:


Usage:  
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
If value argument is specified, command will set value of specified flag
If value argument is specified, command will set value of specified flag


Line 77: Line 104:


Usage:
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  
If animationMode argument is specified, command will change animation for the actor - it will trigger scripted functionality
If animationMode argument is specified, command will change animation for the actor - it will trigger scripted functionality


Line 89: Line 121:


Usage:
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  
If goal argument is specified, command will change goal for the actor - it will trigger scripted functionality
If goal argument is specified, command will change goal for the actor - it will trigger scripted functionality


Line 101: Line 139:


Usage:
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
setId - id of the set to set (oh boy), list is available on this page
x, y, z - i will not explain these  
x, y, z - i will not explain these  
facing - angle of actor - number between 0 and 1023
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]
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  
If argument otherActorId is specified, command will change position of the actor to the other actor, warning: do not move player (0) to another actor as he will disappear  
If argument otherActorId is specified, command will change position of the actor to the other actor, warning: do not move player (0) to another actor as he will disappear  
If set, x, y, z and facing argument are specified, command will move actor to specified location, warning: do not move player (0) to another set as he will disappear  
If set, x, y, z and facing argument are specified, command will move actor to specified location, warning: do not move player (0) to another set as he will disappear  


Line 117: Line 165:


Usage:
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  
If goal argument is specified, command will change goal for the actor - it will trigger scripted functionality
If goal argument is specified, command will change goal for the actor - it will trigger scripted functionality


Line 129: Line 184:


Usage:
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 139: Line 198:


Usage:
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
47

edits