Advanced Options

Level height (-lh <int>)
Use this option to change height of the level.
For this moment height of the level is in range [15..20].
Example:
java ch.idsia.scenarios.Main -lh 18 will set the height to 18.
Default: 15

Dead ends (-lde <on|off>)
Use this option to have a control over dead ends on a level.
Example:
java ch.idsia.scenarios.Main -lde on will show the level with dead ends.
Default: off

Cannons (-lc <on|off>)
Use this option to enable/disable cannons on the level.
For example:
java ch.idsia.scenarios.Main -lc off will show the level without cannons.
Default: on

Hills (-lhs <on|off>)
Use this option to enable/disable hills on the level.
For example:
java ch.idsia.scenarios.Main -lhs off will create level without hills.
Default: on

Tubes (-ltb <on|off>)
Use this option to enable/disable tubes on the level.
For example:
java ch.idsia.scenarios.Main -ltb off will create level without tubes.
Default: on

Gaps (-lg <on|off>)
Use this option to enable/disable gaps on the level.
For example:
java ch.idsia.scenarios.Main -lg off will create level without gaps.
Default: on

Hidden blocks (-lhb <on|off>)
Use this option to enable/disable hidden blocks. If level is build with dead ends and without hidden blocks, thn you will gou out from dead end over visible blocks, e.g. hidden blocks are replaced with visible blocks.
For example:
java ch.idsia.scenarios.Main -lhb off will create level without hidden blocks.
Default: off

Enemies (-le <on|off>)
Use this option to enable/disable enemies on the level.
For example:
java ch.idsia.scenarios.Main -le off will create level without enemies.
Default: on

Blocks (-lb <on|off>)
Use this option to enable/disable blocks on the level.
For example:
java ch.idsia.scenarios.Main -ld off will create level without blocks.
Default: on

Coins (-lco <on|off>)
Use this option to enable/disable coins on the level.
For example:
java ch.idsia.scenarios.Main -lco off will create level without coins.
Default: on

More usage examples
To get a flat level you need to disable all elements of the level:
  • java ch.idsia.scenarios.Main -lco off -lb off -le off -lhb off -lg off -ltb off -lhs off -lc off -lde off
To get a level without dead ends and enemies and other options enabled:
  • java ch.idsia.scenarios.Main -lde off -le off
To get a level with dead ends and without hidden blocks and other options enabled:
  • java ch.idsia.scenarios.Main -lhb off
To get a flat level with dead ends and just only visible blocks:
  • java ch.idsia.scenarios.Main -lco off -le off -lhb off -lg off -ltb off -lhs off -lc off
Comments