https://modiki.civfanatics.com/index.php?title=Civ4EffectInfos&feed=atom&action=historyCiv4EffectInfos - Revision history2024-03-29T11:13:08ZRevision history for this page on the wikiMediaWiki 1.38.2https://modiki.civfanatics.com/index.php?title=Civ4EffectInfos&diff=14210&oldid=prevDeanej: Created page with "The '''Civ4EffectInfos''' file defines various effects used in the game. All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes..."2013-01-14T22:15:45Z<p>Created page with "The '''Civ4EffectInfos''' file defines various effects used in the game. All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes..."</p>
<p><b>New page</b></p><div>The '''Civ4EffectInfos''' file defines various effects used in the game.<br />
<br />
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. <br />
<br />
<font color=red>This page is missing information.<br />
Do not remove this notice until it is complete.</font><br />
<br />
<br />
==Tags==<br />
===Headers===<br />
<br />
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!EffectInfo<br />
|Main bracket for each entry<br />
|-<br />
!Type<br />
|Name used in other files<br />
|}<br />
<br />
<br />
===Text===<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!Description<br />
|Unknown<br />
|}<br />
<br />
<br />
===Floats===<br />
<br />
All of these tags have a decimal value.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!fScale<br />
|Unknown<br />
|-<br />
!fUpdateRate<br />
|Unknown<br />
|}<br />
<br />
<br />
===Boolean===<br />
<br />
All of these can either be 1 (on, or true) or 0 (off, or false). Be careful, as you can wind up with a double-negative, which the game will interpret as "True".<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!bIsProjectile<br />
|Unknown<br />
|}<br />
<br />
<br />
===Art===<br />
<br />
These tags are directly related to the rendering of art for the entry.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!Path<br />
|Unknown<br />
|}<br />
<br />
<br />
==Example==<br />
<br />
In the following example of code, please note that there is a specific order of all of the tags. You ''must'' list the tags in this order for the game to properly interpret your file.<br />
<br />
<EffectInfo><br />
<Type>EFFECT_PING</Type><br />
<Description>Ping</Description><br />
<fScale>1.0</fScale><br />
<fUpdateRate>1.0</fUpdateRate><br />
<Path>Art/Interface/Effects/EmpBlast.nif</Path><br />
<bIsProjectile>0</bIsProjectile><br />
</EffectInfo><br />
<br />
{{Civ4_XML_Files}}</div>Deanej