- New camo handling:

Camo Kits can now only be used to paint naked skin which usually means face and hands. Clothing will take care of the rest Together they can reach 100% camo.
CAMO_KIT_USABLE_AREA = 5 in Ja2_Options.ini sets the area that can be painted.

CAMO_LBE_OVER_VEST_MODIFIER = 0.2
CAMO_LBE_OVER_PANTS_MODIFIER = 0.6
These two set the amount of camo that armor vest/pants can provide if LBE is worn over them.
http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/327902/Re_Code_Snippets.html#Post327902

- New Mine avoidance for civilians (by Sevenfm)
Civilians can now avoid player placed mines.
CIVILIANS_AVOID_PLAYER_MINES = TRUE in Ja2_Options.INI takes care of that. I set the default to TRUE which will allow players to use mine fields in city sectors.
http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/327817/Re_Code_Snippets.html#Post327817

- Smoke effects and explosive attachments (by Sevenfm)
Normal explosions can now cause a smoke effect. Explosives can be attached to other exlosives to create a more potent bundle. Ja2_Options.INI has some new options for that:
ADD_SMOKE_AFTER_EXPLOSION = FALSE
ALLOW_EXPLOSIVE_ATTACHMENTS = FALSE
ALLOW_SPECIAL_EXPLOSIVE_ATTACHMENTS = FALSE
http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/327918/Re_Code_Snippets.html#Post327918


