Platyping's Python

Thanks, they look the same in the day anyway :D

Tomb of the unknowns, some type of bonus (cultural?) given when you loose a unit via war outside borders

This one can be done, just need to alter Terracotta abit
 
Fisherman's Wharf

Spoiler :
Civ4ScreenShot0005-1.jpg


National Wonder

Actually FW is more about crabs than fish lol
Anyway, 1% chance for population growth for every fish, crab, clam, whale controlled by player.

Thus, if you own 10 Fish, and have 2 crabs from other players, you have 12%

Artwork by dacubz145
 
Can't be helped, since I never went there before... unless you buy me an air ticket :D
So I picked the benefit based on Wiki

Fisherman's Wharf gets its name and neighborhood characteristics from the city's early days during the Gold Rush where Italian emigre fishermen settled in the area and fished for the Dungeness Crab.

Anyway... doesn't matter fish or crab, all marine resources give 1%, oil excluded of course

Edit:
Released Via Appia on standalone, easy to edit if you need
 
Fixed a bug with AI_changeAttitudeExtra codes

This code was meant to work with AI_changeAttitudeExtra(iPlayer) but all along been using iTeam instead because the original codes where I copied it from was using it that way so I didn't think it may be wrong...
until I read the language code from The_J...

As such, all wonders, projects using this code have been edited.
Taipei 101, Nuclear Non-Proliferation Treaty, Utopia, White House

Charismatic Traits has been reverted back to its original intended powers as this is now working correctly for multi-players in same team games.
 
National Aquatics Center

Spoiler :
Civ4ScreenShot0000-3.jpg


National Wonder
Purposely want to do something for this plain looking wonder :D

Loaded units no longer die with transport all the time!
Teach them how to swim in this ultra big swimming pool.
But of course swimming from the middle of the ocean to the mainland takes alot of stamina, so dying units cannot survive and those that managed to swim, suffer some damage.

Not applicable for mechanical units. Never heard of a 1000 ton tank that can swim

P.S.
I know it is a AD 2000+ wonder, but I placed it in early era as that is where it will be useful. Modern/Future Eras will be tanks, gunships and mech infantries

Notes:
Additional code needed to be compatible with Springfield Armory in Megapack and Gigapack

Artwork by dacubz145


Edit:
Mont Saint Michel: Added button when message is displayed
 
yeah, megapack consists of my personal works.
gigapack includes works from previous wonder-makers as well
 
hey, can you tell me what this code is meant to do the in the via appia project:
Code:
## AI Build Projects Automatically Start ##
		if gc.getProjectInfo(iProjectType).getTechShare() == 1:
			pPlayer = gc.getPlayer(pCity.getOwner())
			pTeam = gc.getTeam(pPlayer.getTeam())
			pTeam.changeTechShareCount(0, -1)
## AI Build Projects Automatically End ##

thanks!
 
so this code:
Code:
#def viaAppia(pCity, iProject):
#	 if gc.getProjectInfo(iProject).getTechShare() == 1:
#		 pCivPlayer = instance(pCity.getOwner())
#		 pCivPlayer.get(CyTeam).changeTechShareCount(0, -1)
#        if iProject == eViaAppia:
#                Map = CyMap()
#                pOwner = instance(pCity.getOwner())
#                for i in range(Map.numPlots()):
#                        pPlot = Map.plotByIndex(i)
#                        if instance(pPlot.getOwner()).get(teamID) == pOwner.get(teamID):
#                                if not pPlot.isPeak() or pPlot.isWater():
#                                        pPlot.setRouteType(eRoad)

would work...
 
up to u lol
I separate it out because:
1) Easier to copy and paste to other projects for me
2) Easier for modders to know which part to delete if they have other means of teaching AI to build python projects

You might as well dump the whole thing into via appia and get rid of the first if statement if you want to merge both together
 
I could but viaappia actually does the check for the project lol

edit: how does the techshare bool in the xml not show in the civlopedia?


ahhhh got it!
 
btw, I thnk I have a solution to your lack of help problem!

Code:
	def placeSpecial(self):
		
		screen = self.top.getScreen()
		
		panelName = self.top.getNextWidgetName()
		screen.addPanel( panelName, localText.getText("TXT_KEY_PEDIA_EFFECTS", ()), "", true, false,
				 self.X_SPECIAL, self.Y_SPECIAL, self.W_SPECIAL, self.H_SPECIAL, PanelStyles.PANEL_STYLE_BLUE50 )
		
		listName = self.top.getNextWidgetName()
		
		[B]szSpecialText = CyGameTextMgr().getProjectHelp(self.iProject, True, None)[1:][/B]
		screen.addMultilineText(listName, szSpecialText, self.X_SPECIAL+5, self.Y_SPECIAL+30, self.W_SPECIAL-10, self.H_SPECIAL-35, WidgetTypes.WIDGET_GENERAL, -1, -1, CvUtil.FONT_LEFT_JUSTIFY)

