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