Complete Level command, for terminal testing

Discuss map ideas, techniques, and give help.

Complete Level command, for terminal testing

Post Jul 8th '15, 22:10

Many folks here are familiar with Lua, and probably know you can check whether a solo level's objectives are completed by using "=Level.calculate_completion_state()" in the Lua console. There's no command to change the completion state, since the engine just checks all the underlying conditions. If you're proofreading terminals in a solo campaign, you might need to play through an entire level every time you want to check a "finished" message.

I wound up writing Lua to satisfy the conditions, and set a level to "finished" without playing it all manually. If this sounds like something you need, check it out.

Complete Level command on Simplici7y
User avatar

Hopper

Post Jul 8th '15, 23:16

This sounds really useful for the speedrun leaderboards, thanks.
User avatar

Wrkncacnter

Post Jul 9th '15, 17:30

Wrkncacnter wrote:Players[0]:teleport_to_level() sounds really useful for the speedrun leaderboards, thanks.
User avatar

Hopper

Post Jul 9th '15, 18:00

While still useful, it's not as useful because it'll be too obvious that the person cheated.
User avatar

Wrkncacnter


Return to Mapping



Who is online

Users browsing this forum: No registered users

cron