Platyping's Python

I dont like addition to populatoin due to the fact it will go back down probably since by late game, populations are near their limit.

Could you possible write up a code for a project that does two things
1) Every city that already has a hospital gets a bonus of +1 health
2) Adds hospital to every city

Im sure your thinking, but what if hospital gets destroyed for 1, but doesnt matter to me, just keep bonus im fine with
 
might as well just let hospital provide 1 more health?
 
Meaning via xml? i want it only for the civ that builds it
Or do you mean have the hospital gain via wonder? No because I want the hospitals taht were already there to have it, not the new ones. That represents how they "disvovered" the cure so that means they have better doctors etc so those should have bonuses
 
all hospitals whether existing and new ones will get the extra health bonus, if owner has xxx project.

Same way I done with Bolshoi and Porcelain Tower.
Do you have UB for hospital, if not I just do it the simple way for adding hospital to all cities
 
Let me check on that, gotta open the mod

but wouldnt you do it onprojectbuild? basically when project is complete add it, so it is a one time thing? instead of if city has hospital then if civ has project? Also that would improve game preformance as well correct? Im sure im wrong since im not the python export
 
1) when project is built, apply to all cities
2) when new city is built, apply to it
3) when city switches hands, check whether new/old owner has project and apply changes
 
There is no UB for my african mod, (i removed red cross replaced with red cresent, doubt that matters), but there is one in my Modern mod which i also want to add this to

is there a big difference in code? I would rather put in the shorter one in African mod to save preformance, and the larger one in modern. Unless the codes take a while i can add the longer one till both
 
1) when project is built, apply to all cities
2) when new city is built, apply to it
3) when city switches hands, check whether new/old owner has project and apply changes

I do not think 2 and 3 are necesarry. I want it a one time event, for the following reasons
-improve game speed
-Usually no more cities during modern times
-Once disease no longer is dangerous, no reason to add health if no risk anymore
-If city has cure/bonuses, I want to keep it that way. Since realisticly other civ would figure it out and use it themselfes, expecially in own city

so would it be okay to just do 1?
 
1 line extra lol

Effects:
Grants Hospital to all cities
+1 Health provided by Hospital
Applied to whole team

Does not include codes for AI => AI will never build it
Up to you if you want to include my style or old style for AI codes, or none at all

All copy and paste works so make sure you test all 3 functions lol
 
Will do, but could you help with AI? I have no idea how to do that. I know its for what circumstances the AI will build it. What do you mean your style or old style? Do you use one style for every wonder? I would assume its different for every project correct? If so which one should i use? and im sure i can find it
 
Refer to post 10 in page 1 to see the difference
 
Alright thanks,

I'm actually gonna take my first stab @ python, gonna try to come out with a project. Any famous war books? Minus the art of war of course. War and Peace is too less focusses on war. Thought about the REd Badge of courage, but to American-Centric. Know any good ones? Preferably modern ones?
 
All are written in ancient times of course.

But Art of War and 36 stratagems are still books commonly found in bookshops and refered to in modern times.
 
I am aware, but I Want something to put in my modern mod. Although yes ARt of War is still beyond famous, to use it as a project, well idk would seem cheesy since it is not rewritten.

Maybe it won't have a book, what I want to do is at the begining of a golden age, all units get a free promotion. Although im sure you know how to and its really simple don't tell me how to do it, wanna figure it out for myself

but don't worry ill probably post when i do it here, saying how i have a mistake:lol:
 
also nother request
could you do Bletchley Park? I was thinking reveals the whole map for a turn or a couple. Similar to when you have high espionage verssu a player

also what do you think about this idea for your mod? Static wonder movies. Im going to create some dds for wonders and just have the movie go there, since movies are way to big. This is because when the ancient wonders are given in my mod, is easy to not even notice, and with the movie plus adding some "help" in xml i can explain why they are easily getting it

while i was making them i was wondering if you would like me to do some for you as well
 
Hmm, reveals world map is done with Zizkov, although it only shows you the plot details without the unit placements etc if espionage is not high enough.

Thus, to do Bletchley Park, the way I can think of would probably be:
1) Save the game turn info somewhere
2) Add 99999999999999999 Espionage points against all teams
3) X turns later, remove the added EP

However, because of the added EP, the ugly side effects would be player can perform Espionage missions during that period like steal techs etc

Up to you for the movies lol, it will definitely benefit the community as a whole.
Personally, I haven't played a real civ game for some time already, just modding for fun, although I do test them out before release :D
 
Trust me same here, honustly its been several mounths since a real game..

could you do it a different way though? Similar to the air mission of scouting?

Well now that i think about it, it doesnt need to be that, espionage is the better way to go probably, since its similar to what it was

maybe convert all the espionage enemies have on you to you on them?
So if germany has 300 on England, and england has 200 on germany, england builds it, now england has 500 and germany has none

and i dont mean for you playing, the movies would be just for your mod that way its more playable with other people. Not sure if it works though, I plan on adding a crapload of your things to my mod, then test it out
 
Hmm, recon gives me an idea how to do it in a better way lol
Grants a stealth bomber and recons every x plots then kill the bomber lol

However, if it is only for 1 turn, sounds weak as a wonder to me
 
Back
Top Bottom