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