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