Xonotic Forums

Full Version: A new feature for singleplayer campaign
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Note: By "singleplayer campaign" I mean the current Nexuiz singleplayer mode.

I've coded a small feature for singleplayer: a countdown timer. This would hopefully add a fun little element to singleplayer gameplay. Players will have to play against the clock to complete a certain task e.g. 10 frags within 5 minutes, automatically failing the level once the timer hits 0:00. Not all levels will have a time limit, and the ones that do need one can be specified in the campaign text file.

This feature can be found on the branch ThePWTULN/campaigntimer, by running the following commands (you'll need a git clone):

Code:
./all checkout ThePWTULN/campaigntimer
./all compile

The branch contains a sample campaign file, with one timed level and one untimed level.

Please tell me if something isn't working correctly!
Also, to come back to the main branch,
Code:
./all checkout
Looks cool to me ^-^. I always thought that bot fights could be a little long anyway.
Could use this in a challenge mode or something that is in the campaign selection screen.
Could someone confirm that they can get this to work from the repositories?

Thanks in advance Big Grin
It's working for me.
Ok, great!

Thanks a lot Smile