Platy's Peculiar Pleasant Posh Python

Just download any of the new victory types and remove unnecessary codes
 
Does the interface of the victory screen only involves the files in python? I've downloaded two of your latest victory components, and I see no shiny buttons added to the screen:confused:
 
Financial Victory

1) Buttons Added to Financial Victory
2) Building Descriptions now display according to Civilization of Active Player.
(Display as UB if necessary)

Regicide
1) Applied new victory screen

@Aloha
If you notice, all the new victory standalones come with the new victory screen with buttons.
 

Attachments

  • Civ4ScreenShot0007.JPG
    Civ4ScreenShot0007.JPG
    106 KB · Views: 195
  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    109.6 KB · Views: 195
Defensive Victory

Civ4ScreenShot0008_zps42b5c7c1.jpg


Civ4ScreenShot0005_zps14f3003a.jpg


The 3rd criteria simply means, this cannot be won in a game with less than 4 teams or you killed off too many rivals.

The last criteria is how well you defend your cities.
Lose one and that's it.

For Protective Leaders
 
hey platy,

wanted to let you know- ive merged bad people to uuuu,

but i hit an error, after a while i figured you define this line in the main interface py file:

iUnitType = g_pSelectedUnit.getUnitType()

but in the uuuu this defenition is missing:

g_pSelectedUnit = 0

so i added its functions and solved it, just letting you know.

****
also in financial victory:
these lines are
uncommented -
iBestFinancialRival = -1
iBestGold = -1
 
It wasn't necessary in ultrapack

In fact, it wasn't necessary in baddies either, just that I didn't bother to get rid of it
 
Platy,
when I simply run your standalone victory component, it is fine. I mean the buttons show properly. However, when I merge your mod into my own, the buttons disappear.

OK, I just copy and paste the python codes into my mod, because I think this only has something to do with the python stuff. Am I right? But I also notice that there is a file named "Modules" in your pack. Will it also affect the button display? If so, then I don't know where I should put the file or the files within it.
 
The modules only contain text files for new victory types.
It simply means the merge is not done properly.

Most likely there is another cvvictoryscreen elsewhere.
 
Yes, there is a CvVictoryscreen in "screen" file, which is under "Python" file, in vanilla game. In your mod, you directly put the CvVictoryscreen under "python" file. I just wonder why your file is not overwritten by the original one.:rolleyes:

Anyway, after discovering that, I put it under the "screen" file in my mod. I thought the merge job would be done, but I encountered a strange looking of the victory conditions screen.:undecide:Please see the pic below.
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    87.8 KB · Views: 188
Activate python exceptions.

There shouldn't be any issues unless your mod has codes that interfere with that screen.
 
True Prophets

Features:
Found Religion via Great Prophets

Civ4ScreenShot0003_zps2bbb3c79.jpg


Just a simplified python version of the SDK mod by Aussie_Lurker

What's New:
1) Removed all the extra buildings provided.
2) Great Prophets found religion via a mission button rather than build a dummy building which found the religion.
3) Monuments granted 1 priest slot to generate Great Prophets
4) Can only found religions of that era (Hindu, Judaism and Buddhism in Ancient Era etc)
5) This also prevents all religions being founded when playing at later era starts
6) Removed Dummy Tech from appearing as Requisite for Religions in Pedia
7) Dummy Tech itself does not appear in Pedia as well

A.I.
1) Found Religion when Prophet Born
2) Chance of Founding Religion reduced when A.I. already has holy cities
3) Favourite Religion selected if possible
 
1) Did you merge my codes into an existing file or simply use my file and replace an existing file.
2) Where did you take my file from, which victory type.
 
I simply use your file and replace an existing file, and I tried both the fertile and wonderful victory type. I even tried merging them into the BTS main game, and it still didn't show things properly.
 
You can try replacing CyGame() with gc.getGame(), but frankly speaking they both do the same thing.

getCultureThreshold is a valid attribute of CyGame() although it is not stated in the API
 
Pedia Updates

Some additional information for these pages since there are big gaps:

Religion and Civics:
List of Leaders with Favourite R or C
For you to see how biased Firaxis is, although they claim they treat all religions "equally".
Nobody likes Judaism at all, not even 1 leader.

Improvements and Routes
List of Units that can build them.
Useless in BTS but may be useful in mods with advanced worker classes.
 

Attachments

  • Civic Pedia.JPG
    Civic Pedia.JPG
    106.5 KB · Views: 250
  • Religion Pedia.JPG
    Religion Pedia.JPG
    118.4 KB · Views: 174
  • Route Pedia.JPG
    Route Pedia.JPG
    93.3 KB · Views: 164
  • Improvement Pedia.JPG
    Improvement Pedia.JPG
    95.6 KB · Views: 169
Back
Top Bottom