Live Chat

[New feature] ingame campaign selection

The place to discuss all things Lugaru.

[New feature] ingame campaign selection

Postby MCMic » Thu May 12, 2011 2:50 pm

Hi!

Maybe you remember me, last time I added a damage bar to lugaru ( http://blog.wolfire.com/2010/06/Hacking-Lugaru ).
This time, and with the help of sf17k from the wolfire irc channel, I added to Lugaru an Ingame campaign selection feature. (some screenshots here : http://mcmic.haxx.es/index.php?page=my-work-on-lugaru )

So you can now switch from the campaigns you have in your data folder right from the level selection menu!

Players:
-On the campaign menu, click on "campaign : main" to switch between campaigns
-The game store your progress in each campaign
-On start up, the game remembers what campaign you were playing last time and load it
-Saves are no more in the same format, so you'll lose previous saved progress and accounts. Do copies of your saves files.

Modders:
-A campaing consist in the txt file formerly called "main.txt" in Data/Campaigns. Now it needs to be named "nameofthecampaign.txt" (so the official one is named main)
-Your maps needs to be in the maps folder.
-Your textures needs to be in the texture folder. You can't replace official textures.
-You can provide a World.png image for your campaign. The file have to be Data/Textures/nameofthecampaign/World.png

You can find the source code with the campaign selection here : http://code.google.com/p/lugaru-experimental/
For now there is already the main campaign and the temple one.
Maybe I'll put more campaigns later, but I'm not sure, the repo is for code, campaigns can be heavy files.
MCMic
 
Posts: 15
Joined: Wed May 12, 2010 2:48 am

Re: [New feature] ingame campaign selection

Postby Lotus Wolf » Tue May 17, 2011 6:52 pm

Amazing! You have attained eternal forum 'spect.
User avatar
Lotus Wolf
 
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm


Return to Lugaru

Who is online

Users browsing this forum: No registered users and 4 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group