Civ4 Python: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(nFYAyfsri)
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
eD74te  <a href="http://lennyezyfash.com/">lennyezyfash</a>, [url=http://modkcqkgcdab.com/]modkcqkgcdab[/url], [link=http://jrdbtngeylut.com/]jrdbtngeylut[/link], http://wbhzdtcckwht.com/
== 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://forums.civfanatics.com/showthread.php?t=323805 Modding CvGameUtils]
* [http://forums.civfanatics.com/showthread.php?t=331001 How to Make Python Action Buttons]
* [[Civ4_Python/import|Import Guide]]
* [http://forums.civfanatics.com/showthread.php?t=374238 How to make a Python mod]
* [http://forums.civfanatics.com/showthread.php?t=472819 A guide to the API and basic Python modding]
 
== 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]]
* [[CvReligionScreen]]
* [[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]]

Latest revision as of 21:19, 17 August 2012

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.