Xonotic Forums
A new feature for singleplayer campaign - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12)
+--- Thread: A new feature for singleplayer campaign (/showthread.php?tid=948)



A new feature for singleplayer campaign - ThePWTULN - 09-09-2010

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!


RE: A new feature for singleplayer campaign - Mr. Bougo - 09-09-2010

Also, to come back to the main branch,
Code:
./all checkout



RE: A new feature for singleplayer campaign - MANERS - 09-09-2010

Looks cool to me ^-^. I always thought that bot fights could be a little long anyway.


RE: A new feature for singleplayer campaign - Lee_Stricklin - 09-10-2010

Could use this in a challenge mode or something that is in the campaign selection screen.


RE: A new feature for singleplayer campaign - ThePWTULN - 09-19-2010

Could someone confirm that they can get this to work from the repositories?

Thanks in advance Big Grin


RE: A new feature for singleplayer campaign - phim - 09-21-2010

It's working for me.


RE: A new feature for singleplayer campaign - ThePWTULN - 09-21-2010

Ok, great!

Thanks a lot Smile