Platy's Peculiar Pleasant Posh Python

Guess wrong.
I enjoy watching dramas after 1 day of work.
When I not watching drama then I bother to mod.
 
Specialist Count

Features:
1) Shows number of specialists directly, useful for big cities
2) Handles up to 3 columns



Notes:
There is one global variable, g_iMaxPerColumn which determines maximum number of specialists per column.
I set it to 3 just to show that it can handles up to 3 columns perfectly, since there are only 7 visible ones in BTS.

Includes a file for BUG 4.4, replaces all other specialist mods


OK. You have my attention. This mod has potential, as adding and subtracting numbers will use less resources on a PC than adding and subtracting graphical pictures. I imagine this has simplified the python code as well.

I have a question about free specialists: Stock BTS displayed free specialists under the rest of the specialists. How are free specialist displayed in this mod? Do you just add them to the total number for each kind of specialist?

Also: Can you show two numbers for each specialist? ...One for the current number of specialists and another for the maximum number of specialists.
 
@Orion
Bleh, should have updated that post with new info.
Specialist Count 2.0
The screenshots in 2.0 are taken directly from Ultrapack, so some of the things you see there will not be in SC standalone.
Moral of the story, just download and try 3 minutes.

There is no need to display max number of specialists, it is there by BTS when you hover over it.

The only issue is I find the red and yellow buttons for adjusting specialist rows abit comical but havent bothered to make a new button for them :D

@Cruel
Ariel Lin
 
Heroes Movies

Features:
Display Movies when World Units are Built



Another simple C&P job.
Although there aren't any World Units in BTS, there are some mods with them.
Since World Wonders get Movies, I guess World Units deserve them too.

Notes
The unit files inside are just for testing purposes, since there aren't any World Units in BTS.
 
@platy

Are you able to do religion system like in civ 5?

After converting to religion every religion related building gives religion points every turn and that points ar cumultative. After reach some level you can choose religion doctrine that acts as free building in each city with state religion.
 
Possible via player script.
But I will definitely not offer choices.
Simply because A.I. won't choose.
If A.I. cannot choose, I won't let you choose either.
It is either fixed or random benefits.
 
Heroes Movies

Features:
Display Movies when World Units are Built



Another simple C&P job.
Although there aren't any World Units in BTS, there are some mods with them.
Since World Wonders get Movies, I guess World Units deserve them too.

Notes
The unit files inside are just for testing purposes, since there aren't any World Units in BTS.

whooooooo :goodjob:

gonna have to make a LOT of World units now :D
 
All I remember is master victory replace all others and only won at the end of time.
They have a set of scoring system which obviously I dunno unless you provide a link :D
 
@Orion
Bleh, should have updated that post with new info.
Specialist Count 2.0
The screenshots in 2.0 are taken directly from Ultrapack, so some of the things you see there will not be in SC standalone.
Moral of the story, just download and try 3 minutes.

There is no need to display max number of specialists, it is there by BTS when you hover over it.

The only issue is I find the red and yellow buttons for adjusting specialist rows abit comical but havent bothered to make a new button for them :D

@Cruel
Ariel Lin

I hate to be a pest, but the DL zip file did not include a replacement CvMainInterface.py file for BUG 4.4. Can you update the download?
 
Inquisition

Features
1) New Unit that can remove Religions
2) Religious Victory









Notes
Not to challenge the classic, but since the codes for Lawyer are already done, it doesn't take me more than 10 minutes to convert to religions, so... might as well.

Features:
1) Can choose which religion to purge
2) Chance of purging increases with number of religions present
(It is harder to persuade the citizens to abandon a religion when it is the only one there right)
3) Cannot purge holy city
4) Normal Religious buildings are destroyed, Wonders are kept
5) Religious Victory is just a XML entry, nothing special

A.I.
1) Will train only if Religious Victory Valid, no sense in purging otherwise unless you just want to deny others the gold from the wonders...
2) Will not build in wars
3) Will not purge State Religion, obviously
 
@Orion

Coding for Ultrapack alone = Once
Coding for Ultrapack + Standalone = Twice
Coding for Ultrapack + Standalone + BUG = Thrice

Ever since I launched my own U.I., I removed the BUG file, can't be bothered to do triple the work for a mod component.
 
