Civ4 Python: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(XFGnTUuwk)
No edit summary
Line 1: Line 1:
http://www.carsinsurance4u.com/ car insurance 996 http://www.cheaphealthinsurancequotes.net/ health insurance plans %-O http://www.healthinsurancesearches.com/ health insurance quotes 8-]]] http://www.getautoinsurancerates.net/ auto insurance >:-[[[
== Template ==
Please use the following template for python files.
* [[Format for new Python pages]]
 
== Tutorials and Reference ==
 
* [http://forums.civfanatics.com/showthread.php?t=154130 TGA's Python Tutorial]
* [http://forums.civfanatics.com/showthread.php?t=163848 How to Call a Function at the End of a Turn]
* [http://apolyton.net/forums/showthread.php?s=&threadid=167960 Jon Shafer's Guide to Python in Civ4]
* [http://forums.civfanatics.com/showthread.php?t=152856 Sample Python Code]
* BTS Python API
** [http://civ4bug.sourceforge.net/PythonAPI/index.html View]
** [http://code.google.com/p/civ4-python-api/ Project @ Google Code]
** [http://forums.civfanatics.com/showthread.php?t=238839 Forum Discussion]
* [http://civilization4.net/files/modding/PythonAPI/ Warlords Python API]
* [http://forums.civfanatics.com/showthread.php?t=323805 Modding CvGameUtils]
* [http://forums.civfanatics.com/showthread.php?t=331001 How to Make Python Action Buttons]
 
== Files ==
 
=== Assets\Python ===
* [[CvAdvisorUtils]]
* [[CvCameraControls]]
* [[CvDebugTools]]
* [[CvDefineEditor]]
* [[CvDiplomacy]]
* [[CvEventManager]]
* [[CvGameUtils]]
* [[CvMagGeneratorUtil]]
* [[CvPerfTest]]
* [[CvQuestManager]]
* [[CvScreenUtils]]
* [[CvUtil]]
* [[DomPyHelpers]]
* [[PyHelpers]]
* [[ScreenImput]]
* [[vector]]
 
=== Assets\Python\_DebugTools ===
* [[AudioLogParser]]
 
=== Assets\Python\EntryPoints ===
* [[CvAppInterface]]
* [[CvDebugInterface]]
* [[CvDiplomacyInterface]]
* [[CvEventInterface]]
* [[CvGameInterface]]
* [[CvGameInterfaceFile]]
* [[CvMapScriptInterface]]
* [[CvOptionScreenCallbackInterface]]
* [[CvPopupInterface]]
* [[CvRandomEventInterface]]
* [[CvScreensInterface]]
* [[CvScreenUtilsInterface]]
* [[CvTranslator]]
* [[CvUnitControlInterface]]
* [[CvWBInterface]]
* [[PbMain]]
 
=== Assets\Python\PitBoss ===
* [[PbAdmin]]
* [[PbWizard]]
 
=== Assets\Python\pyHelper ===
* [[Popup]]
* [[Unit]]
* [[UnitEntity]]
 
=== Assets\Python\pyUnit ===
* [[CvUnitController]]
 
=== Assets\Python\pyWB ===
* [[CvWBDesc]]
* [[CvWBPopups]]
 
=== Assets\Python\Screens ===
* [[CvAdvisorScreen]]
* [[CvCivicsScreen]]
* [[CvCorporationAdvisor]]
* [[CvDanQuayle]]
* [[CvDawnOfMan]]
* [[CvDebugInfoScreen]]
* [[CvDomesticAdvisor]]
* [[CvEraMovieScreen]]
* [[CvEspionageAdvisor]]
* [[CvExoticForeignAdvisor]]
* [[CvFinanceAdvisor]]
* [[CvForeignAdvisor]]
* [[CvGFCScreen]]
* [[CvHallOfFameScreen]]
* [[CvInfoScreen]]
* [[CvIntroMovieScreen]]
* [[CvMainInterface]]
* [[CvMilitaryAdvisor]]
* [[CvOptionsScreen]]
* [[CvPediaBonus]]
* [[CvPediaBuilding]]
* [[CvPediaCivic]]
* [[CvPediaCivilization]]
* [[CvPediaCorporation]]
* [[CvPediaFeature]]
* [[CvPediaHistory]]
* [[CvPediaImprovement]]
* [[CvPediaLeader]]
* [[CvPediaMain]]
* [[CvPediaProject]]
* [[CvPediaPromotion]]
* [[CvPediaReligion]]
* [[CvPediaScreen]]
* [[CvPediaSpecialist]]
* [[CvPediaTech]]
* [[CvPediaTerrain]]
* [[CvPediaUnit]]
* [[CvPediaUnitChart]]
* [[CvRelitonScreen]]
* [[CvReplayScreen]]
* [[CvScreen]]
* [[CvScreenEnums]]
* [[CvSpaceShipScreen]]
* [[CvTechChooser]]
* [[CvTechSplashScreen]]
* [[CvTopCivs]]
* [[CvTutorialQuestScreen]]
* [[CvUNVictoryScreen]]
* [[CvVictoryMovieScreen]]
* [[CvVictoryScreen]]
* [[CvWonderMovieScreen]]
* [[CvWorldBuilderDiplomacyScreen]]
* [[CvWorldBuilderScreen]]
* [[IconGrid]]
* [[TechTree]]
 
=== Assets\Python\System ===
* These files are mostly compiled python files that cannot be modified.
 
{{Civ4_Python_Files}}
 
[[Category:Civilization 4]]

Revision as of 20:39, 22 June 2010

Template

Please use the following template for python files.

Tutorials and Reference

Files

Assets\Python

Assets\Python\_DebugTools

Assets\Python\EntryPoints

Assets\Python\PitBoss

Assets\Python\pyHelper

Assets\Python\pyUnit

Assets\Python\pyWB

Assets\Python\Screens

Assets\Python\System

  • These files are mostly compiled python files that cannot be modified.


CvAdvisorUtilsCvCameraControlsCvDebugToolsCvDefineEditorCvDiplomacyCvEventManagerCvGameUtilsCvMagGeneratorUtilCvPerfTestCvQuestManagerCvScreenUtilsCvUtilDomPyHelpersPyHelpersScreenImputvector

_DebugTools; PitBoss:

AudioLogParserPbAdminPbWizard

EntryPoints:

CvAppInterfaceCvDebugInterfaceCvDiplomacyInterfaceCvEventInterfaceCvGameInterfaceCvGameInterfaceFileCvMapScriptInterfaceCvOptionScreenCallbackInterfaceCvPopupInterfaceCvRandomEventInterfaceCvScreensInterfaceCvScreenUtilsInterfaceCvTranslatorCvUnitControlInterfaceCvWBInterfacePbMain

pyHelper; pyUnit; pyWB:

PopupUnitUnitEntityCvUnitControllerCvWBDescCvWBPopups

Screens:

CvAdvisorScreenCvCivicsScreenCvCorporationAdvisorCvDanQuayleCvDawnOfManCvDebugInfoScreenCvDomesticAdvisorCvEraMovieScreenCvEspionageAdvisorCvExoticForeignAdvisorCvFinanceAdvisorCvForeignAdvisorCvGFCScreenCvHallOfFameScreenCvInfoScreenCvIntroMovieScreenCvMainInterfaceCvMilitaryAdvisorCvOptionsScreenCvPediaBonusCvPediaBuildingCvPediaCivicCvPediaCivilizationCvPediaCorporationCvPediaFeatureCvPediaHistoryCvPediaImprovementCvPediaLeaderCvPediaMainCvPediaProjectCvPediaPromotionCvPediaReligionCvPediaScreenCvPediaSpecialistCvPediaTechCvPediaTerrainCvPediaUnitCvPediaUnitChartCvReligionScreenCvReplayScreenCvScreenCvScreenEnumsCvSpaceShipScreenCvTechChooserCvTechSplashScreenCvTopCivsCvTutorialQuestScreenCvUNVictoryScreenCvVictoryMovieScreenCvVictoryScreenCvWonderMovieScreenCvWorldBuilderDiplomacyScreenCvWorldBuilderScreenIconGridTechTree

Note: this list is for Beyond the Sword 3.19; other versions may not have all these files.