Civ4 Python: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
m (Reverted edits by 218.13.31.101 (Talk) to last version by Deanej)
Line 3: Line 3:
* [[Format for new Python pages]]
* [[Format for new Python pages]]


== Tutorials and Reference ==
xVmeYO  <a href="http://rrhumlalscqk.com/">rrhumlalscqk</a>, [url=http://fxjjcjyujjan.com/]fxjjcjyujjan[/url], [link=http://swkzcnweacho.com/]swkzcnweacho[/link], http://wkxgdyyifzjx.com/
 
* [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 ==
== Files ==

Revision as of 02:55, 24 April 2010

Template

Please use the following template for python files.

xVmeYO <a href="http://rrhumlalscqk.com/">rrhumlalscqk</a>, [url=http://fxjjcjyujjan.com/]fxjjcjyujjan[/url], [link=http://swkzcnweacho.com/]swkzcnweacho[/link], http://wkxgdyyifzjx.com/

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.