[Map Script] Full of resources

Anyone tested BtS compatibility with the scripts?

hgthechinese have just send me a PM and the scripts are not compatible with BtS . I will try to buy it soon and see if i can do something to make the scripts compatible with BtS .

Tcho !
 
I just used the lakes script for BTS. Worked fine for me.

Thanks :) . I will check that as soon as i've got BtS . There is perhaps some problems with OS (vista, mac ) or with some of the scripts .

Tcho !
 
Well, it's sort of compatible with BtS. You can use the script, but the lower options dissapear once one is used. Also, I've had no luck getting additional units into the game at the start.

Did you get BtS yet Sto? Any chance of an update on the way?
 
Well, it's sort of compatible with BtS. You can use the script, but the lower options dissapear once one is used. Also, I've had no luck getting additional units into the game at the start.

Did you get BtS yet Sto? Any chance of an update on the way?

Yes , i've bought BtS ... but i'm just back home and will begin to do some tests tomorrow . For the moment , i can't answer ; some players have no problems (but i don't know with units ) , some players get a CTD when selecting buttons . Anyway don't put the option "lock modified assets" but this is probably a bug with my scripts and BtS that prevent the units to appear .

I wait an answer from a mail to Firaxis about the number of buttons . I will make some tests and try to replace buttons with popups . I will be able to tell you more about that tomorrow .

Tcho !
 
Well, it's sort of compatible with BtS. You can use the script, but the lower options dissapear once one is used. Also, I've had no luck getting additional units into the game at the start.

Did you get BtS yet Sto? Any chance of an update on the way?

The bug with the units will be solved . This is just a python function that took an extra argument . But i can't make a patch for BtS right now . The bug that occur when you select many times a script (and you get a ctd ) occur every time you select a button now . ie : after selecting about 15 buttons , you get a ctd . This is playable if you already have some settings saved but impossible with blank settings . The same with the buttons hidden : with vanilla and warlord you just have to select another script and go back to a Sto_script to have all the button . but with BtS , this occur every time you make a selection . In fact , it seems that the script is reloaded every time you make a selection with BtS , so the to bugs that occured when you select a script with vanilla/warlord occur every time you make a selection with BtS .

So , the version for BtS is not for tomorrow . I will begin to make some tests and try to replace buttons by pop ups . But i don't know if this is doable right now . I also wait an answer from Firaxis about that , but i don't know how many times that will take and if they can do something .

Sorry , but this will take time . Tcho !
 
Interesting. I don't get a CTD when selecting those lower buttons, just they disappear. So, to get them all selected I have to do one, launch map, exit. Do the next, launch map, exit etc. until I get all the lower options set the way I want...
 
Interesting. I don't get a CTD when selecting those lower buttons, just they disappear. So, to get them all selected I have to do one, launch map, exit. Do the next, launch map, exit etc. until I get all the lower options set the way I want...

So , if i've well understood : if you select a button , the lower buttons disappear . But if you select another one , the lower buttons don't appear again ? (like it hapends with me )

if you change the selection of some buttons many times (about 20) you don't get a CTD ? (like it hapends with me )

Anyway , if you are motivated so much to play the scripts this way , i will post a version within 2 days that correct the bug with units for BtS ( and the 2 others bug "500-2000" gold selection and "the same as land resource" water selection ) .

Tcho !
 
Version 2.996 with 2 minor bugs fixed . The bug that prevent the units to appear in BtS fixed , for those that can play with the scripts and BtS .

Tcho !
 
Thanks for the update! I can get units in now, which is good. I like to play big maps, epic or marathon speed with lots of civs, raging barbs and if I don't add starting units to everyone, too many civs get destroyed by the barbs early on.

Question:

Is it possible to change all the options in whatever file they're stored in? Obviously the game remembers what options you liked for a particular map style, so I should in theory be able to change those options there. Any ideas what file stores map preferences?

That'd be a big help until such a time as you're able to figure out how to get around the button problem...

Thanks!
 
Thanks for the update! I can get units in now, which is good. I like to play big maps, epic or marathon speed with lots of civs, raging barbs and if I don't add starting units to everyone, too many civs get destroyed by the barbs early on.

Question:

Is it possible to change all the options in whatever file they're stored in? Obviously the game remembers what options you liked for a particular map style, so I should in theory be able to change those options there. Any ideas what file stores map preferences?

That'd be a big help until such a time as you're able to figure out how to get around the button problem...

Thanks!

the file is located in the folder "MyDocuments/My Games/CivIV Folder/" named "Sto_Maps_DefaultMapOptions.cfg" . You can open it with notepad or notepad ++ .the structure is coded with pyckle , a python module . the data structure is very linear . Make a back up before changing it . if you add too much info that should work also . ie you add water percent to a script with no water percent , that should work .To the opposite , if a setting miss , the script will put default . So copy paste all the data from a script to another should work . the boring part is to remake all the numbers : p40 ,p41,p42 ... But ive never tested to change this file manually , this is perhaps not so simple .

