mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
New Feature: Spotter skill (available to every merc) allows a merc to be spotter for other snipers. Spotter items have to be in hands, spending APs cancels action.
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1896 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -431,6 +431,11 @@ AP_APPLYITEM = 50
|
|||||||
;***********************************************************************
|
;***********************************************************************
|
||||||
AP_INVENTORY_ARM = 20
|
AP_INVENTORY_ARM = 20
|
||||||
|
|
||||||
|
;***********************************************************************
|
||||||
|
;* The APs for activating the spotter skill *
|
||||||
|
;***********************************************************************
|
||||||
|
AP_SPOTTER = 20
|
||||||
|
|
||||||
[BPConstants]
|
[BPConstants]
|
||||||
BP_RATIO_RED_PTS_TO_NORMAL = 100
|
BP_RATIO_RED_PTS_TO_NORMAL = 100
|
||||||
;***********************************************************************
|
;***********************************************************************
|
||||||
|
|||||||
@@ -1527,6 +1527,29 @@ USE_SCOPE_MODES = TRUE
|
|||||||
; Allow display of scope modes on weapon
|
; Allow display of scope modes on weapon
|
||||||
DISPLAY_SCOPE_MODES = TRUE
|
DISPLAY_SCOPE_MODES = TRUE
|
||||||
|
|
||||||
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
; Spotter skill
|
||||||
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
; You can assign a merc to spot for fellow snipers via calling the Skill Menu ($) -> various -> Spotter.
|
||||||
|
; You need an item the usSpotting-tag in your hands.
|
||||||
|
; The bonus applies to anyone of your team using a sniper weapon on a location your spotter can see.
|
||||||
|
; Effectiveness depends on:
|
||||||
|
; - spotters spotter item effectiveness (40%), experience (30%), marksmanship (20%) and leadership (10%)
|
||||||
|
; - lowered by being wounded or fatigues
|
||||||
|
; - altered by relation between spotter and sniper (base opinion, sexism, racism etc.) and spotter background
|
||||||
|
|
||||||
|
; The bonus will be this many turns after activating the skill. Spending any AP with your spotter forfeits the bonus.
|
||||||
|
SPOTTER_PREPARATIONTURNS = 3
|
||||||
|
|
||||||
|
; This variable intentionally has two meanings.
|
||||||
|
; - A sniper will benefit from a spotter only if he is at maximum SPOTTER_RANGE tiles away from him.
|
||||||
|
; - The bonus only works on those locations the spotter can see and that are AT LEAST 2 * SPOTTER_RANGE tiles away.
|
||||||
|
SPOTTER_RANGE = 10
|
||||||
|
|
||||||
|
; Maximum bonus that can be reached once spoter has waited 2 * SPOTTER_PREPARATIONTURNS turns
|
||||||
|
SPOTTER_MAX_CTHBOOST = 50
|
||||||
|
|
||||||
;------------------------------------------------------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
; external feeding
|
; external feeding
|
||||||
;------------------------------------------------------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -79,6 +79,7 @@
|
|||||||
<breachingcharge>0</breachingcharge> <!-- +- success chance with door braching charges, -100 to 100 -->
|
<breachingcharge>0</breachingcharge> <!-- +- success chance with door braching charges, -100 to 100 -->
|
||||||
<cth_vs_creatures>0</cth_vs_creatures> <!-- +- cth with firearms when aiming at creatures, -10 to 10 -->
|
<cth_vs_creatures>0</cth_vs_creatures> <!-- +- cth with firearms when aiming at creatures, -10 to 10 -->
|
||||||
<insurance>0</insurance> <!-- +- % insurance cost, -50 to 200 -->
|
<insurance>0</insurance> <!-- +- % insurance cost, -50 to 200 -->
|
||||||
|
<spotter>0</spotter> <!-- +- % spotter skill effectiveness, -30 to 30 -->
|
||||||
|
|
||||||
<!-- on/off properties: 1 for on, 0 for off -->
|
<!-- on/off properties: 1 for on, 0 for off -->
|
||||||
<druguse>0</druguse> <!-- might use drugs from inventory (the 'Larry'-behaviour) -->
|
<druguse>0</druguse> <!-- might use drugs from inventory (the 'Larry'-behaviour) -->
|
||||||
@@ -435,6 +436,7 @@
|
|||||||
<szDescription>Some people display a knack for shooting, and a disturbing aggression against innocent paper bull's eyes.</szDescription>
|
<szDescription>Some people display a knack for shooting, and a disturbing aggression against innocent paper bull's eyes.</szDescription>
|
||||||
<marksmanship>3</marksmanship>
|
<marksmanship>3</marksmanship>
|
||||||
<increased_maxcth>1</increased_maxcth>
|
<increased_maxcth>1</increased_maxcth>
|
||||||
|
<spotter>5</spotter>
|
||||||
</BACKGROUND>
|
</BACKGROUND>
|
||||||
<BACKGROUND>
|
<BACKGROUND>
|
||||||
<uiIndex>38</uiIndex>
|
<uiIndex>38</uiIndex>
|
||||||
@@ -789,7 +791,7 @@
|
|||||||
<uiIndex>71</uiIndex>
|
<uiIndex>71</uiIndex>
|
||||||
<szName>Big Game Hunter</szName>
|
<szName>Big Game Hunter</szName>
|
||||||
<szShortName>Big Game Hunter</szShortName>
|
<szShortName>Big Game Hunter</szShortName>
|
||||||
<szDescription>Travel to pristine nature, seek fascinating species, and KILL THEM ALL.</szDescription>
|
<szDescription>Travel to virgin soil, seek fascinating species, and KILL THEM ALL.</szDescription>
|
||||||
<ap_desert>1</ap_desert>
|
<ap_desert>1</ap_desert>
|
||||||
<ap_swamp>2</ap_swamp>
|
<ap_swamp>2</ap_swamp>
|
||||||
<ap_urban>-3</ap_urban>
|
<ap_urban>-3</ap_urban>
|
||||||
@@ -812,4 +814,20 @@
|
|||||||
<breachingcharge>20</breachingcharge>
|
<breachingcharge>20</breachingcharge>
|
||||||
<scrounging>1</scrounging>
|
<scrounging>1</scrounging>
|
||||||
</BACKGROUND>
|
</BACKGROUND>
|
||||||
|
<BACKGROUND>
|
||||||
|
<uiIndex>73</uiIndex>
|
||||||
|
<szName>Peeper</szName>
|
||||||
|
<szShortName>Peeper</szShortName>
|
||||||
|
<szDescription>Why is this still necessary? Dude, visit the internet...</szDescription>
|
||||||
|
<stealth>4</stealth>
|
||||||
|
<spotter>15</spotter>
|
||||||
|
<no_female>1</no_female>
|
||||||
|
</BACKGROUND>
|
||||||
|
<BACKGROUND>
|
||||||
|
<uiIndex>74</uiIndex>
|
||||||
|
<szName>Spotter</szName>
|
||||||
|
<szShortName>Spotter</szShortName>
|
||||||
|
<szDescription>Paired with a sniper, it is your job to make out targets and help in shot calculations</szDescription>
|
||||||
|
<spotter>30</spotter>
|
||||||
|
</BACKGROUND>
|
||||||
</BACKGROUNDS>
|
</BACKGROUNDS>
|
||||||
@@ -183,6 +183,7 @@
|
|||||||
<ItemChoiceTimeSetting>0</ItemChoiceTimeSetting>
|
<ItemChoiceTimeSetting>0</ItemChoiceTimeSetting>
|
||||||
<buddyitem>0</buddyitem>
|
<buddyitem>0</buddyitem>
|
||||||
<SleepModifier>0</SleepModifier>
|
<SleepModifier>0</SleepModifier>
|
||||||
|
<usSpotting>0</usSpotting>
|
||||||
<STAND_MODIFIERS>
|
<STAND_MODIFIERS>
|
||||||
<FlatBase>0</FlatBase>
|
<FlatBase>0</FlatBase>
|
||||||
<PercentBase>0</PercentBase>
|
<PercentBase>0</PercentBase>
|
||||||
@@ -6131,6 +6132,7 @@
|
|||||||
<BrightLightVisionRangeBonus>80</BrightLightVisionRangeBonus>
|
<BrightLightVisionRangeBonus>80</BrightLightVisionRangeBonus>
|
||||||
<PercentTunnelVision>70</PercentTunnelVision>
|
<PercentTunnelVision>70</PercentTunnelVision>
|
||||||
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
|
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
|
||||||
|
<usSpotting>50</usSpotting>
|
||||||
<STAND_MODIFIERS />
|
<STAND_MODIFIERS />
|
||||||
<CROUCH_MODIFIERS />
|
<CROUCH_MODIFIERS />
|
||||||
<PRONE_MODIFIERS />
|
<PRONE_MODIFIERS />
|
||||||
@@ -6167,6 +6169,7 @@
|
|||||||
<BrightLightVisionRangeBonus>50</BrightLightVisionRangeBonus>
|
<BrightLightVisionRangeBonus>50</BrightLightVisionRangeBonus>
|
||||||
<PercentTunnelVision>40</PercentTunnelVision>
|
<PercentTunnelVision>40</PercentTunnelVision>
|
||||||
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
|
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
|
||||||
|
<usSpotting>70</usSpotting>
|
||||||
<STAND_MODIFIERS />
|
<STAND_MODIFIERS />
|
||||||
<CROUCH_MODIFIERS />
|
<CROUCH_MODIFIERS />
|
||||||
<PRONE_MODIFIERS />
|
<PRONE_MODIFIERS />
|
||||||
|
|||||||
Reference in New Issue
Block a user