Feature improvement:

- via StructureConstruct.xml and StructureDeconstruct.xml, one can now define which structures can be removed and created via items and the fortifications feature.
- added building materials to create wooden debris and walls

For more information, see http://www.ja-galaxy-forum.com/ubbthreads.php/topics/335557#Post335557

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2140 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2014-09-06 23:58:11 +00:00
parent e8412f6d9d
commit 360bac0909
11 changed files with 437 additions and 4 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -544,4 +544,72 @@
<szMenuRowText>OFF</szMenuRowText>
<szTooltipText>Switch off flashlight.</szTooltipText>
</TRANSFORM>
<TRANSFORM>
<usItem>1722</usItem>
<usResult1>1721</usResult1>
<usResult2>1721</usResult2>
<usResult3>0</usResult3>
<usResult4>0</usResult4>
<usResult5>0</usResult5>
<usResult6>0</usResult6>
<usResult7>0</usResult7>
<usResult8>0</usResult8>
<usResult9>0</usResult9>
<usResult10>0</usResult10>
<usAPCost>20</usAPCost>
<iBPCost>20</iBPCost>
<szMenuRowText>Seperate Stacks</szMenuRowText>
<szTooltipText>seperate into 2 small stacks</szTooltipText>
</TRANSFORM>
<TRANSFORM>
<usItem>1723</usItem>
<usResult1>1722</usResult1>
<usResult2>1722</usResult2>
<usResult3>0</usResult3>
<usResult4>0</usResult4>
<usResult5>0</usResult5>
<usResult6>0</usResult6>
<usResult7>0</usResult7>
<usResult8>0</usResult8>
<usResult9>0</usResult9>
<usResult10>0</usResult10>
<usAPCost>20</usAPCost>
<iBPCost>20</iBPCost>
<szMenuRowText>Seperate Stacks</szMenuRowText>
<szTooltipText>seperate into 2 medium stacks</szTooltipText>
</TRANSFORM>
<TRANSFORM>
<usItem>1723</usItem>
<usResult1>1722</usResult1>
<usResult2>1721</usResult2>
<usResult3>1721</usResult3>
<usResult4>0</usResult4>
<usResult5>0</usResult5>
<usResult6>0</usResult6>
<usResult7>0</usResult7>
<usResult8>0</usResult8>
<usResult9>0</usResult9>
<usResult10>0</usResult10>
<usAPCost>20</usAPCost>
<iBPCost>20</iBPCost>
<szMenuRowText>Seperate Stacks</szMenuRowText>
<szTooltipText>seperates into 1 medium and 2 small stacks</szTooltipText>
</TRANSFORM>
<TRANSFORM>
<usItem>1723</usItem>
<usResult1>1721</usResult1>
<usResult2>1721</usResult2>
<usResult3>1721</usResult3>
<usResult4>1721</usResult4>
<usResult5>0</usResult5>
<usResult6>0</usResult6>
<usResult7>0</usResult7>
<usResult8>0</usResult8>
<usResult9>0</usResult9>
<usResult10>0</usResult10>
<usAPCost>20</usAPCost>
<iBPCost>20</iBPCost>
<szMenuRowText>Seperate Stacks</szMenuRowText>
<szTooltipText>seperate into 4 small stacks</szTooltipText>
</TRANSFORM>
</TRANSFORMATIONS_LIST>
+144 -4
View File
@@ -46527,6 +46527,7 @@
<BR_NewInventory>15</BR_NewInventory>
<BR_UsedInventory>10</BR_UsedInventory>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<buddyitem>1541</buddyitem>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
@@ -46540,7 +46541,6 @@
<szBRDesc>Not for sale through BR.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ItemFlag>2</ItemFlag>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>892</ubGraphicNum>
<ubWeight>200</ubWeight>
@@ -46563,13 +46563,12 @@
<szBRDesc>Useful for serious fortification of your base, and ruining your fatigues in the process.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ItemFlag>8</ItemFlag>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>893</ubGraphicNum>
<ubWeight>5</ubWeight>
<ubWeight>50</ubWeight>
<ubPerPocket>1</ubPerPocket>
<ItemSize>18</ItemSize>
<usPrice>75</usPrice>
<usPrice>200</usPrice>
<ubCoolness>2</ubCoolness>
<WaterDamages>1</WaterDamages>
<BR_NewInventory>10</BR_NewInventory>
@@ -51602,4 +51601,145 @@
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1721</uiIndex>
<szItemName>Wooden Planks, small</szItemName>
<szLongItemName>Wooden Planks, small</szLongItemName>
<szItemDesc>Wooden Planks. 1x1</szItemDesc>
<szBRName>Wooden Planks, small</szBRName>
<szBRDesc>Not for sale.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasAttachmentClass>1</nasAttachmentClass>
<ItemFlag>8</ItemFlag>
<ubGraphicType>2</ubGraphicType>
<ubGraphicNum>235</ubGraphicNum>
<ubWeight>60</ubWeight>
<ItemSize>949</ItemSize>
<usPrice>1</usPrice>
<ubCoolness>1</ubCoolness>
<Damageable>1</Damageable>
<TwoHanded>1</TwoHanded>
<usOverheatingCooldownFactor>100</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1722</uiIndex>
<szItemName>Wooden Planks, medium</szItemName>
<szLongItemName>Wooden Planks, medium</szLongItemName>
<szItemDesc>Wooden Planks. 2x1</szItemDesc>
<szBRName>Wooden Planks, medium</szBRName>
<szBRDesc>Not for sale.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasAttachmentClass>1</nasAttachmentClass>
<ItemFlag>8</ItemFlag>
<ubGraphicType>2</ubGraphicType>
<ubGraphicNum>236</ubGraphicNum>
<ubWeight>90</ubWeight>
<ItemSize>949</ItemSize>
<usPrice>1</usPrice>
<ubCoolness>1</ubCoolness>
<Damageable>1</Damageable>
<TwoHanded>1</TwoHanded>
<usOverheatingCooldownFactor>100</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1723</uiIndex>
<szItemName>Wooden Planks, large</szItemName>
<szLongItemName>Wooden Planks, large</szLongItemName>
<szItemDesc>Wooden Planks. 2x2</szItemDesc>
<szBRName>Wooden Planks, large</szBRName>
<szBRDesc>Not for sale.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasAttachmentClass>1</nasAttachmentClass>
<ItemFlag>8</ItemFlag>
<ubGraphicType>2</ubGraphicType>
<ubGraphicNum>237</ubGraphicNum>
<ubWeight>120</ubWeight>
<ItemSize>949</ItemSize>
<usPrice>1</usPrice>
<ubCoolness>1</ubCoolness>
<Damageable>1</Damageable>
<TwoHanded>1</TwoHanded>
<usOverheatingCooldownFactor>100</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1724</uiIndex>
<szItemName>Wooden Wall, small</szItemName>
<szLongItemName>Wooden Wall, small</szLongItemName>
<szItemDesc>A small wooden wall, used for construction.</szItemDesc>
<szBRName>Wooden Wall, small</szBRName>
<szBRDesc>Not for sale.</szBRDesc>
<usItemClass>268435456</usItemClass>
<ItemFlag>8</ItemFlag>
<ubGraphicType>2</ubGraphicType>
<ubGraphicNum>238</ubGraphicNum>
<ubWeight>80</ubWeight>
<ItemSize>949</ItemSize>
<usPrice>40</usPrice>
<ubCoolness>1</ubCoolness>
<Damageable>1</Damageable>
<Repairable>1</Repairable>
<TwoHanded>1</TwoHanded>
<usOverheatingCooldownFactor>100</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1725</uiIndex>
<szItemName>Wooden Wall, large</szItemName>
<szLongItemName>Wooden Wall, large</szLongItemName>
<szItemDesc>A large wooden wall, used for construction.</szItemDesc>
<szBRName>Wooden Wall, large</szBRName>
<szBRDesc>Not for sale.</szBRDesc>
<usItemClass>268435456</usItemClass>
<ItemFlag>8</ItemFlag>
<ubGraphicType>2</ubGraphicType>
<ubGraphicNum>239</ubGraphicNum>
<ubWeight>150</ubWeight>
<ItemSize>949</ItemSize>
<usPrice>100</usPrice>
<ubCoolness>1</ubCoolness>
<Damageable>1</Damageable>
<Repairable>1</Repairable>
<TwoHanded>1</TwoHanded>
<usOverheatingCooldownFactor>100</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1726</uiIndex>
<szItemName>Nails</szItemName>
<szLongItemName>Pack of Nails</szLongItemName>
<szItemDesc>A pack of eight inch nails. Useful for building stuff made of wood.</szItemDesc>
<szBRName>Pack of Nails</szBRName>
<szBRDesc>Not for sale.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasAttachmentClass>1</nasAttachmentClass>
<ubGraphicType>2</ubGraphicType>
<ubGraphicNum>240</ubGraphicNum>
<ubWeight>3</ubWeight>
<ItemSize>916</ItemSize>
<usPrice>5</usPrice>
<ubCoolness>1</ubCoolness>
<Damageable>1</Damageable>
<Metal>1</Metal>
<Sinks>1</Sinks>
<Attachment>1</Attachment>
<HiddenAttachment>1</HiddenAttachment>
<Hardware>1</Hardware>
<usOverheatingCooldownFactor>100</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
</ITEMLIST>
@@ -5768,6 +5768,14 @@
<mergeType>4</mergeType>
<APCost>20</APCost>
</MERGE>
<MERGE>
<firstItemIndex>1542</firstItemIndex>
<secondItemIndex>1542</secondItemIndex>
<firstResultingItemIndex>1542</firstResultingItemIndex>
<secondResultingItemIndex>0</secondResultingItemIndex>
<mergeType>1</mergeType>
<APCost>32</APCost>
</MERGE>
<MERGE>
<firstItemIndex>1546</firstItemIndex>
<secondItemIndex>1546</secondItemIndex>
@@ -5824,4 +5832,52 @@
<mergeType>1</mergeType>
<APCost>32</APCost>
</MERGE>
<MERGE>
<firstItemIndex>1721</firstItemIndex>
<secondItemIndex>1721</secondItemIndex>
<firstResultingItemIndex>1722</firstResultingItemIndex>
<secondResultingItemIndex>0</secondResultingItemIndex>
<mergeType>4</mergeType>
<APCost>10</APCost>
</MERGE>
<MERGE>
<firstItemIndex>1722</firstItemIndex>
<secondItemIndex>1722</secondItemIndex>
<firstResultingItemIndex>1723</firstResultingItemIndex>
<secondResultingItemIndex>0</secondResultingItemIndex>
<mergeType>4</mergeType>
<APCost>20</APCost>
</MERGE>
<MERGE>
<firstItemIndex>1722</firstItemIndex>
<secondItemIndex>1726</secondItemIndex>
<firstResultingItemIndex>1724</firstResultingItemIndex>
<secondResultingItemIndex>0</secondResultingItemIndex>
<mergeType>4</mergeType>
<APCost>90</APCost>
</MERGE>
<MERGE>
<firstItemIndex>1723</firstItemIndex>
<secondItemIndex>1726</secondItemIndex>
<firstResultingItemIndex>1725</firstResultingItemIndex>
<secondResultingItemIndex>0</secondResultingItemIndex>
<mergeType>4</mergeType>
<APCost>90</APCost>
</MERGE>
<MERGE>
<firstItemIndex>1726</firstItemIndex>
<secondItemIndex>1722</secondItemIndex>
<firstResultingItemIndex>1724</firstResultingItemIndex>
<secondResultingItemIndex>0</secondResultingItemIndex>
<mergeType>4</mergeType>
<APCost>90</APCost>
</MERGE>
<MERGE>
<firstItemIndex>1726</firstItemIndex>
<secondItemIndex>1723</secondItemIndex>
<firstResultingItemIndex>1725</firstResultingItemIndex>
<secondResultingItemIndex>0</secondResultingItemIndex>
<mergeType>4</mergeType>
<APCost>90</APCost>
</MERGE>
</MERGELIST>
@@ -0,0 +1,109 @@
<STRUCTURESLIST>
<STRUCTURE><!--sandbags-->
<usCreationItem>1541</usCreationItem>
<usItemStatusLoss>100</usItemStatusLoss>
<szTileSetName>sandbag.sti</szTileSetName>
<northfacingtile>3</northfacingtile>
<northfacingtile>4</northfacingtile>
<southfacingtile>3</southfacingtile>
<southfacingtile>4</southfacingtile>
<eastfacingtile>8</eastfacingtile>
<eastfacingtile>9</eastfacingtile>
<westfacingtile>8</westfacingtile>
<westfacingtile>9</westfacingtile>
</STRUCTURE>
<STRUCTURE><!--concertina wire-->
<usCreationItem>1542</usCreationItem>
<usItemStatusLoss>1</usItemStatusLoss>
<szTileSetName>spot_1.sti</szTileSetName>
<northfacingtile>3</northfacingtile>
<northfacingtile>5</northfacingtile>
<southfacingtile>3</southfacingtile>
<southfacingtile>5</southfacingtile>
<eastfacingtile>2</eastfacingtile>
<eastfacingtile>4</eastfacingtile>
<westfacingtile>2</westfacingtile>
<westfacingtile>4</westfacingtile>
</STRUCTURE>
<STRUCTURE><!--wooden planks, small 1x1 -->
<usCreationItem>1721</usCreationItem>
<usItemStatusLoss>100</usItemStatusLoss>
<szTileSetName>deb_02.sti</szTileSetName>
<northfacingtile>6</northfacingtile>
<northfacingtile>7</northfacingtile>
<northfacingtile>8</northfacingtile>
<northfacingtile>9</northfacingtile>
<southfacingtile>6</southfacingtile>
<southfacingtile>7</southfacingtile>
<southfacingtile>8</southfacingtile>
<southfacingtile>9</southfacingtile>
<eastfacingtile>6</eastfacingtile>
<eastfacingtile>7</eastfacingtile>
<eastfacingtile>8</eastfacingtile>
<eastfacingtile>9</eastfacingtile>
<westfacingtile>6</westfacingtile>
<westfacingtile>7</westfacingtile>
<westfacingtile>8</westfacingtile>
<westfacingtile>9</westfacingtile>
</STRUCTURE>
<STRUCTURE><!--wooden planks, medium 2x1 -->
<usCreationItem>1722</usCreationItem>
<usItemStatusLoss>100</usItemStatusLoss>
<szTileSetName>deb_02.sti</szTileSetName>
<northfacingtile>1</northfacingtile>
<southfacingtile>1</southfacingtile>
<eastfacingtile>2</eastfacingtile>
<westfacingtile>2</westfacingtile>
</STRUCTURE>
<STRUCTURE><!--wooden planks, large 2x2 -->
<usCreationItem>1723</usCreationItem>
<usItemStatusLoss>100</usItemStatusLoss>
<szTileSetName>deb_02.sti</szTileSetName>
<northfacingtile>0</northfacingtile>
<northfacingtile>3</northfacingtile>
<northfacingtile>4</northfacingtile>
<northfacingtile>5</northfacingtile>
<southfacingtile>0</southfacingtile>
<southfacingtile>3</southfacingtile>
<southfacingtile>4</southfacingtile>
<southfacingtile>5</southfacingtile>
<eastfacingtile>0</eastfacingtile>
<eastfacingtile>3</eastfacingtile>
<eastfacingtile>4</eastfacingtile>
<eastfacingtile>5</eastfacingtile>
<westfacingtile>0</westfacingtile>
<westfacingtile>3</westfacingtile>
<westfacingtile>4</westfacingtile>
<westfacingtile>5</westfacingtile>
</STRUCTURE>
<STRUCTURE><!--wooden wall, small -->
<usCreationItem>1724</usCreationItem>
<usItemStatusLoss>100</usItemStatusLoss>
<szTileSetName>walldec1.sti</szTileSetName>
<northfacingtile>2</northfacingtile>
<northfacingtile>3</northfacingtile>
<northfacingtile>4</northfacingtile>
<southfacingtile>2</southfacingtile>
<southfacingtile>3</southfacingtile>
<southfacingtile>4</southfacingtile>
<eastfacingtile>7</eastfacingtile>
<eastfacingtile>8</eastfacingtile>
<eastfacingtile>9</eastfacingtile>
<westfacingtile>7</westfacingtile>
<westfacingtile>8</westfacingtile>
<westfacingtile>9</westfacingtile>
</STRUCTURE>
<STRUCTURE><!--wooden wall, large -->
<usCreationItem>1725</usCreationItem>
<usItemStatusLoss>100</usItemStatusLoss>
<szTileSetName>walldec1.sti</szTileSetName>
<northfacingtile>0</northfacingtile>
<northfacingtile>1</northfacingtile>
<southfacingtile>0</southfacingtile>
<southfacingtile>1</southfacingtile>
<eastfacingtile>5</eastfacingtile>
<eastfacingtile>6</eastfacingtile>
<westfacingtile>5</westfacingtile>
<westfacingtile>6</westfacingtile>
</STRUCTURE>
</STRUCTURESLIST>
@@ -0,0 +1,60 @@
<STRUCTURESLIST>
<STRUCTURE><!-- sandbag -->
<usDeconstructItem>1543</usDeconstructItem>
<usItemToCreate>1541</usItemToCreate>
<usCreatedItemStatus>100</usCreatedItemStatus>
<szTileSetName>sandbag.sti</szTileSetName>
<allowedtile>0</allowedtile>
<allowedtile>1</allowedtile>
<allowedtile>2</allowedtile>
<allowedtile>3</allowedtile>
<allowedtile>4</allowedtile>
<allowedtile>5</allowedtile>
<allowedtile>6</allowedtile>
<allowedtile>7</allowedtile>
<allowedtile>8</allowedtile>
<allowedtile>9</allowedtile>
</STRUCTURE>
<STRUCTURE><!-- concertina wire -->
<usDeconstructItem>243</usDeconstructItem>
<usItemToCreate>1542</usItemToCreate>
<usCreatedItemStatus>1</usCreatedItemStatus>
<szTileSetName>spot_1.sti</szTileSetName>
<allowedtile>2</allowedtile>
<allowedtile>3</allowedtile>
<allowedtile>4</allowedtile>
<allowedtile>5</allowedtile>
<allowedtile>6</allowedtile>
<allowedtile>7</allowedtile>
<allowedtile>8</allowedtile>
<allowedtile>9</allowedtile>
</STRUCTURE>
<STRUCTURE><!-- wooden planks, small -->
<usDeconstructItem>1543</usDeconstructItem>
<usItemToCreate>1721</usItemToCreate>
<usCreatedItemStatus>100</usCreatedItemStatus>
<szTileSetName>deb_02.sti</szTileSetName>
<allowedtile>6</allowedtile>
<allowedtile>7</allowedtile>
<allowedtile>8</allowedtile>
<allowedtile>9</allowedtile>
</STRUCTURE>
<STRUCTURE><!-- wooden planks, medium -->
<usDeconstructItem>1543</usDeconstructItem>
<usItemToCreate>1722</usItemToCreate>
<usCreatedItemStatus>100</usCreatedItemStatus>
<szTileSetName>deb_02.sti</szTileSetName>
<allowedtile>1</allowedtile>
<allowedtile>2</allowedtile>
</STRUCTURE>
<STRUCTURE><!-- wooden planks, large -->
<usDeconstructItem>1543</usDeconstructItem>
<usItemToCreate>1723</usItemToCreate>
<usCreatedItemStatus>100</usCreatedItemStatus>
<szTileSetName>deb_02.sti</szTileSetName>
<allowedtile>0</allowedtile>
<allowedtile>3</allowedtile>
<allowedtile>4</allowedtile>
<allowedtile>5</allowedtile>
</STRUCTURE>
</STRUCTURESLIST>