ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Dec 05, 2019 7:50 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Mar 02, 2019 12:22 am 
Offline
Uruivellas

Joined: Mon Sep 21, 2015 8:45 pm
Posts: 827
Location: Middle of Nowhere
I would love an option on the main menu to start a new game using the last selected module, or just one for the Tales module specifically. I don't know about everyone, but I only have the one module, and half the time when I start a new game I click 'New Game' and walk away, knowing it takes a while for my comp to load the character creation screen, but forgetting that there's a screen in between where I have to choose the module (even though I only have and use one).

It would be especially convientent for development when I'm frequently rolling new characters from the main menu.

Obviously it's just a convince thing, but it would be nice


Top
 Profile  
 
PostPosted: Wed Jul 31, 2019 3:56 am 
Offline
Sher'Tul Godslayer

Joined: Thu Jan 23, 2003 8:13 pm
Posts: 1724
Location: A shallow water area south of Bree
Hmm, this happens in the boot module, so you'd need a boot module addon to change it. I've put together something that might help, though I'm not sure it's exactly what you wanted.

_________________
"Blessed are the yeeks, for they shall inherit Arda..."


Top
 Profile  
 
PostPosted: Wed Jul 31, 2019 11:08 am 
Offline
Uruivellas

Joined: Mon Sep 21, 2015 8:45 pm
Posts: 827
Location: Middle of Nowhere
Looks great :)

The suggestion for 'last module' was something I could possibly see other people wanting to have, but for myself the 'New Game (T.o.M.E.)' option sounds like what I was looking for, though I haven't had a chance to try it yet. If the information for the last module isn't stored anywhere, perhaps it would be possible instead to add a game option that lets you select the 'New Game' button behavior? Changing the option would allow you to choose between 'manual' (i.e. the standard behavior where you select the module every time) or a module from a list of all installed modules, causing the button to always choose the specified module and skip selection, until you change the option. Bonus points for having the button indicate if it is in manual mode, or which module is chosen, if not in manual.


Top
 Profile  
 
PostPosted: Fri Aug 02, 2019 3:04 am 
Offline
Sher'Tul Godslayer

Joined: Thu Jan 23, 2003 8:13 pm
Posts: 1724
Location: A shallow water area south of Bree
nsrr wrote:
If the information for the last module isn't stored anywhere, perhaps it would be possible instead to add a game option that lets you select the 'New Game' button behavior? Changing the option would allow you to choose between 'manual' (i.e. the standard behavior where you select the module every time) or a module from a list of all installed modules, causing the button to always choose the specified module and skip selection, until you change the option.

That would depend on how the boot module's options dialog is implemented… [sound F/X: source diving] …wow. Turns out it actually manually scrapes the T.o.M.E module's GameOptions dialog straight out of the game module definition (DarkGod describes it in the code as "OMFG this is such a nasty hack" :twisted: ). That should mean that the "GameOptions:generate" hook is in play… [sound F/X: testing] ha! I'm amazed that actually worked. :mrgreen: I've pushed out a new release with that feature.

nsrr wrote:
Bonus points for having the button indicate if it is in manual mode, or which module is chosen, if not in manual.

Yeah, that comes for free, because I'm reusing the one-module-only part of the shortcut code, which already changes the "New Game" action to "New Game (<module name>)" as appropriate.

_________________
"Blessed are the yeeks, for they shall inherit Arda..."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group