New feature: radio operator trait allows calling in artillery, requesting reinforcements, scanning for enemies and a few other skills.

Also includes mechansim for easy implementation of new skills.

For more info see http://www.bears-pit.com/board/ubbthreads.php/topics/327348.html#Post327348

Requires GameDir >= r1848.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6547 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2013-10-30 23:05:37 +00:00
parent bef4e7b52b
commit f17829fac9
80 changed files with 4722 additions and 243 deletions
+19
View File
@@ -1575,6 +1575,18 @@ typedef struct
INT16 sCOCloseDetectionRangeSoldierCorpse;
BOOLEAN fCOElitesDetectNextTile;
// RADIO OPERATOR
INT16 bVOArtillerySectorFrequency; // ability to call an a artillery strike from a sector every '_' minutes. Only applies if ordered from enemy/militia
UINT8 usVOMortarCountDivisor;
UINT8 usVOMortarShellDivisor;
UINT8 usVOMortarPointsAdmin;
UINT8 usVOMortarPointsTroop;
UINT8 usVOMortarPointsElite;
UINT8 usVOMortarRadius;
UINT8 usVOMortarSignalShellRadius;
INT8 sVOScanAssignmentBaseRange;
INT8 sVOListeningHearingBonus;
} SKILL_TRAIT_VALUES;
// HEADROCK HAM 4: Constants used as coefficients by the various parts of the new CTH system.
@@ -1949,6 +1961,13 @@ typedef struct
FLOAT fDamageHealthMoveModifierExplosive; // applies when character moves through gas cloud without a gas mask
FLOAT fDamageBreathMoveModifierExplosive; // applies when character moves through gas cloud without a gas mask
// ------------ ENERGY MODIFIERS -----------------
// Flugente: energy consumption settings (energy-consumption of attached non-vanilla batteries)
FLOAT energy_cost_radioset_activate;
FLOAT energy_cost_radioset_jam;
FLOAT energy_cost_radioset_scan;
FLOAT energy_cost_radioset_scan_assignment;
}ITEM_SETTINGS;
extern MOD_SETTINGS gModSettings;