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