]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/t_halflife.qc
Merge remote branch 'origin/master' into samual/hagar_secondary_autorelease
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_halflife.qc
1
2 .float  roomtype;
3 .float  radius;
4 .float  pitch;
5 .float  renderamt;
6 .float  rendermode;
7 .vector rendercolor;
8
9 void spawnfunc_weapon_crossbow() {};
10 void spawnfunc_weapon_handgrenade() {};
11 void spawnfunc_ammo_crossbow() {};
12 void spawnfunc_ammo_9mmclip() {};
13 void spawnfunc_ammo_gaussclip() {};
14 void spawnfunc_weapon_rpg() {};
15 void spawnfunc_weapon_357() {};
16 void ammo_ARgrenades() {};
17 void spawnfunc_item_battery() {};
18 void spawnfunc_ammo_rpgclip() {};
19 void weapon_9mmAR() {};
20 void spawnfunc_weapon_tripmine() {};
21 void spawnfunc_weapon_snark() {};
22 void spawnfunc_ammo_buckshot() {};
23 void ammo_9mmAR() {};
24 void spawnfunc_ammo_357() {};
25 void spawnfunc_weapon_gauss() {};
26 void spawnfunc_weapon_hornetgun() {};
27 //void spawnfunc_weapon_shotgun() {};
28 void spawnfunc_item_healthkit() {};
29 void spawnfunc_item_longjump() {};
30 void spawnfunc_item_antidote() {};
31 void spawnfunc_func_recharge() {};
32 void spawnfunc_info_node() {};
33 void spawnfunc_env_sound() {};
34 void spawnfunc_light_spot() {};
35 void spawnfunc_func_healthcharger() {};
36
37
38 void func_ladder_touch()
39 {
40         if not(other.iscreature)
41                 return;
42         if (other.vehicle_flags & VHF_ISVEHICLE)
43                 return;
44
45         EXACTTRIGGER_TOUCH;
46
47         other.ladder_time = time + 0.1;
48         other.ladder_entity = self;
49 };
50
51 void spawnfunc_func_ladder()
52 {
53         EXACTTRIGGER_INIT;
54         self.touch = func_ladder_touch;
55 };
56
57 void spawnfunc_func_water()
58 {
59         EXACTTRIGGER_INIT;
60         self.touch = func_ladder_touch;
61 };
62