New Feature: static fortifications can now be built by mercs (by Flugente)

- if the terrain allows it, an empty sandbag (item 1540) can be filled to a full sandbag (item 1541). You need to have a shovel (item 1015) in your second hand. You will notice the new hammer cursor
- by using a full sandbag, you can build a sandbag barrier
- by using a concertina stack, you can build a concertina wire barrier
- this only works if the current map has sandbags/concertina wire in its tileset
- with a shovel in your hand, you can remove a sandbag barrier
- changed the size of shovel so it can actually be put in inventories. It was also necessary to remove its ability to be used as a melee weapon.
- for further info, see this thread: http://www.bears-pit.com/board/ubbthreads.php/topics/305822.html#Post305822
o Fidel will have a shovel and a few sandbags in his kit #3 to test the feature.

- new code: added a new flagmask variable to items. This one is separately from the attachments index, and can be used to determine item properties without adding up to 32 BOOLEAN varaibles


git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1455 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2012-06-11 08:34:38 +00:00
parent af0c3d652a
commit 45e9b9988d
14 changed files with 118 additions and 12 deletions
+5
View File
@@ -394,6 +394,11 @@ AP_LOSS_PER_LEGSHOT_DAMAGE = 4
DEFAULT_APS = 80
DEFAULT_AIMSKILL = 80
;***********************************************************************
;* The APs needed build a fortification structure *
;***********************************************************************
AP_FORTIFICATION = 80
[BPConstants]
BP_RATIO_RED_PTS_TO_NORMAL = 100
BP_RUN_ENERGYCOSTFACTOR = 3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -1
View File
@@ -1841,9 +1841,12 @@ ZOMBIE_CAN_CLIMB = TRUE
; This still results in deadlocks!
ZOMBIE_EXPLODING_CIVS = TRUE
; Normal and energy damage is reduced by this percentage. Valid valus from -50 to 95
; Damage is reduced by this percentage. Valid values from -50 to 95
ZOMBIE_DAMAGE_RESISTANCE = 0
; Breath damage is reduced by this percentage. Valid values from -50 to 95
ZOMBIE_BREATH_DAMAGE_RESISTANCE = 0
; Extra challenge: If true, only headhots will do any damage, hits to the body or legs won't. Only applies to bullets, though
ZOMBIE_ONLY_HEADSHOTS_WORK = FALSE
@@ -170,4 +170,21 @@
<szMenuRowText>Remove tripwire</szMenuRowText>
<szTooltipText>Remove tripwire from smoke grenade.</szTooltipText>
</TRANSFORM>
<TRANSFORM>
<usItem>1541</usItem>
<usResult1>1540</usResult1>
<usResult2>0</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>50</usAPCost>
<iBPCost>20</iBPCost>
<szMenuRowText>Empty sandbag</szMenuRowText>
<szTooltipText>Empty sand from sandbag.</szTooltipText>
</TRANSFORM>
</TRANSFORMATIONS_LIST>
+75 -1
View File
@@ -166,6 +166,7 @@
<overheatJamThresholdModificator>0.0</overheatJamThresholdModificator>
<overheatDamageThresholdModificator>0.0</overheatDamageThresholdModificator>
<PoisonPercentage>0</PoisonPercentage>
<ItemFlag>4</ItemFlag>
<STAND_MODIFIERS>
<FlatBase>0</FlatBase>
<PercentBase>0</PercentBase>
@@ -30975,7 +30976,7 @@
<ubGraphicNum>197</ubGraphicNum>
<ubWeight>20</ubWeight>
<ubPerPocket>1</ubPerPocket>
<ItemSize>30</ItemSize>
<ItemSize>32</ItemSize>
<usPrice>10</usPrice>
<ubCoolness>1</ubCoolness>
<bRepairEase>-2</bRepairEase>
@@ -30988,6 +30989,7 @@
<BigGunList>1</BigGunList>
<Hardware>1</Hardware>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<ItemFlag>4</ItemFlag>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
@@ -45751,4 +45753,76 @@
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1540</uiIndex>
<szItemName>Sandbags</szItemName>
<szLongItemName>Sandbags, empty</szLongItemName>
<szItemDesc>A bunch of rugged, empty bags. What could you possibly store in there?</szItemDesc>
<szBRName>Sandbags, empty</szBRName>
<szBRDesc>Only a fool would not fortify his position, especially at these prices!</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>891</ubGraphicNum>
<ubWeight>3</ubWeight>
<ubPerPocket>4</ubPerPocket>
<ItemSize>10</ItemSize>
<usPrice>2</usPrice>
<ubCoolness>2</ubCoolness>
<BR_NewInventory>15</BR_NewInventory>
<BR_UsedInventory>10</BR_UsedInventory>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<ItemFlag>1</ItemFlag>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1541</uiIndex>
<szItemName>Sandbags</szItemName>
<szLongItemName>Sandbags, filled</szLongItemName>
<szItemDesc>Whenever you need fortification, flood control, or cheap weigzt lifting equipment, these come in handy.</szItemDesc>
<szBRName>Sandbags</szBRName>
<szBRDesc>Not for sale through BR.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>892</ubGraphicNum>
<ubWeight>200</ubWeight>
<ubPerPocket>1</ubPerPocket>
<ItemSize>22</ItemSize>
<usPrice>2</usPrice>
<ubCoolness>2</ubCoolness>
<WaterDamages>1</WaterDamages>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<ItemFlag>2</ItemFlag>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1542</uiIndex>
<szItemName>Concertina</szItemName>
<szLongItemName>Concertina Stack</szLongItemName>
<szItemDesc>A cheap way of denying access to areas. Be careful, don't hurt yourself while planting this.</szItemDesc>
<szBRName>Concertina Stack</szBRName>
<szBRDesc>Useful for serious fortification of your base, and ruining your fatigues in the process.</szBRDesc>
<usItemClass>268435456</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>893</ubGraphicNum>
<ubWeight>5</ubWeight>
<ubPerPocket>1</ubPerPocket>
<ItemSize>18</ItemSize>
<usPrice>75</usPrice>
<ubCoolness>2</ubCoolness>
<BR_NewInventory>10</BR_NewInventory>
<BR_UsedInventory>6</BR_UsedInventory>
<WaterDamages>1</WaterDamages>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<ItemFlag>8</ItemFlag>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
</ITEMLIST>
+10 -10
View File
@@ -4428,24 +4428,24 @@
<mBig0Status>0</mBig0Status>
<mBig0Quantity>2</mBig0Quantity>
<mBig0Drop>0</mBig0Drop>
<mBig1>134</mBig1>
<mBig1>1015</mBig1>
<mBig1Status>89</mBig1Status>
<mBig1Quantity>1</mBig1Quantity>
<mBig1Drop>0</mBig1Drop>
<mBig2>134</mBig2>
<mBig2Status>93</mBig2Status>
<mBig2Quantity>1</mBig2Quantity>
<mBig2>1540</mBig2>
<mBig2Status>100</mBig2Status>
<mBig2Quantity>8</mBig2Quantity>
<mBig2Drop>0</mBig2Drop>
<mBig3>49</mBig3>
<mBig3Status>91</mBig3Status>
<mBig3Quantity>1</mBig3Quantity>
<mBig3Drop>0</mBig3Drop>
<mSmall0>0</mSmall0>
<mSmall0Status>0</mSmall0Status>
<mSmall0Quantity>0</mSmall0Quantity>
<mSmall1>0</mSmall1>
<mSmall1Status>0</mSmall1Status>
<mSmall1Quantity>0</mSmall1Quantity>
<mSmall0>134</mSmall0>
<mSmall0Status>89</mSmall0Status>
<mSmall0Quantity>1</mSmall0Quantity>
<mSmall1>134</mSmall1>
<mSmall1Status>93</mSmall1Status>
<mSmall1Quantity>1</mSmall1Quantity>
<mSmall2>0</mSmall2>
<mSmall2Status>0</mSmall2Status>
<mSmall2Quantity>0</mSmall2Quantity>
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7
View File
@@ -780,6 +780,13 @@ Represents the AP cost to reload a single round of ammunition.</Description_ENG>
<Description_RUS>Значение меткости по умолчанию для расчета требуемых АР в описании оружия.</Description_RUS>
<Description_POL></Description_POL>
<Description_CHI>枪械信息栏内计算 AP 消耗的默认值,以一个技能值为基准。(大概是技能高低影响 AP 消耗?)</Description_CHI>
</Property>
<Property name="AP_FORTIFICATION" datatype="numeric" minvalue="0" maxvalue="100" defaultvalue="80" interval="1">
<Description_ENG>The APs needed build a fortification structure.</Description_ENG>
<Description_GER></Description_GER>
<Description_RUS></Description_RUS>
<Description_POL></Description_POL>
<Description_CHI></Description_CHI>
</Property>
</Properties>
</Section>
Binary file not shown.