Tsentom1 Python Wonders

No errors are occurring in my current game, although none of the wonders have been built yet, so I can't say this is fully tested.

I usually just go into the worldbuilder and give myself the tech and engineers to see if they work correctly, although with all of them, it might take some time.
 
Yeah, I figure I or others will catch things ... Also, tsentom, if you want to use my site for some hosting of larger files, you're welcome to. Just PM me.

Thanks for the offer but I have an account at ModDB cause I need it to host my Thomas' War mod, so I can just upload there.
 
Hmm...I had some weird behavior. I just built the School of Conf. wonder, and I didn't get any great people. Did it work for you (as in, should I check my install), or have other people had this problem?
 
Hmm...I had some weird behavior. I just built the School of Conf. wonder, and I didn't get any great people. Did it work for you (as in, should I check my install), or have other people had this problem?

Enable python exceptions and then build it again (make a fake game give yourself the tech and engineers) and see if an error comes up. Most times people forget to add the small bit of python at the end of the eventmanager file which allows the game to get a random number.

Besides that it should work.
 
...so what are python exceptions, again? I thought I integrated all the code from your downloaded file, but I could have missed a heading.

I won't be able to test this for awhile (still working...ya' know I gots ta' get paid).
 
...so what are python exceptions, again?

The python-error-messages. You have to enable them in the civ4config.ini.
PHP:
; Set to 1 for no python exception popups
HidePythonExceptions = 1

1 for no exceptions, 0 for exceptions.
Some type of exceptions can crash the game!
 
...so what are python exceptions, again? I thought I integrated all the code from your downloaded file, but I could have missed a heading.

I won't be able to test this for awhile (still working...ya' know I gots ta' get paid).

If that still doesn't work post your code here and I can probably fix it for you.
 
Two religious wonders this time:

King Richard's Crusade

CrusadeBuilding.jpg


Malleus Maleficarum

Witches.jpg


For King Richard's Crusade, every few turns scales according to game speed with roughly 4,6,8,14 for Quick, Normal, Epic, Marathon respectively (The time frames probably need some testing). It will also give one the turn the wonder is built and additionally increases the spread rate of your state religion to team owned cities.

Naturally, I also had to add a Crusader unit.

Requested by ripple01.

Malleus Maleficarum has some special notes in terms of adding. It continuously purges non-state religions - the rate determined by the size of your empire. Currently it doesn't remove buildings or holy cities but i wrote a note in the code explaining how to activate this if you want.

For both see their download pages for more details and art credits.

Special Thanks to Dresden for helping me with the code.
 
I will incorporate the two new wonders this weekend.

In the meantime, in my current game, whenever I build a wonder, the movie plays twice. This is happening for both the default wonders and the tsentom ones. Any ideas before I go code spelunking?
 
Nice ideas again :goodjob: (like every of your wonders).



Technical question:
I've looked into the code of the eden project, and am i right, that you could make this effect affect (uh, not enough vocabulary) every team/civilization and that you could controll the spreading of the effect for a maximum number of fields outgoing from a special field?
 
This is just a quick edit of my Malleus Maleficarum , as someone asked me to make it into a project that instead of a constant steady effect simply removes all non-state religions and religious buildings once built. Luckily, Fall from Heaven actually already had this project - so really almost all credit should go to them. I simply changed the Text and added small additional python for a sound and visual effect as well as making it require Theocracy and a State Religion to build:

The Spanish Inquisition:
(World Project)

SpanishInquisition.jpg
 
I'd say the Spanish Inquisition should add a bonus as well as removing non-state religious buildings. Maybe each building of the state religion gives its cities +1 happy face as well?
 
I'd say the Spanish Inquisition should add a bonus as well as removing non-state religious buildings. Maybe each building of the state religion gives its cities +1 happy face as well?

I only made the 'project form' as a request from someone (the wonder I released before the actual post) so I'm not really going to update it - the +1 Happiness requires SDK anyway.

It's more a flavor project for specific mods than something to add to the general game anyway, similar to an inquisitor unit, and depends more on your mod having some form of religious victory or aggressive religious function.

I think in the standard game removing all the religions and buildings would be such a big negative (in raw culture and happiness) that even giving a benefit to the project wouldn't help much.

Though its a good idea, I just wish it could be done with python and not SDK
 
Holy crap. O_o

When will these be added into Thomas' War? When the new patch is out?

I'm going to have a "patch" for Thomas War by Thursday - Friday that should hopefully help with the MAFs. I can throw these in if people want, though that would make the patch no longer save game compatible.

Though I also kinda feel that Thomas' War has reached a saturation point in terms of wonders and adding more now would make there almost be too many wonders, so maybe ill leave it as it is at the moment till i figure out how to best handle them.
 
I will incorporate the two new wonders this weekend.

In the meantime, in my current game, whenever I build a wonder, the movie plays twice. This is happening for both the default wonders and the tsentom ones. Any ideas before I go code spelunking?

The national wonders have a fix to the play movie code that lets them, well, play movies. It's just an edit of the code. You probably copy pasted the the edit as a whole section before the default code instead of simply changing the original section (my fault I probably didn't label this correctly). It's basically deleting a line I think.
 
Back
Top Bottom