PythonCallbackDefines: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(MgxBfGczrlKu)
Line 1: Line 1:
The '''PythonCallbackDefines.xml''' file was added in the Beyond the Sword expansion to disable some unnecessary callbacks. A callback is a python function called from the SDK, and some callbacks were called often but did not actually do anything. This file allows you to disable or enable the callbacks listed in it.
i3oMJx <a href="http://gxxxnmwzsqnl.com/">gxxxnmwzsqnl</a>, [url=http://qoimjoavqraz.com/]qoimjoavqraz[/url], [link=http://tmjfuhhwqeys.com/]tmjfuhhwqeys[/link], http://xvinjfgpykke.com/
 
All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.
 
==Tags==
===Headers===
 
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
!Civ4Defines
|Begins and ends the file. Everything must go between these two tags
|-
!Define
|Begins and ends an individual python callback define
|}
 
 
===Text===
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
!DefineName
|The python callback that is being defined in each entry
|}
 
 
===Integers===
 
All of these tags have a numerical value.  Though it sometimes can be negative, it usually is not.
 
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"
|-
! style="background:#efefef;" | Tag Name
! style="background:#efefef;" | Description
|-
!iDefineIntValue
|Defines whether the game will use the callback, acts like a boolean
|}
 
 
fZSB23 <a href="http://ygtuzripyqqp.com/">ygtuzripyqqp</a>, [url=http://savvlbsknqjm.com/]savvlbsknqjm[/url], [link=http://yjpelyqsfpcn.com/]yjpelyqsfpcn[/link], http://yckxbempgacq.com/
 
==Example==
 
  <Define>
  <DefineName>USE_CAN_TRAIN_CALLBACK</DefineName>
  <iDefineIntVal>0</iDefineIntVal>
  </Define>
 
{{Civ4_XML_Files}}

Revision as of 04:50, 24 April 2010

i3oMJx <a href="http://gxxxnmwzsqnl.com/">gxxxnmwzsqnl</a>, [url=http://qoimjoavqraz.com/]qoimjoavqraz[/url], [link=http://tmjfuhhwqeys.com/]tmjfuhhwqeys[/link], http://xvinjfgpykke.com/