Difference between revisions of "TwinE"

Jump to navigation Jump to search
514 bytes added ,  16:58, 15 February 2022
Removed "Since ScummVM" for consistency with other engine wikipages
(added a list of new features)
(Removed "Since ScummVM" for consistency with other engine wikipages)
(3 intermediate revisions by one other user not shown)
Line 5: Line 5:
usedBy=[[Little Big Adventure]]|
usedBy=[[Little Big Adventure]]|
dateAdded=October 24, 2020|
dateAdded=October 24, 2020|
release=
release=2.5.0
}}
}}


Line 16: Line 16:
There are several debug console commands that help you to debug the game faster.
There are several debug console commands that help you to debug the game faster.


* '''toggle_freecamera''': Will allow you to move the camera freely around in the map. By default the keys s, y, x, c are used to move the camera.
* '''toggle_freecamera''': Will allow you to move the camera freely around in the map. By default the keys s, y, x, c are used to move the camera. (Use the key v to place the hero at the center of the camera)
* '''hero_pos''': Set the hero position. You can also use (by default) the key '''v''' that is bound to spawning the actor at the current center of the camera.
* '''hero_pos''': Set the hero position. You can also use (by default) the key '''v''' that is bound to spawning the actor at the current center of the camera.
* '''give_allitems'''
* '''give_allitems'''
Line 24: Line 24:
* '''change_scene <scene_id>'''
* '''change_scene <scene_id>'''
* '''toggle_debug''': Allows you to activate an in-game debug menu with the right mouse button
* '''toggle_debug''': Allows you to activate an in-game debug menu with the right mouse button
*'''toggle_godmode'''


There are a few more commands - just use the '''help''' command to get a complete list of the commands
There are a few more commands - just use the '''help''' command to get a complete list of the commands
Line 31: Line 32:
A list of bugs and feature requests can be found on our bug tracker: https://bugs.scummvm.org/query?component=Engine%3A+TwinE
A list of bugs and feature requests can be found on our bug tracker: https://bugs.scummvm.org/query?component=Engine%3A+TwinE


== Debugging ==
The engine supports the [[Boot Params|boot parameter]] option and allows you to activate [[Debugging ScummVM|debug channels]]. To e.g. debug the scripts in room 49 you can do:
./scummvm --debug-channels-only --debugflags=Scripts -d3 -b 49 lba-de
===Room list===
Find the ids of the room in the <code>enum LBA1SceneId</code> in [https://github.com/scummvm/scummvm/blob/master/engines/twine/shared.h shared.h]
== New Feature ==
== New Feature ==


2,194

edits

Navigation menu