[Half-Life AMXX] / include / ns_const.inc Repository:
ViewVC logotype

Annotation of /include/ns_const.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : ian 1 /* NS module constants
2 :     * -
3 :     * (c) 2004, Steve Dudenhoeffer
4 :     * This file is provided as is (no warranties).
5 :     */
6 :    
7 :    
8 :     #if defined NS_CONST_INC
9 :     #endinput
10 :     #endif
11 :     #define NS_CONST_INC
12 :    
13 :     // entity pev->iuser4 fields
14 :     enum {
15 :     MASK_NONE = 0,
16 :     MASK_SIGHTED = 1,
17 :     MASK_DETECTED = 2,
18 :     MASK_BUILDABLE = 4,
19 :     MASK_BASEBUILD0 = 8, // Base build slot #0
20 :     MASK_WEAPONS1 = 8, // Marine weapons 1
21 :     MASK_CARAPACE = 8, // Alien carapace
22 :     MASK_WEAPONS2 = 16, // Marines weapons 2
23 :     MASK_REGENERATION = 16, // Alien regeneration
24 :     MASK_BASEBUILD1 = 16, // Base build slot #1
25 :     MASK_WEAPONS3 = 32, // Marine weapons 3
26 :     MASK_REDEMPTION = 32, // Alien redemption
27 :     MASK_BASEBUILD2 = 32, // Base build slot #2
28 :     MASK_ARMOR1 = 64, // Marine armor 1
29 :     MASK_CELERITY = 64, // Alien celerity
30 :     MASK_BASEBUILD3 = 64, // Base build slot #3
31 :     MASK_ARMOR2 = 128, // Marine armor 2
32 :     MASK_ADRENALINE = 128, // Alien adrenaline
33 :     MASK_BASEBUILD4 = 128, // Base build slot #4
34 :     MASK_ARMOR3 = 256, // Marine armor 3
35 :     MASK_SILENCE = 256, // Alien silence
36 :     MASK_BASEBUILD5 = 256, // Base build slot #5
37 :     MASK_JETPACK = 512, // Marine jetpacks
38 :     MASK_CLOAKING = 512, // Alien cloaking
39 :     MASK_BASEBUILD6 = 512, // Base build slot #6
40 :     MASK_FOCUS = 1024, // Alien focus
41 :     MASK_MOTION = 1024, // Marine motion tracking
42 :     MASK_BASEBUILD7 = 1024, // Base build slot #7
43 :     MASK_SCENTOFFEAR = 2048, // Alien scent of fear
44 :     MASK_DEFENSE2 = 4096, // Defense level 2
45 :     MASK_DEFENSE3 = 8192, // Defense level 3
46 :     MASK_ELECTRICITY = 8192, // Electricy
47 :     MASK_MOVEMENT2 = 16384, // Movement level 2,
48 :     MASK_MOVEMENT3 = 32768, // Movement level 3
49 :     MASK_HEAVYARMOR = 32768, // Marine heavy armor
50 :     MASK_SENSORY2 = 65536, // Sensory level 2
51 :     MASK_SENSORY3 = 131072, // Sensory level 3
52 :     MASK_ALIEN_MOVEMENT = 262144, // Onos is charging
53 :     MASK_WALLSTICKING = 524288, // Flag for wall-sticking
54 :     MASK_PRIMALSCREAM = 1048576, // Alien is in range of active primal scream
55 :     MASK_UMBRA = 2097152, // In umbra
56 :     MASK_DIGESTING = 4194304, // When set on a visible player, player is digesting. When set on invisible player, player is being digested
57 :     MASK_RECYCLING = 8388608, // Building is recycling
58 :     MASK_TOPDOWN = 16777216, // Commander view
59 :     MASK_PLAYER_STUNNED = 33554432, // Player has been stunned by stomp
60 :     MASK_ENSNARED = 67108864, // Webbed
61 :     MASK_ALIEN_EMBRYO = 134217728, // Gestating
62 :     MASK_SELECTABLE = 268435456, // ???
63 :     MASK_PARASITED = 536870912, // Parasite flag
64 :     MASK_SENSORY_NEARBY = 1073741824 // Sensory chamber in range
65 :    
66 :     }
67 :    
68 :    
69 :     enum {
70 :     CLASS_UNKNOWN = 0,
71 :     CLASS_SKULK,
72 :     CLASS_GORGE,
73 :     CLASS_LERK,
74 :     CLASS_FADE,
75 :     CLASS_ONOS,
76 :     CLASS_MARINE,
77 :     CLASS_JETPACK,
78 :     CLASS_HEAVY,
79 :     CLASS_COMMANDER,
80 :     CLASS_GESTATE,
81 :     CLASS_DEAD,
82 :     CLASS_NOTEAM
83 :     }
84 :    
85 :     enum {
86 :     WEAPON_NONE = 0,
87 :     WEAPON_CLAWS,
88 :     WEAPON_SPIT,
89 :     WEAPON_SPORES,
90 :     WEAPON_SPIKE,
91 :     WEAPON_BITE,
92 :     WEAPON_BITE2,
93 :     WEAPON_SWIPE,
94 :     WEAPON_WEBSPINNER,
95 :     WEAPON_METABOLIZE,
96 :     WEAPON_PARASITE,
97 :     WEAPON_BLINK,
98 :     WEAPON_DIVINEWIND,
99 :     WEAPON_KNIFE,
100 :     WEAPON_PISTOL,
101 :     WEAPON_LMG,
102 :     WEAPON_SHOTGUN,
103 :     WEAPON_HMG,
104 :     WEAPON_WELDER,
105 :     WEAPON_MINE,
106 :     WEAPON_GRENADE_GUN,
107 :     WEAPON_LEAP,
108 :     WEAPON_CHARGE,
109 :     WEAPON_UMBRA,
110 :     WEAPON_PRIMALSCREAM,
111 :     WEAPON_BILEBOMB,
112 :     WEAPON_ACIDROCKET,
113 :     WEAPON_HEALINGSPRAY,
114 :     WEAPON_GRENADE,
115 :     WEAPON_STOMP,
116 :     WEAPON_DEVOUR,
117 :     WEAPON_MAX
118 :     }
119 :    
120 :     enum {
121 :     HIVETRAIT_NONE = 0,
122 :     HIVETRAIT_DC = 92,
123 :     HIVETRAIT_SC = 93,
124 :     HIVETRAIT_MC = 94
125 :     }

Contact
ViewVC Help
Powered by ViewVC 1.0.4