Tsentom1 Python Wonders

If all of this doesn't work, If you want and send me your files, I'd be more than happy to merge it for you.
 
Hey, I know I haven't released anything lately.

Been very busy with real life stuff.

Did manage to release an update to Thomas War so check that out.

I'll release more python buildings soon, I promise.
 
If all of this doesn't work, If you want and send me your files, I'd be more than happy to merge it for you.

Hi, tsentom1. Yes, you are right. I have a little problem. I have in usage "The School of Confucius" and when I was added EDEN AS BUILDING code, Eden (in my mod Qumran) doesn't work.
If you can, please, check my python file, it will big help for me.

Thanks for answer
Hroch
 
Uhmm, I'd rather say I take suggestions... I'm still teaching myself python so to speak so what I can do is limited (but growing all the time). So if you have a specific building ability in mind I might not be able to do it... yet. Though if there's a specific wonder there's a chance I could think of something appropriate I could do with it.

I should add anything you request probably won't show up for a while. At the moment I have a ton of real life stuff not to mention am trying to fix up my big mod Thomas War.
 
OK, well, I'll put this out there anyways; if it is beyond your ability or you are too swamped to tackle it right away, that's no problem.

I am looking for an effect that simply gives 1 free promotion to all active units. I want to assign this to the Art of War Wonder in my mod. It should simply cycle through all of the active units and give them a free promotion of the player's choice.

Cheers,
ripple01
 
Added:


Golden Gate Bridge


BridgeCiv.jpg


I had already made this for my Thomas War mod. I wasn't going to release it separately as I never got it to work exactly as I imagined but someone asked me to.
 
Hmm, I might do that, but since I mainly use the graphic for an improvement his better model might not work so well. In fact, I'm pretty sure it doesn't even show up in the city if it can't build the improvment (though you still get the bonus). The reason why the wonder building the bridge is optional is because it's not really that common to have a coastal city that is across from another coast all the time. Right now the wonder adds two invisible bridge improvements for the cardinal directions. Going diagonal would need two more. I was thinking, though, about making it do one bridge and check clockwise for possible bridges to be built.

I'll probably update this once I'm done updating Thomas War (as well as post more wonders).

Cool, in the modcast :)
 
Could someone PLEASE! help, im kinda new at this and dont no how to add his great stuff into my mod, so im kinda at a standstill withit, that and when i open it it goes to a python window which closes in like 2 seconds..... please help! really want these
 
All my mods are compressed with a program called 7zip. You need a program like 7zip or Winrar to open them and extract all the files. Once extracted It gives you a bare bones mod to add the wonder. If you put that extracted folder into the mods directory you can load it and play a a game that has nothing new except that one wonder.

If you're looking to combine this with your mod you have to look at all the files in each of my wonders mod and make sure you have every single one in them in the same place in your mod. If you don't have one you can simply put it in. If you do, you'll have to combine the files. With the XML this is easy all my extra stuff is at the bottom just copy and paste into your xml.

For the python its a bit trickier. All my new code is commented with ### [name of wonder] ### with the name of the wonder being whatever wonder you've downloaded. I recommend downloading a program called winmerge to combine python. With this you can open your base BTS python file and my new one and it easily shows not only the extra code I added but exactly where I added it. For Python, it's important where you add the new code and how much whitespace you have so you need to copy it exactly.

You can download 7zip from here:
http://www.7-zip.org/

Winmerge from here:
http://www.winmerge.org/

Both are freeware.
 
The Great Bath of Mohenjo-daro is next and then maybe the Sydney Opera House.
 
tsentom1, little help.... I integrated your mod into game, and works fine, except when Golden Gate is completed, instead of bridges being built, game builds just PEAK and ROCKY terrain(peaks transformed to hills from other mod) on that tiles, efectively converting water to mountains and hills :)) now, thats not bad cause really enables my people to have a land route, but I would like to install it properly.. any idea whats causing this? I'm using BTS 3.13...
 
does your mod have edited terrain and feature files? and did you change the name of the bridge improvement from the default?

all the python does is check if you have water in certain tiles and set an improvement on top of it if possible. i'd have to see your feature and terrain xml files as well as your eventmanager python file to see what's going wrong.
 
eukaliptus,

I tried it with your python and xml files and it fired correctly. i've never tried the mod on 3.13 but there's no reason why it shouldn't be compatible. the only thing, is that they're not save game compatible so if you tried to incorporate it and them go back to a previously saved game that could cause some problems.

i'm really stumped as the python specifically calls for an improvement not a terrain. (the mention of terrain in the python is all commented about - for future use - and only time it calls terrain is to check for ocean).

i'll keep working on it. hopefully i can find out what's wrong.
 
no, I started a new game several times, always same effect... I guess its game version after all that's causing problems.. could you try yourself to run it on 3.13? and I just cant upgrade to 3.17 because of many many modifications that I already made to the game.. anyway, even this way (with that bug) its still interesting mod.. u get real land bridge :))) oh, I'm also using Blue Marble.. but thats only graphics mod...

if you find a solution (or cause) post it here.... thnx
 
here's my whole Python folder (files moded), for reference.. it has many mods.. maybe it will help you.. but I dont belive you can run all that on 3.17.. thnx for your effort :)
 

Attachments

Back
Top Bottom