![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the source code of this file.
Macros | |
| #define | DEFAULT_TRAIT_VALUE 0.5 |
| #define | LEARNING_RATE 0.1 |
| #define | MAX_TRAIT_VALUE 1.0 |
| #define | MIN_TRAIT_VALUE 0.0 |
Functions | |
| function | Finalize () |
| function | GetTraitStatValue (trait) |
| function | GetTraitValue (trait) |
| function | Initialize () |
| function | IsAllowed () |
| function | PrintTrackerToBlackBox () |
| function | SetTraitStats () |
| function | SetTraitStatValue (trait, value) |
| function | SetTraitValue (trait, value) |
| function | SetupTraits () |
| function | UpdatePlayerDamage (attacker, victim, damage) |
| function | UpdatePlayerKilled (attacker, victim) |
| function | UpdateTrait (trait, percent) |
| #define DEFAULT_TRAIT_VALUE 0.5 |
Definition at line 6 of file _behavior_tracker.gsc.
| #define LEARNING_RATE 0.1 |
Definition at line 3 of file _behavior_tracker.gsc.
| #define MAX_TRAIT_VALUE 1.0 |
Definition at line 5 of file _behavior_tracker.gsc.
| #define MIN_TRAIT_VALUE 0.0 |
Definition at line 4 of file _behavior_tracker.gsc.
| function Finalize | ( | ) |
Definition at line 56 of file _behavior_tracker.gsc.
References IsAllowed(), PrintTrackerToBlackBox(), and SetTraitStats().
Referenced by Callback_PlayerDisconnect(), and endGame().
| function GetTraitStatValue | ( | trait | ) |
Definition at line 251 of file _behavior_tracker.gsc.
Referenced by Initialize(), and SetupTraits().
| function GetTraitValue | ( | trait | ) |
Definition at line 94 of file _behavior_tracker.gsc.
Referenced by UpdateTrait().
| function Initialize | ( | ) |
Definition at line 37 of file _behavior_tracker.gsc.
References GetTraitStatValue(), and SetupTraits().
Referenced by Callback_PlayerConnect().
| function IsAllowed | ( | ) |
Definition at line 69 of file _behavior_tracker.gsc.
Referenced by Finalize(), UpdatePlayerDamage(), UpdatePlayerKilled(), and UpdateTrait().
| function PrintTrackerToBlackBox | ( | ) |
Definition at line 86 of file _behavior_tracker.gsc.
Referenced by Finalize().
| function SetTraitStats | ( | ) |
Definition at line 232 of file _behavior_tracker.gsc.
References SetTraitStatValue().
Referenced by Finalize().
| function SetTraitStatValue | ( | trait | , |
| value | |||
| ) |
Definition at line 256 of file _behavior_tracker.gsc.
Referenced by SetTraitStats().
| function SetTraitValue | ( | trait | , |
| value | |||
| ) |
Definition at line 99 of file _behavior_tracker.gsc.
Referenced by UpdateTrait().
| function SetupTraits | ( | ) |
Definition at line 13 of file _behavior_tracker.gsc.
References DEFAULT_TRAIT_VALUE, and GetTraitStatValue().
Referenced by Initialize().
| function UpdatePlayerDamage | ( | attacker | , |
| victim | , | ||
| damage | |||
| ) |
Definition at line 132 of file _behavior_tracker.gsc.
References clamp(), damage(), IsAllowed(), and UpdateTrait().
Referenced by Callback_PlayerDamage().
| function UpdatePlayerKilled | ( | attacker | , |
| victim | |||
| ) |
Definition at line 183 of file _behavior_tracker.gsc.
References IsAllowed(), and UpdateTrait().
Referenced by PlayerKilled_Obituary().
| function UpdateTrait | ( | trait | , |
| percent | |||
| ) |
Definition at line 104 of file _behavior_tracker.gsc.
References clamp(), GetTraitValue(), IsAllowed(), LEARNING_RATE, MAX_TRAIT_VALUE, MIN_TRAIT_VALUE, and SetTraitValue().
Referenced by UpdatePlayerDamage(), and UpdatePlayerKilled().