I would like to see negative effect of inquisition like -1 population in city per religion removal.
Inqusitions always was very bloody.
 
Mastery Victory

Features:
1) Wins the game at end of time based on Mastery Score
2) Or all other teams dead



Old System:
-Points are given for the following:
-Land - 1 point per % of landmass controlled by team.
-Population - 1 point per % of total planet population possessed by team.
-Culture - 1 point per % of total planet culture belonging to team.
-Religion - 1 point per % of world religion if you control the religion's holy city. Only the top religion you control is scored, so second and third holy cities will not increase your score (but will prevent other civs from gaining points from them).
-Power - Your civ's power is summed throughout all of history. 1 point awarded for each % of the total summed power of all the surviving civs on earth. While power increases throughout time, this does mean that you'll be scored for your military for the whole game span.
-Wonders - 1 point per % of world wonders CONSTRUCTED by the civ, not owned! The game keeps track of who actually builds the wonders as opposed to those who capture them. Wonder benefits are still granted to whoever currently possess the wonders. This makes the investment of a wonder more meaningful and more realistic.
-Legendary Cities - Any city achieving Legendary status grants 30 bonus points. (You can have one, you can have five; you'll receive 30 points for each one you build).
-Starship - 100 points given to any civ launching an interstellar starship. This is a big score bonus but represents a significant achievement; if a civ that hasn't launched a starship is to be considered superior to one that has it must have made significant cultural and military achievements

Changes in Scoring System:
1) Power is based on current Power rather than Historical Power.
All others like Population, Land are based on Current Score. No reason for this to be special.

2) Wonders are based on ownership rather than who built it.
Same reason as above.
Flat points per wonder rather than based on a %

3) Starship
Launching the starship itself has no points anymore.
It is now based on each part built, + a bonus for completing all.
Because if launching itself scores 100 points, which idiot will build all parts before launching.
Also, it doesn't make sense that launching a spaceship scores as much points as building all wonders in the whole game, thus nerfed.

4) Additional Scoring Items
World Projects: Why should Wonders be in the list and projects not
Future Techs: Just 1 point given for each of them

Changes in the System
1) Because it is python, you can still enable/disable the other victory types while mastery is enabled.
Disabling them will make certain buildings/projects unbuildable, like Spaceships, Voting wonders.
When diplomatic enabled, you can still vote for diplomatic victory, but there will be no effect.

2) Mastery Victory can be won via 2 routes.
A) The original end of time method.
B) Killing off all rivals. I seriously don't see the point to click end turn for 200 more turns when you obviously won the game anyway.

3) Mastery Victory Screen can be viewed right from the start.
I don't see why it should be disabled in the original mod

4) A customisation section provided for you to adjust the point system yourself.

5) Next 3 Best Cities only list those non legendary.
 
:worship: Wow, thanks! ^^^^

Platy, How change the numbers of GP (just GP) to right?


I tried many things near here:
Code:
					iX = xResolution - 246  + 28 * (i % 8)
					iY = yResolution - 206 + 50 * (i / 8)
					screen.setImageButton("FreeSpecialist" + str(i), gc.getSpecialistInfo(iSpecialist).getTexture(), iX, iY, 24, 24, WidgetTypes.WIDGET_FREE_CITIZEN, iSpecialist, 1 )
					#screen.setImageButton(gc.getSpecialistInfo(iSpecialist).getTexture(), "FreeSpecialist" + str(i), iX, iY, 24, 24, WidgetTypes.WIDGET_FREE_CITIZEN, iSpecialist, 1 )
					screen.setText("FreeSpecialistCount" + str(i), "Background", szBuffer, CvUtil.FONT_CENTER_JUSTIFY, iX , iY, 0, FontTypes.GAME_FONT, WidgetTypes.WIDGET_GENERAL, -1, -1)
					#screen.setText("Background", "FreeSpecialistCount" + str(i), szBuffer, CvUtil.FONT_RIGHT_JUSTIFY, iX , iY, 0, FontTypes.GAME_FONT, WidgetTypes.WIDGET_GENERAL, -1, -1)

Edit 2: found "iX+20" thanks!
 

Attachments

  • GP.jpg
    GP.jpg
    16.9 KB · Views: 587
Top Bottom