Page 1 of 2 1 2 LastLast
Results 1 to 30 of 36

Thread: [DESIGN] Spare button on start screen

  1. #1
    child of Thor
    Emperor child of Thor's Avatar
    Join Date
    30 Jan 2002
    Location
    UK
    Posts
    3,272
    Country
    This is child of Thor's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    21:57

    [DESIGN] Spare button on start screen

    We have this wonderfull start screen and a space on the right for another game function button - any ideas or suggestions. It looks a bit unbalanced otherwise or not - you decide
    Attached Images Attached Images
    'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

    Bush's Republican=Neo-con for all intent and purpose. be afraid.

  2. #2
    Solver
    Deity Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,354
    Country
    This is Solver's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    00:57
    A button that takes the user to this forum .

    Maybe a Load Scenario, or Scenario Editor button?
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  3. #3
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:57
    Quick Launch was already suggested, I like that one.
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  4. #4
    Peter Triggs
    King
    Join Date
    25 Jan 2000
    Location
    Gone Fishin, Canada
    Posts
    1,059
    Country
    This is Peter Triggs's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    21:57
    I think we need to ask Fromafar how viable it's going to be to put all those buttons on one screen. When you push one of those buttons there's a whole bunch of stuff that happens in initializing/loading databases and other things. It's not at all easy to keep track of what's going on and implementing this might require a major amount of work.

  5. #5
    OnePresent
    Warlord OnePresent's Avatar
    Join Date
    26 Jan 2001
    Location
    NC USA
    Posts
    100
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    17:57
    As much work work, and as many creative game ideas you guys have don't feel constrained with the existing screens. If more button space is needed, no prob. If more screens are needed, no prob. Let the game dictate the graphics.

  6. #6
    child of Thor
    Emperor child of Thor's Avatar
    Join Date
    30 Jan 2002
    Location
    UK
    Posts
    3,272
    Country
    This is child of Thor's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    21:57
    ah 'Tutorial' cheers Locutus - i think thats the best yet
    'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

    Bush's Republican=Neo-con for all intent and purpose. be afraid.

  7. #7
    Maquiladora
    Emperor
    Join Date
    17 Jun 2001
    Posts
    7,714
    Country
    This is Maquiladora's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    I think we need to ask Fromafar how viable it's going to be to put all those buttons on one screen. When you push one of those buttons there's a whole bunch of stuff that happens in initializing/loading databases and other things. It's not at all easy to keep track of what's going on and implementing this might require a major amount of work.
    Thats why i said just add a nice new image on the SP/Options screen, its easier
    Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
    CtP2 AE Wiki & Modding Reference
    One way to compile the CtP2 Source Code.

  8. #8
    child of Thor
    Emperor child of Thor's Avatar
    Join Date
    30 Jan 2002
    Location
    UK
    Posts
    3,272
    Country
    This is child of Thor's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    21:57
    being completely unsure about the technical stuff relating to this, wouldn't it just be a matter of taking the present button links and just activating their commands from this one screen? (god - i can tell i've only played with pc's since windows ).

    What i mean is rather than having to mess around with the current database structure, would it be possible to not just move the triggers/links to them?
    'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

    Bush's Republican=Neo-con for all intent and purpose. be afraid.

  9. #9
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:57
    Originally posted by child of Thor
    ah 'Tutorial' cheers Locutus - i think thats the best yet
    Just reused an existing button. There's actually code for a whole bunch of other buttons in the LDL files: Quick Launch, Tutorial, Scenarios and one or two others; they're just placed outside the visible window. I'm not sure if there's also corresponding code in the actual source code though.

    Originally posted by child of Thor
    being completely unsure about the technical stuff relating to this, wouldn't it just be a matter of taking the present button links and just activating their commands from this one screen? (god - i can tell i've only played with pc's since windows ).

    What i mean is rather than having to mess around with the current database structure, would it be possible to not just move the triggers/links to them?
    I hope and trust that that is indeed the case, but I haven't really looked into the corresponding source code yet.
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  10. #10
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    Originally posted by Peter Triggs
    I think we need to ask Fromafar how viable it's going to be to put all those buttons on one screen. When you push one of those buttons there's a whole bunch of stuff that happens in initializing/loading databases and other things. It's not at all easy to keep track of what's going on and implementing this might require a major amount of work.
    I don't think that's necessarily true. The Single Player button, which we are proposing to remove, only does this:

    Code:
    	if ( action != (uint32)AUI_BUTTON_ACTION_EXECUTE ) return;
    
    	if(initialplayscreen_removeMyWindow(action))
    		spscreen_displayMyWindow();
    So we don't need to worry about any database initialization that will be lost...

    I'm looking into what happens with the other buttons, but you're right in that it's a little tough to follow...

  11. #11
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    It all looks reasonable, and there is already code bound to all the other buttons which don't normally appear.

    I think I can set up the code to work with just one screen, and for the moment I think I'll put in a quick start button in the gap (and hope that the code for it works properly).

  12. #12
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:57
    I was just looking into this as well but concluded I probably couldn't do anything until I get my version of the code up-to-date, so it would be great if you could try this. Note that I tried the Quick Start option but it just crashed. Of course, I may have made a mistake copying it, or there may be something in the source code itself that only makes in work in the 2nd screen, but I suspect it just doesn't work. The tutorial button seemed to work okay but was disabled for some reason (i.e. it was visible but 'greyed out'). Didn't try the other buttons.
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  13. #13
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    I've just backed up my source tree and am going to try fiddling with it now. More news to follow...

  14. #14
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    I think the quick start button may not work because it is a c3_button, rather than a ctp2_button, which might be deprecated...

  15. #15
    Immortal Wombat
    Prince Immortal Wombat's Avatar
    Join Date
    30 Dec 2000
    Location
    in perpetuity
    Posts
    4,965
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    21:57
    I couldn't make it work when I tried tinkering with the UI earlier.
    Concrete, Abstract, or Squoingy?
    "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

  16. #16
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    I've got it mostly working (with the tutorial button filling the third spot, which seems to work perfectly) - just a couple more things to tweak .

  17. #17
    Solver
    Deity Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,354
    Country
    This is Solver's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    00:57
    You work fast John .
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  18. #18
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    Not as fast as I thought it would be - the changes have more far-reaching implications than I anticipated, on the options menu and other such things...

  19. #19
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:57
    Couldn't you just completely clean out spScreen and simply just have it call initialplayscreen?
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  20. #20
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    I'm mostly copying code out of sp* into initialplay*. I'm not brave enough to totally clean out the sp* files (although it would probably be a good idea, because it would help to catch other necessary changes...).

  21. #21
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    Locutus - could you post the string changes you made to the translation centre thread for translation. Thanks.

  22. #22
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    OK, all done. There is one change I made which I'm slightly worried about because I had to remove code when I don't know what the code did... However, it doesn't seem to cause any problems in my brief test.

    I'll upload the changed files to the altered source files thread and then I think I'll upload a new Playtest exe.

    Loc: If your changes to the strings were simply uncapitalization I guess I can manage the translated versions myself. Was there anything else?

    I think that I could make a quick start button very easily based on the code for the tutorial button, so perhaps we should have a poll about which would be preferred... I guess we should wait a little longer for other suggestions first though.

  23. #23
    Solver
    Deity Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,354
    Country
    This is Solver's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    00:57
    I'll upload the changed files to the altered source files thread and then I think I'll upload a new Playtest exe.


    A stnadard playtest exe, or one with your button changes?
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  24. #24
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    22:57
    Originally posted by Solver
    A stnadard playtest exe, or one with your button changes?
    With my changes. Obviously they need to be playtested .

  25. #25
    Locutus
    Deity Locutus's Avatar
    Join Date
    23 Nov 1999
    Location
    De Hel van Enschede
    Posts
    11,706
    Country
    This is Locutus's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:57
    John, all but the MP button are indeed just capitalization errors. I didn't want to post them in the Translation Centre until it was certain that this was gonna work, which I guess it is now The only real change (not counting changes to lower case) is the translation of 'Multiplayer' to 'Network Game', but that's a very minor issue.

    Aside from the changes to ldl_str.txt, you'll obviously need the new image and the ldl file itself, but I'm guessing you already have that one. Don't think there's else. Looking forward to seeing testing the result (not tonight though )
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

  26. #26
    The Big Mc
    King The Big Mc's Avatar
    Join Date
    15 Oct 2001
    Location
    Of the universe / England
    Posts
    2,061
    Country
    This is The Big Mc's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    21:57
    I want a quick start or load mod button,

    Or a load skin button for skins when people make more:d
    "Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
    The BIG MC making ctp2 a much unsafer place.
    Visit the big mc’s website

  27. #27
    Uchuu-kun[SM42]
    Chieftain Uchuu-kun[SM42]'s Avatar
    Join Date
    30 May 2002
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    15:57
    "Eat CTP2".

    No, not really.

    Heh. Having an invisible button in the middle of the logo that popped up random messages would be interesting. But that's not something that adds to the game, is it?

  28. #28
    Solver
    Deity Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,354
    Country
    This is Solver's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    00:57
    Yeah, but an easter egg or two is a must have in any game!
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

  29. #29
    Uchuu-kun[SM42]
    Chieftain Uchuu-kun[SM42]'s Avatar
    Join Date
    30 May 2002
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    15:57
    That's what I was trying to slyly imply.

  30. #30
    Solver
    Deity Solver's Avatar
    Join Date
    24 Sep 2000
    Location
    Latvia, Riga
    Posts
    18,354
    Country
    This is Solver's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    00:57
    Well, I'm pretty positive that someone will come up with some very humorous ideas for hidden messages/easter eggs .
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

Page 1 of 2 1 2 LastLast

Similar Threads

  1. PC hangs up at start screen
    By John_X_ in forum Civilization IV General
    Replies: 1
    Last Post: October 29, 2005, 10:28
  2. DESIGN: City Manager Screen
    By OnePresent in forum CtP2 Source Code Project
    Replies: 20
    Last Post: May 9, 2004, 15:40
  3. conscription button doesn't refresh in City Screen
    By André Alfenaar in forum Civ3-General-Archive
    Replies: 0
    Last Post: March 22, 2002, 09:58
  4. REQ:Embassy/Espionage button on Diplomatic Advisor screen
    By dsteckel in forum Civilization III
    Replies: 0
    Last Post: November 4, 2001, 22:44
  5. replay screen: no "record" button?
    By MarkG in forum Civ3-General-Archive
    Replies: 19
    Last Post: September 23, 2001, 10:48

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Bookmarks

Posting Permissions