CvDawnOfMan

From Civilization Modding Wiki
Jump to navigationJump to search

The CvDawnOfMan file is a python interface file that controls the appearance of the screen you get after first starting a game, called the "Dawn of Man" screen. It defines the popup screen and everything in it.

The Python files are written in the python programming language. They can be edited in a text editor such as notepad or in a programming editor like Python's IDLE.

W1jZef <a href="http://bawovlvvqhmj.com/">bawovlvvqhmj</a>, [url=http://wggywwblxxyi.com/]wggywwblxxyi[/url], [link=http://ighsmoulyakw.com/]ighsmoulyakw[/link], http://yeiuavrwwnol.com/

Example

This example is a quick idea of what you can do with functions in this file. It adds your leaderhead art to the screen.

# Leaderhead graphic
szLeaderPanel = "DawnOfManLeaderPanel"
screen.addPanel( szLeaderPanel, "", "", true, false,
	 self.X_LEADER_ICON - 3, self.Y_LEADER_ICON - 5, self.W_LEADER_ICON + 6, self.H_LEADER_ICON + 8, PanelStyles.PANEL_STYLE_DAWNTOP )
screen.addLeaderheadGFC("LeaderHead", self.player.getLeaderType(), AttitudeTypes.ATTITUDE_PLEASED,
	 self.X_LEADER_ICON + 5, self.Y_LEADER_ICON + 5, self.W_LEADER_ICON - 10, self.H_LEADER_ICON - 10, WidgetTypes.WIDGET_GENERAL, -1, -1)


CvAdvisorUtils • CvCameraControls • CvDebugTools • CvDefineEditor • CvDiplomacy • CvEventManager • CvGameUtils • CvMagGeneratorUtil • CvPerfTest • CvQuestManager • CvScreenUtils • CvUtil • DomPyHelpers • PyHelpers • ScreenImput • vector

_DebugTools; PitBoss:

AudioLogParser • PbAdmin • PbWizard

EntryPoints:

CvAppInterface • CvDebugInterface • CvDiplomacyInterface • CvEventInterface • CvGameInterface • CvGameInterfaceFile • CvMapScriptInterface • CvOptionScreenCallbackInterface • CvPopupInterface • CvRandomEventInterface • CvScreensInterface • CvScreenUtilsInterface • CvTranslator • CvUnitControlInterface • CvWBInterface • PbMain

pyHelper; pyUnit; pyWB:

Popup • Unit • UnitEntity • CvUnitController • CvWBDesc • CvWBPopups

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

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