mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
New Feature: Externalized Enemy taunts (by anv)
- Taunts will be shown in the tactica log, once enabled (TAUNT_SHOW_IN_LOG = TRUE) - Enemies will randomly choose their taunt from an pool of applicable ones - All taunts can be stored in TableData/EnemyTaunts.xml - see: http://www.bears-pit.com/board/ubbthreads.php/topics/327830/Externalised_taunts.html#Post327830 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6575 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1320,6 +1320,28 @@ typedef struct
|
||||
|
||||
} GAME_EXTERNAL_OPTIONS;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
BOOLEAN fTauntShowInLog;
|
||||
INT16 sModDelay;
|
||||
UINT16 sMinDelay;
|
||||
UINT16 sMaxDelay;
|
||||
UINT8 ubTauntFireGunChance;
|
||||
UINT8 ubTauntFireLauncherChance;
|
||||
UINT8 ubTauntThrowKnifeChance;
|
||||
UINT8 ubTauntThrowGrenadeChance;
|
||||
UINT8 ubTauntChargeKnifeChance;
|
||||
UINT8 ubTauntChargeFistsChance;
|
||||
UINT8 ubTauntStealChance;
|
||||
UINT8 ubTauntRunAwayChance;
|
||||
UINT8 ubTauntSeekNoiseChance;
|
||||
UINT8 ubTauntAlertChance;
|
||||
UINT8 ubTauntGotHitChance;
|
||||
UINT8 ubTauntGotMissedChance;
|
||||
UINT8 ubTauntNoticedUnseenChance;
|
||||
|
||||
} TAUNTS_SETTINGS;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
UINT8 ubMaxNumberOfTraits;
|
||||
@@ -1998,6 +2020,8 @@ extern GAME_EXTERNAL_OPTIONS gGameExternalOptions;
|
||||
|
||||
extern SKILL_TRAIT_VALUES gSkillTraitValues; // SANDRO - added this one
|
||||
|
||||
extern TAUNTS_SETTINGS gTauntsSettings;
|
||||
|
||||
// HEADROCK HAM 4: CTH constants read from a separate INI file
|
||||
extern CTH_CONSTANTS gGameCTHConstants;
|
||||
|
||||
@@ -2014,6 +2038,7 @@ void LoadItemSettings(); // silversurfer: reads item property modifiers
|
||||
void LoadGameAPBPConstants();
|
||||
// HEADROCK HAM 4: Read CTH/Shooting coefficients from file
|
||||
void LoadCTHConstants();
|
||||
void LoadTauntsSettings();
|
||||
void FreeGameExternalOptions();
|
||||
|
||||
void InitGameOptions();
|
||||
|
||||
Reference in New Issue
Block a user