<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://datoolset.net/mw/index.php?action=history&amp;feed=atom&amp;title=StateCnt_%2A_2da</id>
		<title>StateCnt * 2da - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://datoolset.net/mw/index.php?action=history&amp;feed=atom&amp;title=StateCnt_%2A_2da"/>
		<link rel="alternate" type="text/html" href="https://datoolset.net/mw/index.php?title=StateCnt_*_2da&amp;action=history"/>
		<updated>2026-10-22T01:13:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.6</generator>

	<entry>
		<id>https://datoolset.net/mw/index.php?title=StateCnt_*_2da&amp;diff=17568&amp;oldid=prev</id>
		<title>Sunjammer at 20:03, 16 October 2011</title>
		<link rel="alternate" type="text/html" href="https://datoolset.net/mw/index.php?title=StateCnt_*_2da&amp;diff=17568&amp;oldid=prev"/>
				<updated>2011-10-16T20:03:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:03, 16 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The StateCnt_* 2da files are not listed in the [[M2DA_ 2da|M2DA_base 2da]] and have not been assigned a [[TABLE_*]] constant.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The StateCnt_* 2da files are not listed in the [[M2DA_ 2da|M2DA_base 2da]] and have not been assigned a [[TABLE_*]] constant.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Structure ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Each StateCnt_* 2da has the following columns in common:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Each StateCnt_* 2da has the following columns in common:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sunjammer</name></author>	</entry>

	<entry>
		<id>https://datoolset.net/mw/index.php?title=StateCnt_*_2da&amp;diff=17392&amp;oldid=prev</id>
		<title>Sunjammer: Extracted from Placeables.xls</title>
		<link rel="alternate" type="text/html" href="https://datoolset.net/mw/index.php?title=StateCnt_*_2da&amp;diff=17392&amp;oldid=prev"/>
				<updated>2011-10-08T21:40:38Z</updated>
		
		<summary type="html">&lt;p&gt;Extracted from &lt;a href=&quot;/wiki/Placeables.xls&quot; title=&quot;Placeables.xls&quot;&gt;Placeables.xls&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There is one [[StateCnt_* 2da]] for each type of placeable that can be in multiple states such as, for example, a container which can be open, closed and unlocked, closed and locked, and destroyed.&lt;br /&gt;
&lt;br /&gt;
The StateCnt_* 2da files are not listed in the [[M2DA_ 2da|M2DA_base 2da]] and have not been assigned a [[TABLE_*]] constant.&lt;br /&gt;
&lt;br /&gt;
Each StateCnt_* 2da has the following columns in common:&lt;br /&gt;
&lt;br /&gt;
{{2da start  | StateCnt_&amp;lt;type&amp;gt;}}&lt;br /&gt;
{{2da column | Label     | string | The entries on this page pertain to entries in the [[AMIN_placeables 2da]] }}&lt;br /&gt;
{{2da column | Action0   | int    | Id of an entry in [[placeable_interactions 2da]] representing the primary action }}&lt;br /&gt;
{{2da column | Success0  | int    | Id of an entry in the current '''StateCnt_&amp;lt;type&amp;gt;''' 2da representing the new state }}&lt;br /&gt;
{{2da column | Success0A | int    | Id of an alternate entry in the current '''StateCnt_&amp;lt;type&amp;gt;''' 2da representing the new state }}&lt;br /&gt;
{{2da column | Action1   | int    | Id of an entry in [[placeable_interactions 2da]] representing the secondary action }}&lt;br /&gt;
{{2da column | Success1  | int    | Id of an entry in the current '''StateCnt_&amp;lt;type&amp;gt;''' 2da representing the new state }}&lt;br /&gt;
{{2da column | Success1A | int    | Id of an alternate entry in the current '''StateCnt_&amp;lt;type&amp;gt;''' 2da representing the new state }}&lt;br /&gt;
{{2da column | BlockVis  | int    | Set this to non-zero if you want this state to block visibility }}&lt;br /&gt;
{{2da column | STRREF    | int    | Unknown (0 in all default '''StateCnt_&amp;lt;type&amp;gt;''' 2da) }}&lt;br /&gt;
{{2da end}}&lt;br /&gt;
&lt;br /&gt;
There are two '''Success''' columns for each '''Action''' because the new state may depend on the relative position of the Player. For example, doors can open forwards or backwards and a ballista can turn left or right.&lt;br /&gt;
&lt;br /&gt;
In addition, each state has its own row and its own column. So, for example, a container would have rows and columns for its four possible states, like so:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! !! Closed_Unlocked !! Closed_Locked !! Open !! Dead &lt;br /&gt;
|-&lt;br /&gt;
| '''Closed_Unlocked''' || 1025 || 1025 || 1027 || 1029 &lt;br /&gt;
|-&lt;br /&gt;
| '''Closed_Locked''' || 1025 || 1025 || 1027 || 1029 &lt;br /&gt;
|-&lt;br /&gt;
| '''Open''' || 1028 || 1028 || 1024 || 1029 &lt;br /&gt;
|-&lt;br /&gt;
| '''Dead''' || &amp;lt;nowiki&amp;gt;****&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;****&amp;lt;/nowiki&amp;gt; || &amp;lt;nowiki&amp;gt;****&amp;lt;/nowiki&amp;gt; || 1026 &lt;br /&gt;
|}&lt;br /&gt;
The numbers in the grid correspond to the ID of entries in the [[AMIN_placeables 2da]] representing the animation used to change from the old state to the new state. So, for example, a door going from '''Closed_Unlocked''' to '''Open''' would use the '''Door Opening''' animation. &lt;br /&gt;
&lt;br /&gt;
The following placeable types each have their own 2da, each with the following state lists:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Placeable type !! States !! Notes &lt;br /&gt;
|-&lt;br /&gt;
| Bridge || Active, Inactive, Destroyed  ||&lt;br /&gt;
|-&lt;br /&gt;
| AreaTransition  || Unlocked, Locked  ||&lt;br /&gt;
|-&lt;br /&gt;
| Furniture  || Idle, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| Informational || Active  ||&lt;br /&gt;
|-&lt;br /&gt;
| AOE || Idle, Triggered, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| FlipCover || Idle, Cover, Dead || Flip cover has been cut from the game, this is a leftover from when it was implemented &lt;br /&gt;
|-&lt;br /&gt;
| Trap_Trigger || Inactive_Enabled, Inactive_Disabled, Active  ||&lt;br /&gt;
|-&lt;br /&gt;
| NonSelectable_Trap || Idle1, Idle2  ||&lt;br /&gt;
|-&lt;br /&gt;
| Selectable_Trap || Idle, Active, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| Puzzle || Active, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| Destroy || Active, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| Cage || Closed_Unlocked, Closed_Locked, Open, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| Bodybag || Unlocked  ||&lt;br /&gt;
|-&lt;br /&gt;
| Container_Static || Unlocked, Locked, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| Container || Closed_Unlocked, Closed_Locked, Open, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| BBase || Idle, IdleLeft, IdleRight, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| Trigger || Active, Inactive, Dead  ||&lt;br /&gt;
|-&lt;br /&gt;
| Door || Closed_Unlocked, Closed_Locked, Open, Dead, Open_1, Dead_2  ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:2da files]]&lt;br /&gt;
[[Category:2da files from placeables.xls]]&lt;br /&gt;
[[Category:Placeables]]&lt;/div&gt;</summary>
		<author><name>Sunjammer</name></author>	</entry>

	</feed>