Announcement

Collapse
No announcement yet.

DESIGN: Graphics/Interface Requests Thread

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Have you finished the political map yet?
    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.

    Comment


    • I can't even find the radar map .ldl file.
      "...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam.​" -The Lord of the Rings, The Fellowship of the Ring

      Comment


      • Originally posted by EPW View Post
        I can't even find the radar map .ldl file.
        You could search the "\ctp2_data\english\uidata\layouts" folder for files containing the word "radarmap". I do this from VC++, then edit ldl's in EditPlus.
        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.

        Comment


        • I found it in controlpanel.ldl; doesn't look pleasant.
          "...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam.​" -The Lord of the Rings, The Fellowship of the Ring

          Comment


          • There is no room for another button.

            I could do something horrible like this though:
            Attached Files
            "...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam.​" -The Lord of the Rings, The Fellowship of the Ring

            Comment


            • Could you make the border button a 3 stage button? off -> border -> political?
              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.

              Comment


              • That would involve programming. Actually, if I keep the minimize button at the top right it doesn't look that bad.
                "...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam.​" -The Lord of the Rings, The Fellowship of the Ring

                Comment


                • Originally posted by EPW View Post
                  That would involve programming. Actually, if I keep the minimize button at the top right it doesn't look that bad.
                  It would look better to keep it at one row IMO. Or you could create a number of other buttons for the minimap to make the rows equal.
                  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.

                  Comment


                  • Originally posted by Maquiladora View Post
                    It would look better to keep it at one row IMO. Or you could create a number of other buttons for the minimap to make the rows equal.
                    This would be much easier if we didn't limit ourselves to 800x600 resolution.

                    Anyways, do you know how to hook up a button with an action? I can't get my button to do anything.
                    "...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam.​" -The Lord of the Rings, The Fellowship of the Ring

                    Comment


                    • Originally posted by EPW View Post
                      This would be much easier if we didn't limit ourselves to 800x600 resolution.

                      Anyways, do you know how to hook up a button with an action? I can't get my button to do anything.
                      You need a callback function. Just look how the other buttons work.
                      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.

                      Comment


                      • I can't find the code for the button.
                        "...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam.​" -The Lord of the Rings, The Fellowship of the Ring

                        Comment


                        • One way to find it is run the logging exe (maybe also debug) and press a button, the log will show what you just pressed like, "citywindow.closebutton", then search for that in the code.
                          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.

                          Comment


                          • That worked.
                            "...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam.​" -The Lord of the Rings, The Fellowship of the Ring

                            Comment


                            • Button works now...

                              We just need to decide on where to place it.
                              "...awkwardly and shyly. He stroked it gently and then he blushed and turned hastily away. ‘Hullo, Sam!’ said Frodo. ‘It’s warm!’ said Sam.​" -The Lord of the Rings, The Fellowship of the Ring

                              Comment


                              • Maybe just keep the buttons the same size and put it on a new row below then.
                                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.

                                Comment

                                Working...
                                X