Page 1 of 1

Question for programming/HTML geniuses

Posted: Sun Nov 11, 2012 4:47 pm
by bebro
Does anybody know if it is possible to change the HTML UI files so that the "more campaigns" selection comes up right when clicking "new game" from the main title screen?

In a standard game this would bring you to the campaign selection, where you either select to play PzC cams or custom stuff via the "more..." button.

But GME mods hardly need the extra selection, since they mostly have only one campaign which is usually not compatible to others. So being able to select that custom campaign right from the main title would be nice....

I modified the campaign selection (UI/gamesetup.html) myself for my cam so that original campaigns are not shown. However, if it would be possible to select a custom campaign from the main screen this could just be skipped. I tried to edit the UI/startscreen html file but haven't figured out the right way yet.

Of course it's just a minor issue which would save a bit time...but maybe someone knows how to make it happen without too much trouble? Well, if not it's no biggie either, it's just one of those nice-to-have thingies...

Re: Question for programming/HTML geniuses

Posted: Mon Nov 12, 2012 7:45 pm
by Chris10
Bernd...since this is not supposed to work as you describe it (its an exe thingi tied to the html layout) things will always lead to the second selection screen from where you have to click...
no way to circumvent this...BUT...you can trick it ! :wink:
Just disable all other elements and make a custom UI (main.html) which only allows for one selection which then is
the default selection and activated once the campaign screen comes up...
Thats what Iam doin for PanzerCorps East...no other button available
I add you the 2 screens for PzC East but had to blacken them cause of spoiler :lol:
1: MAIN SCREEN
MULTIPLAYER button gone...ONLY LOAD,LIBRARY AND EXIT GAME available...NEW GAME leads to campaign screen
Image

2 CAMPAIGN SCREEN: ALL CAMPAIGN (PZC or AK) BUTTONS gone, MORE CAMPAIGNS button gone,
on final I will remove CAMPAIGN and SCENARIO button on the top (still need them for accessing testing settings)
...on release the only choice is to hit PLAY...

Image

Re: Question for programming/HTML geniuses

Posted: Tue Nov 13, 2012 2:46 pm
by bebro
Thanks for the help :)

After fiddling around a bit I was able to build something similar. It does not show the original campaigns, tutorial etc., just has a button to open the campaign selection and some custom gfx for flavour :)