Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Silly little question about changing the base monetary gifts
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
johnc214 is offline johnc214
Chieftain
Dallas, TX
Dec 2001
time: 23:17
Question  Old Post 06-01-2002 10:53 Visit johnc214's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Silly little question about changing the base monetary gifts Support Apolyton

Ok this is a little silly, but I'd like to figure out something. I HATE having to hold the arrow buttons on the gold gift box (when donating/bribing foreign civilizations) for a minute or so to scroll from 100 gold pieces to say 30,000 gp. Is there a way to change the base from 100 gp to something else? Maybe I might have to decrease it sometimes, but at least I'd like a higher starting point! Any ideas? (Told you this way picky!)

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:17
Post  Old Post 06-01-2002 18:49 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton

Open the diplomacywindow.ldl in your C:\Activision\CTP2\ctp2_data\english\uidata\layout
s folder. There you will find these lines. minxval is the minimum value that can be selected in this gold box. maxxval should be now clear. And incxval is the amout of gold that will be added by each click. Of course you could play around with these other values in this code, but I think they won't help you.

PHP:

Spinner
:CTP2_SPINNER {
        
int    minxval    100
        int    maxxval    1000000
        int    incxval    100
        int    pagexval    500
        int    xval    100
        int    widthpix    97
        int    xpix    47
        int    ypix    40
        display
:CTP2_STANDARD_FONT {
        }



-Martin

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:17
  Old Post 06-01-2002 20:14
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Martin,

Have you tried playing around much with the UI stuff? Do you know if it's possible to add new buttons for example, or even new pages?

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:17
Post  Old Post 06-01-2002 23:08 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Got spare money?

For the UI components there is also a file that imports all the *.ldl files called:

C:\civ3_project\civ3_data\english\uidata\layouts\c
iv3.ldl

I mention this, because it is important to know which *.ldl file is actual used.

At least the thing above must be the path on Activion's computer, for the CTP1 version. So we see here another reason why I don't play Sid Meyers Civ3. Activion already made it and they made also a sequel to it so we actually modding Civ4, so no need to downgrate.


But back to topic: So what you can do with these UI componets is to replace graphics, rezize them (that was done to the CTP1 trade screen. And maybe adding graphics if you only do it with strings. You can modify the min and max values with those spinners like I did it with the city size spinner in the cheat editor.

But had never any luck to add new buttons or new pages for example I tried to add on the select numbers of opponents screen to add new buttons so that you can start a game with more than eigth without modifying the userprofile.txt by hand.

So I added to this code some entries:

PHP:

Group
{

        
PlayerOne:POPUP_CHECKBOX {

            
string    text    "str_ldl_3"
            
int    ypix    45

        
}

        
PlayerTwo:POPUP_CHECKBOX {

            
string    text    "str_ldl_4"
            
int    ypix    75

        
}

        
PlayerThree:POPUP_CHECKBOX {

            
string    text    "str_ldl_5"
            
int    ypix    105

        
}

        
PlayerFour:POPUP_CHECKBOX {

            
string    text    "str_ldl_6"
            
int    ypix    135

        
}

        
PlayerFive:POPUP_CHECKBOX {

            
string    text    "str_ldl_7"
            
int    ypix    165

        
}

        
PlayerSix:POPUP_CHECKBOX {

            
string    text    "str_ldl_8"
            
int    ypix    195

        
}

    }

}



like PlayerSeven:POPUP_CHECKBOX

But there was no effect the game just ignores it. You could do a string search in the ctp2.exe: And you will find all the UI components that works like: ScenarioButton. So I guess adding buttons (if they are not in a list box) and adding new pages would require to rewrite the ctp2.exe. So what you have is difined in the ctp2.exe to do the fine work you have the *.ldl files that does make sense as you can write the *.exe first and finish the graphics later.

-Martin

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:17
  Old Post 10-01-2002 04:07 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Enter the AD-FREE zone

I can confirm Martin's findings. I've fiddled with the ldl files quite a lot both for CtP1 and CtP2. I've come to the conclusion that only small changes can be made, like the ones that Martin just mentioned. MartinTheDane's UI mod for CtP1 was an excellent illustration of what can be done with the UI. The things he did form pretty much the limit of what can be done: change graphics, resize stuff, rename stuff, move things around.

But even this last thing (moving things around) is limited according to Activision: I remember that at some point some Activisioner (Mr Ogre, IIRC) told us (the A-Team, IIRC) that we could move around some things in the city screen if we wanted to edit it but that some other things were probably fixed on their tab and would only crash the game if they were moved (FE you might not be able to move the specialist-sliders to the inventory tab - I don't know if this is actually the case but this is the sort of thing you should be thinking about). I never actually tried it but I'm sure (s)he knew what (s)he was talking about. The ldl files are really the only part of CtP that are truly limited in terms of customizability (apart from the exe and dll files of course)...

edit: test, please ignore

Last edited by Locutus on 06-03-2002 at 20:25

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:17.
Apolyton Time is 00:17.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0441 seconds (88.50% PHP - 11.50% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net