Tcho !
 
post deleted . No More use
 
Hi Sto,
no way to update your Scripts (which I believe to be the better ones for Vanilla and Warlord) to work without CTD in BTS?

Thank you in advance,
Bal
 
Hi Sto,
no way to update your Scripts (which I believe to be the better ones for Vanilla and Warlord) to work without CTD in BTS?

Thank you in advance,
Bal

Sorry , but i don't know if that will be possible . and if yes , this will not be quick .

The problem is that the CTD that occurs with BtS is the same that with Vanilla/Warlords when you select too many times a script . But with BtS the script is reloaded each time you select a button , so it's impossible to make a complete selection .

So i have 2 solutions :

_ make the selections of buttons outside civ4 . i've made that for my first version of the scripts and this is not easy to use . I don't want to do that again .

_ make a screen before you launch the game . This is the only good solution but civ4 is not made for that . I've done a lot of test to see if this is possible and it seems ( but not sure ) . And that will be a lot of work and a great headache for mp games . I've begun to work on this .


I've tested some other solutions :

_ reduce the number of buttons ... impossible , the scripts have no sens without a large flexibility and the number of buttons should be about 15 max .

_ open a screen popup at the beginning of the game to select all feature , resources and other settings and let the terrain and size settings only with buttons . Relatively easy to do , But there is some graphical problem ( like when you open world builder and add some resources , change terrain etc ..) . This take also 10 times longer than in a normal generation and i don't talk about the time it takes in MP games ...


So i try to replace the buttons by a screen , but this is not easy to do , and i can't work a lot on this for the moment . The good news is that if i achieve to open a screen before the launch of the map that works in mp games . I will be able to implement a lot of new little options ( that the number of buttons prevent me to do ) . Group all the scripts in only one script and enable a random selection between the maps .

But this is not for tomorrow and i still don't know if this is possible . I will post a comment if i achieve to launch a screen and retrieve the values entered in mp games ( the two biggest problems to solve ) ... and even after that there is a huge work to rewrite all the scripts and write the screen ( something i've never done and complex ) .

Tcho !
 
Many thanks for your quick reply Sto. I supposed you did not devoted the whole life to those scripts development so I perfectly understand you don't want to spend too much time on a problem which is not a problem.
I just tried to follow your advice to modify the selections outside CIV by the file "Sto_Maps_DefaultMapOptions.cfg" as you precedently said but this is not present on my pc and it's not created even after I start a game with default sript options (while I can find the one produced by Smartmap script) so I guess I've to modify the .py script file itself.
Is this that you meant with the first solution?

Again tnx for your advice,
Bal.
 
I just tried to follow your advice to modify the selections outside CIV by the file "Sto_Maps_DefaultMapOptions.cfg" as you precedently said but this is not present on my pc (it's not created even if I start a game with default sript options)

this is strange ... do you have the settings saved ? i mean , if you launch a map with some changes . when you go to the menu to launch the map again , do your changes are loaded or all settings reset back to default ?
Anyway i've not tested this method and even don't know if this is doable .

So I guess I've to modify the .py script file itself.
Is this that you meant with the first solution?

The first solution was a function launched with python outside civ4 where you were able to change some settings ( with the python module TKinter made for screen ) . But this version is very old ( before warlords ) .
You can change the .py file but this will be very difficult for two reason :
_ first , you need a little python knowledge and my script is not well structured and not commented so ....
_ second , ( that's also count if you want to edit the cfg file ) , the selection are numbers . With a short time , you can edit easily what selection you want for forest , water percent etc ... But if you want to select a bonus , a tech or an unit , this will be very difficult to code i you want the 37th unit and the 20th tech .

I will try to search another way to enter settings , but i'm lack of ideas . Perhaps if i can retrieve the value entered between selection , i can do something . but i've not a great hope with that . Let me a week , i will try to determinate if the screen is doable ... :crazyeye: . If not , i will probably make the pop up at the beginning of the game or something like that .

Anyway , settings are not autosaved when you play ?? this is a mystery i want to examine :)

Tcho !
 
Yes my changes are not loaded and are reset to default when I select the map again. The selction is always put on standard Firaxis Fractal map (which I must say I NEVER use!).
You can take all the time you need IF you want to work on it.

As always,
Bal.
 
The selection is always put on standard Firaxis Fractal map (which I must say I NEVER use!).

Strange , civ4 always save the last map i've played . And even with BtS , the settings saved the last time i've launch a Sto_Script are loaded . Are you a Vista user ?

Tcho !
 
You should try to edit your civilizationIV.ini located in the documents folder to check if you can . And also check the proprieties of the civ4 folder into your documents to check if you're not in read only or something like that ( the last map you play is saved in the .ini , it seems that something prevent the .ini to be changed and perhaps also the cfg file to be created )

Tcho !

EDIT : I've taken a look at the bug reports and see nothing similar with vista . I don't understand !
 
Back
Top Bottom