[BTS Python/XML] UU Wonder Mod

GIR

It'sNotStupidIt'sAdvanced
Joined
Jul 12, 2005
Messages
886
Location
EU
Here is a little mini mod:

It adds a new World Wonder: Flavian Amphitheatre (building by charly1977)
It also adds a little python code:

Now you have a certain chance to build Unique Units (UU) instead of the Standard Units (SU) in the city with this wonder.
In this version the chance is 50% but you can change it in the python file.
You can only get a UU of the same Unitclass like the Unit you built, e.g. if you build a Swordsman you can only get UUs that replace the Swordsman -> Jaguar or Gallic Warrior or Praetorian.​


Some pics:



Have fun!

File:
http://forums.civfanatics.com/downloads.php?do=file&id=6887




 
Hi GIR

Thank you for [BTS Python/XML] UU Wonder Mod wonderfully done! I will used it in my {Beginning} and {Tori Gate Mod with ShintoBTS} soon to be post

And a favor if you can please can you get this updated to work in BTS. Python {Wonders} I do not know how to change it so it will work in BTS. Your help here will be put to good use by me.
 
Hi GIR

Thank you for [BTS Python/XML] UU Wonder Mod wonderfully done! I will used it in my {Beginning} and {Tori Gate Mod with ShintoBTS} soon to be post

And a favor if you can please can you get this updated to work in BTS. Python {Wonders} I do not know how to change it so it will work in BTS. Your help here will be put to good use by me.

is this the whole mod component or only the python stuff?
it would be easier if i have the whole stuff to test if it will work.

the initunit command is definitely not compatible with bts
pPlayer.initUnit(gc.getInfoTypeForString(unitList[iRandNum]), city.getX(), city.getY(), UnitAITypes.NO_UNITAI)

but it's very easy to fix it:
http://forums.civfanatics.com/showthread.php?t=229667
 
I'm sorry for reviving this old topic, but I need some help getting this mod to work. See, I've added both CvFlavianAmphitheatreEventManager and FlavianAmphitheatre to my Assets\Python\Misc folder. The building BUILDING_FLAVIAN_AMPHITHEATRE is correctly set up in the XML. But still it doesn't work. I've tested a lot of times by building tens of archers in my city with the flavian amphitheatre, but it never spawns a bowman or skirmisher or anything. I'm sure there must be something I forgot to do, I just don't have a clue what else I have to do to get this mod to work?

Please help :).
-Chiyu
 
I'm sorry for reviving this old topic, but I need some help getting this mod to work. See, I've added both CvFlavianAmphitheatreEventManager and FlavianAmphitheatre to my Assets\Python\Misc folder. The building BUILDING_FLAVIAN_AMPHITHEATRE is correctly set up in the XML. But still it doesn't work. I've tested a lot of times by building tens of archers in my city with the flavian amphitheatre, but it never spawns a bowman or skirmisher or anything. I'm sure there must be something I forgot to do, I just don't have a clue what else I have to do to get this mod to work?

Please help :).
-Chiyu

Hmm, tsentom1 basically edited / re-wrote this ability for his Topkapi Palace wonder so I would suggest either looking what he did there or messaging him for help as Gir isn't around much anymore it seems.
 
Thanks for the tip turingmachine, I merged the coding of the Flavian Amphitheatre into the coding of the Topkapi Palace modcomp and now it works properly :).
 
Back
Top Bottom