if you place a condition infront of the highlighted bit you can display abilities the project may have a bit like help... this is in CvPediaProject.py

ie this code:
Code:
		#Project help#
                gc = CyGlobalContext()

                if self.iProject == gc.getInfoTypeForString("PROJECT_VIA_APPIA"): szSpecialText = "VIA_APPIA_EFFECT"
                elif self.iProject == gc.getInfoTypeForString("PROJECT_INTERNET"): szSpecialText = "INTERNET_EFFECT"
                else: szSpecialText = CyGameTextMgr().getProjectHelp(self.iProject, True, None)[1:]
                #Project help#

that works perfectly! edit: well ok, the text need to be run under the localText...
 
read the strategy section, they swim to capital for convenience sake lol
lazy to do loops to look for nearest land plot, check if it is not a peak plot etc
so capital is the safest plot to dump them lol

Art of War is a book by the way
 
Released all GIR and tsentom1 wonders on standalone versions
Did more bug catching with existing wonders

Mandate of Heaven
Spoiler :
Mandate.jpg


More of a concept than a project, but who cares :D

Something simple, applied to whole team

Wanted to get a pic of chinese emperor's hat but... doesn't look nice so took a pic of a seal instead.
This belongs to Kang Xi


Assembly of Experts
Spoiler :
Civ4ScreenShot0006-1.jpg

National Wonder

Set UN as requirements, because AP is too troublesome to check.
Although AP can still be active when UN is built, oh well...

Artwork by stolenrays

P.S.
Thanks j_mie for the codes there, will look into it when bored, still on lazy coding mood :D
 
Python Wonders V

Heroes' Square
Spoiler :
Civ4ScreenShot0001-12.jpg

Kharbas Caves
Spoiler :
Kharbas.jpg

Vijay Stambha
Spoiler :
Vijay.jpg

AI Entity
Spoiler :
Civ4ScreenShot0009-8.jpg

Grand Canal
Spoiler :
Civ4ScreenShot0001-13.jpg

Summer Palace
Spoiler :
Civ4ScreenShot0003-11.jpg

Ulugh Beg Observatory
Spoiler :
Civ4ScreenShot0004-12.jpg

Sarcofagos de Karajia
Spoiler :
Sarcofagos.jpg

Chrysler Building
Spoiler :
Chrysler.jpg

Peterhof Palace
Spoiler :
Peterhof.jpg

Beit HaMikdash
Spoiler :
BeitHamikdash.jpg

Potala Palace
Spoiler :
Civ4ScreenShot0014-2.jpg

The Duomo
Spoiler :
Civ4ScreenShot0002-17.jpg

Lanzon
Spoiler :
Civ4ScreenShot0016-5.jpg

Piazza San Marco
Spoiler :
Civ4ScreenShot0017-1.jpg

Tomb of Ezekiel
Spoiler :
Civ4ScreenShot0020-2.jpg

Imperial Academy
Spoiler :
ImperialAcademy.jpg

Pyramid of the Magician
Spoiler :
Civ4ScreenShot0001-15.jpg

Borgund Stave Church
Spoiler :
Civ4ScreenShot0005-6.jpg

Castra Praetoria
Spoiler :
Civ4ScreenShot0000-16.jpg

East India Company
Spoiler :
EastIndia.jpg

Temple of the Inscriptions
Spoiler :
TempleInscriptions.jpg

Lascaux Caves
Spoiler :
Civ4ScreenShot0000-18.jpg

Tianning Temple
Spoiler :
Civ4ScreenShot0017-4.jpg

Crazy Horse Memorial
Spoiler :
CrazyHorse.jpg

The Temple of Edfu
Spoiler :
Civ4ScreenShot0000-19.jpg

Pyramid of the Sun
Spoiler :
Civ4ScreenShot0001-16.jpg

Kuwait Towers
Spoiler :
Civ4ScreenShot0002-18.jpg

Panama Canal
Spoiler :
Civ4ScreenShot0000-23.jpg

National Insurance
Spoiler :
Civ4ScreenShot0012-7.jpg
 
Back
Top Bottom