git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1866 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
silversurfer
2013-11-11 12:50:06 +00:00
parent 9f9b9ebfa4
commit abdd68adc2
5 changed files with 195 additions and 2 deletions
+3 -2
View File
@@ -259,10 +259,11 @@ HANDLING_LAUNCHER_MODIFIER = 1.0
;******************************************************************************************************************************
;******************************************************************************************************************************
; This modifier sets the amount of camouflage on armor that applies when LBE is worn over the armor (NIV only).
; These modifiers set the amount of camouflage on armor that applies when LBE is worn over the armor (NIV only).
; Valid values are from 0.0 to 1.0. 0.0 means no camo bonus from armor, 1.0 means full bonus even if LBE is worn over the armor.
; Default is 0.2
CAMO_LBE_OVER_ARMOR_MODIFIER = 0.2
CAMO_LBE_OVER_VEST_MODIFIER = 0.2
CAMO_LBE_OVER_PANTS_MODIFIER = 0.6
;******************************************************************************************************************************
;******************************************************************************************************************************
+40
View File
@@ -891,6 +891,36 @@ ALLOW_WEAR_SUPPRESSOR = TRUE
ALLOW_LAZY_CIVILIANS = TRUE
;------------------------------------------------------------------------------------------------------------------------------
; Default: FALSE
; Neutral civilians can detect and avoid mines planted by player
;------------------------------------------------------------------------------------------------------------------------------
CIVILIANS_AVOID_PLAYER_MINES = TRUE
;------------------------------------------------------------------------------------------------------------------------------
; Default: FALSE
; Add small smoke after explosion (only outdoor, not underground, only regular type explosion)
;------------------------------------------------------------------------------------------------------------------------------
ADD_SMOKE_AFTER_EXPLOSION = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; Default: FALSE
; Added attachments explode if they have usItemClass 256 or 512 (grenade or explosive), have ubVolatility>0 and
; one of attachments is rubber band or duct tape
;------------------------------------------------------------------------------------------------------------------------------
ALLOW_EXPLOSIVE_ATTACHMENTS = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; Default: FALSE
; Allow special explosive attachments (items with tags <GasCan>, <Marbles> and <Alcohol> add special explosion effects)
; one of attachments must be rubber band or duct tape
;------------------------------------------------------------------------------------------------------------------------------
ALLOW_SPECIAL_EXPLOSIVE_ATTACHMENTS = FALSE
;------------------------------------------------------------------------------------------------------------------------------
; Default: 100
; Chance to say annoying phrase.
@@ -1709,6 +1739,16 @@ SOLDIER_PROFILES_MILITIA = FALSE
CAMO_REMOVING = TRUE
;------------------------------------------------------------------------------------------------------------------------------
; This setting defines the percentage area of a characters body that can be painted with camo kits. Usually only the face and hands
; can be painted with camo. The rest of the body has to be camouflaged by clothing and armor which are already colored.
; Setting this to 0 means camo kits are useless. At 100 camo kits can paint the whole body but cloth camo is useless.
; Valid values are from 0 to 100.
; default is 5
;------------------------------------------------------------------------------------------------------------------------------
CAMO_KIT_USABLE_AREA = 5
;------------------------------------------------------------------------------------------------------------------------------
; Enhanced Close Combat System
;
+61
View File
@@ -1920,4 +1920,65 @@
<ubHorizontalDegree>0</ubHorizontalDegree>
<ubVerticalDegree>0</ubVerticalDegree>
</EXPLOSIVE>
<EXPLOSIVE> <!--SMALL_SMOKE-->
<uiIndex>96</uiIndex>
<ubType>6</ubType>
<ubDamage>0</ubDamage>
<ubStunDamage>0</ubStunDamage>
<ubRadius>1</ubRadius>
<ubVolume>0</ubVolume>
<ubVolatility>0</ubVolatility>
<ubAnimationID>7</ubAnimationID>
<ubDuration>2</ubDuration>
<ubStartRadius>0</ubStartRadius>
<ubMagSize>1</ubMagSize>
<fExplodeOnImpact>0</fExplodeOnImpact>
<usNumFragments>0</usNumFragments>
<ubFragType>0</ubFragType>
<ubFragDamage>0</ubFragDamage>
<ubFragRange>0</ubFragRange>
<ubHorizontalDegree>0</ubHorizontalDegree>
<ubVerticalDegree>0</ubVerticalDegree>
</EXPLOSIVE>
<EXPLOSIVE> <!--GAS_EXPLOSION-->
<uiIndex>97</uiIndex>
<ubType>8</ubType>
<ubDamage>40</ubDamage>
<ubStunDamage>30</ubStunDamage>
<ubRadius>5</ubRadius>
<ubVolume>15</ubVolume>
<ubVolatility>0</ubVolatility>
<ubAnimationID>10</ubAnimationID>
<ubDuration>5</ubDuration>
<ubStartRadius>2</ubStartRadius>
<ubMagSize>1</ubMagSize>
<fExplodeOnImpact>0</fExplodeOnImpact>
<usNumFragments>0</usNumFragments>
<ubFragType>0</ubFragType>
<ubFragDamage>0</ubFragDamage>
<ubFragRange>0</ubFragRange>
<ubHorizontalDegree>0</ubHorizontalDegree>
<ubVerticalDegree>0</ubVerticalDegree>
<bIndoorModifier>0.25</bIndoorModifier>
</EXPLOSIVE>
<EXPLOSIVE> <!--FRAG_EXPLOSION-->
<uiIndex>98</uiIndex>
<ubType>0</ubType>
<ubDamage>0</ubDamage>
<ubStunDamage>0</ubStunDamage>
<ubRadius>1</ubRadius>
<ubVolume>5</ubVolume>
<ubVolatility>0</ubVolatility>
<ubAnimationID>1</ubAnimationID>
<ubDuration>0</ubDuration>
<ubStartRadius>0</ubStartRadius>
<ubMagSize>1</ubMagSize>
<fExplodeOnImpact>0</fExplodeOnImpact>
<usNumFragments>30</usNumFragments>
<ubFragType>0</ubFragType>
<ubFragDamage>3</ubFragDamage>
<ubFragRange>40</ubFragRange>
<ubHorizontalDegree>0</ubHorizontalDegree>
<ubVerticalDegree>0</ubVerticalDegree>
</EXPLOSIVE>
</EXPLOSIVELIST>
+91
View File
@@ -51093,4 +51093,95 @@
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1702</uiIndex>
<szItemName>SMALL_SMOKE</szItemName>
<szLongItemName>SMALL_SMOKE</szLongItemName>
<szItemDesc></szItemDesc>
<szBRName>SMALL_SMOKE</szBRName>
<szBRDesc></szBRDesc>
<usItemClass>256</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<ubClassIndex>96</ubClassIndex>
<ubCursor>6</ubCursor>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>98</ubGraphicNum>
<ubWeight>6</ubWeight>
<ubPerPocket>4</ubPerPocket>
<ItemSize>52</ItemSize>
<usPrice>50</usPrice>
<ubCoolness>3</ubCoolness>
<bRepairEase>-2</bRepairEase>
<Damageable>1</Damageable>
<Repairable>1</Repairable>
<Metal>1</Metal>
<Sinks>1</Sinks>
<Attachment>1</Attachment>
<BR_NewInventory>4</BR_NewInventory>
<BR_UsedInventory>1</BR_UsedInventory>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1703</uiIndex>
<szItemName>GAS_EXPLOSION</szItemName>
<szLongItemName>GAS_EXPLOSION</szLongItemName>
<szItemDesc>GAS_EXPLOSION</szItemDesc>
<szBRName>GAS_EXPLOSION</szBRName>
<szBRDesc>GAS_EXPLOSION</szBRDesc>
<usItemClass>512</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<nasAttachmentClass>1</nasAttachmentClass>
<ubClassIndex>97</ubClassIndex>
<ubGraphicType>2</ubGraphicType>
<ubWeight>11</ubWeight>
<ubPerPocket>1</ubPerPocket>
<ItemSize>60</ItemSize>
<usPrice>500</usPrice>
<ubCoolness>3</ubCoolness>
<bRepairEase>-4</bRepairEase>
<Damageable>1</Damageable>
<Repairable>1</Repairable>
<BR_NewInventory>4</BR_NewInventory>
<BR_UsedInventory>1</BR_UsedInventory>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1704</uiIndex>
<szItemName>FRAG_EXPLOSION</szItemName>
<szLongItemName>FRAG_EXPLOSION</szLongItemName>
<szItemDesc>FRAG_EXPLOSION</szItemDesc>
<szBRName>FRAG_EXPLOSION</szBRName>
<szBRDesc>FRAG_EXPLOSION</szBRDesc>
<usItemClass>256</usItemClass>
<nasLayoutClass>1</nasLayoutClass>
<nasAttachmentClass>1</nasAttachmentClass>
<ubClassIndex>98</ubClassIndex>
<ubCursor>6</ubCursor>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>49</ubGraphicNum>
<ubWeight>6</ubWeight>
<ubPerPocket>4</ubPerPocket>
<ItemSize>40</ItemSize>
<usPrice>200</usPrice>
<ubCoolness>3</ubCoolness>
<bRepairEase>-4</bRepairEase>
<Damageable>1</Damageable>
<Repairable>1</Repairable>
<Metal>1</Metal>
<Sinks>1</Sinks>
<Attachment>1</Attachment>
<buddyitem>4512</buddyitem>
<BR_NewInventory>4</BR_NewInventory>
<BR_UsedInventory>1</BR_UsedInventory>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
</ITEMLIST>
Binary file not shown.