Merge branch 'master' into Mario/vaporizer_damage
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / gamemode_nexball.qh
1 #ifndef GAMEMODE_NEXBALL_H
2 #define GAMEMODE_NEXBALL_H
3
4 //EF_BRIGHTFIELD|EF_BRIGHTLIGHT|EF_DIMLIGHT|EF_BLUE|EF_RED|EF_FLAME
5 const float BALL_EFFECTMASK = 1229;
6 const vector BALL_MINS = '-16 -16 -16'; // The model is 24*24*24
7 const vector BALL_MAXS = '16 16 16';
8 const vector BALL_ATTACHORG = '3 0 16';
9 const float BALL_FOOT = 1;
10 const float BALL_BASKET = 2;
11 //spawnflags
12 const float GOAL_TOUCHPLAYER = 1;
13 //goal types
14 const float GOAL_FAULT = -1;
15 const float GOAL_OUT = -2;
16
17 void DropBall(entity ball, vector org, vector vel);
18 float autocvar_g_nexball_football_boost_forward;
19 float autocvar_g_nexball_football_boost_up;
20 float autocvar_g_nexball_football_physics;
21 float autocvar_g_nexball_delay_idle;
22 float autocvar_g_nexball_basketball_delay_hold;
23 float autocvar_g_nexball_basketball_delay_hold_forteam;
24 float autocvar_g_nexball_basketball_effects_default;
25 float autocvar_g_nexball_basketball_teamsteal;
26 float autocvar_g_nexball_meter_period;
27
28 float balls;
29 float ball_scale;
30 float nb_teams;
31
32 .entity nb_dropper;
33 .float nb_droptime;
34
35 .float teamtime;
36 #endif