‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
archetype_shared.gsh
Go to the documentation of this file.
1 
2 // archetype names here should match the GDT in archetype.gdt and vehicle gdts.
3 
4 #define ARCHETYPE_HUMAN "human"
5 #define ARCHETYPE_HUMAN_CLONE "human_clone"
6 #define ARCHETYPE_HUMAN_RIOTSHIELD "human_riotshield"
7 #define ARCHETYPE_HUMAN_RPG "human_rpg"
8 #define ARCHETYPE_ROBOT "robot"
9 #define ARCHETYPE_WARLORD "warlord"
10 #define ARCHETYPE_ZOMBIE "zombie"
11 #define ARCHETYPE_ZOMBIE_DOG "zombie_dog"
12 #define ARCHETYPE_DIREWOLF "direwolf"
13 #define ARCHETYPE_CIVILIAN "civilian"
14 #define ARCHETYPE_SKELETON "skeleton"
15 #define ARCHETYPE_ZOD_COMPANION "zod_companion"
16 #define ARCHETYPE_MARGWA "margwa"
17 #define ARCHETYPE_MECHZ "mechz"
18 #define ARCHETYPE_MANNEQUIN "mannequin"
19 #define ARCHETYPE_THRASHER "thrasher"
20 #define ARCHETYPE_RAZ "raz"
21 #define ARCHETYPE_ZOMBIE_QUAD "zombie_quad"
22 #define ARCHETYPE_KEEPER_COMPANION "keeper_companion"
23 #define ARCHETYPE_APOTHICON_FURY "apothicon_fury"
24 #define ARCHETYPE_KEEPER "keeper"
25 #define ARCHETYPE_MONKEY "monkey"
26 #define ARCHETYPE_ASTRONAUT "astronaut"
27 
28 
29 
30 #define ARCHETYPE_AMWS "amws"
31 #define ARCHETYPE_HUNTER "hunter"
32 #define ARCHETYPE_QUADTANK "quadtank"
33 #define ARCHETYPE_RAPS "raps"
34 #define ARCHETYPE_SCOUT "scout"
35 #define ARCHETYPE_SIEGEBOT "siegebot"
36 #define ARCHETYPE_TURRET "turret"
37 #define ARCHETYPE_WASP "wasp"
38 #define ARCHETYPE_PARASITE "parasite"
39 #define ARCHETYPE_GLAIVE "glaive"
40 #define ARCHETYPE_SENTINEL_DRONE "sentinel_drone"
41 #define ARCHETYPE_SPIDER "spider"
42 
43 #define IS_ROBOT(__e) (isdefined(__e.archetype) && ( __e.archetype == ARCHETYPE_ROBOT ))
44 
45 // Following is human will consider "human", "human_riotshield", "human_rpg", "civilian"
46 #define IS_HUMAN(__e) (isdefined(__e.archetype) && ((__e.archetype == ARCHETYPE_HUMAN) || (__e.archetype == ARCHETYPE_HUMAN_RIOTSHIELD) || (__e.archetype == ARCHETYPE_HUMAN_RPG) || (__e.archetype == ARCHETYPE_CIVILIAN)))
47 
48 // same as hkai_navmesh_material.h
49 #define NMMF_NOVEHICLE 0x00000020
50 #define NMMF_ALL 0x00ffffff
51 
52 
53 // ----------------------------------------------
54 // For facial animations on human type archetypes
55 // ----------------------------------------------
56 #define HUMAN_FACIAL_DIALOG_ACTIVE "facial_dial"
57 
58 // ----------------------------------------------
59 // debug helper macro for position query
60 // ----------------------------------------------
61 #define ADD_POINT_SCORE(pointStruct,name,point_score) \
62  /# \
63  if ( !isdefined( pointStruct._scoreDebug ) ) \
64  { \
65  pointStruct._scoreDebug = []; \
66  } \
67  pointStruct._scoreDebug[ name ] = point_score; \
68  #/ \
69  pointStruct.score += point_score;