Merge branch 'master' into martin-t/globals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / models / all.inc
1 // Global list of models
2 // TODO: remove uses of _setmodel
3
4 string W_Model(string w_mdl);
5
6 MODEL(CTF_SHIELD,                       "models/ctf/shield.md3");
7 MODEL(CTF_CAPTURE,                      "models/ctf/shockwavetransring.md3");
8 MODEL(CTF_FLAG,                         "models/ctf/flags.md3");
9
10 MODEL(DOM_NEUTRAL,                      "models/domination/dom_unclaimed.md3");
11 MODEL(DOM_RED,                          "models/domination/dom_red.md3");
12 MODEL(DOM_BLUE,                         "models/domination/dom_blue.md3");
13 MODEL(DOM_YELLOW,                       "models/domination/dom_yellow.md3");
14 MODEL(DOM_PINK,                         "models/domination/dom_pink.md3");
15
16 MODEL(ICE,                              "models/ice/ice.md3");
17
18 MODEL(KH_KEY,                           "models/keyhunt/key.md3");
19 #ifdef KH_PLAYER_USE_CARRIEDMODEL
20 MODEL(KH_KEY_CARRIED,                   "models/keyhunt/key-carried.md3");
21 #endif
22
23 MODEL(OK_HMG,                           W_Model("g_ok_hmg.md3"));
24
25 MODEL(OK_RPC,                           W_Model("g_ok_rl.md3"));
26
27 MODEL(OK_MG_VIEW,                       W_Model("h_ok_mg.iqm"));
28 MODEL(OK_MG_WORLD,                      W_Model("v_ok_mg.md3"));
29 MODEL(OK_MG_ITEM,                       W_Model("g_ok_mg.md3"));
30
31 MODEL(OK_SHOTGUN_VIEW,                  W_Model("h_ok_shotgun.iqm"));
32 MODEL(OK_SHOTGUN_WORLD,                 W_Model("v_ok_shotgun.md3"));
33 MODEL(OK_SHOTGUN_ITEM,                  W_Model("g_ok_shotgun.md3"));
34
35 MODEL(OK_SNIPER_VIEW,                   W_Model("h_ok_sniper.iqm"));
36 MODEL(OK_SNIPER_WORLD,                  W_Model("v_ok_sniper.md3"));
37 MODEL(OK_SNIPER_ITEM,                   W_Model("g_ok_sniper.md3"));
38
39 MODEL(ONS_CP,                           "models/onslaught/controlpoint_icon.md3");
40 MODEL(ONS_CP_SHIELD,                    "models/onslaught/controlpoint_shield.md3");
41 MODEL(ONS_CP_PAD1,                      "models/onslaught/controlpoint_pad.md3");
42 MODEL(ONS_CP_PAD2,                      "models/onslaught/controlpoint_pad2.md3");
43 MODEL(ONS_CP1,                          "models/onslaught/controlpoint_icon_dmg1.md3");
44 MODEL(ONS_CP1_GIB,                      "models/onslaught/controlpoint_icon_gib1.md3");
45 MODEL(ONS_CP2,                          "models/onslaught/controlpoint_icon_dmg2.md3");
46 MODEL(ONS_CP2_GIB,                      "models/onslaught/controlpoint_icon_gib2.md3");
47 MODEL(ONS_CP3,                          "models/onslaught/controlpoint_icon_dmg3.md3");
48 MODEL(ONS_CP3_GIB,                      "models/onslaught/controlpoint_icon_gib4.md3");
49 MODEL(ONS_RAY,                          "models/onslaught/ons_ray.md3");
50 MODEL(ONS_GEN,                          "models/onslaught/generator.md3");
51 MODEL(ONS_GEN_SHIELD,                   "models/onslaught/generator_shield.md3");
52 MODEL(ONS_GEN_GIB1,                     "models/onslaught/gen_gib1.md3");
53 MODEL(ONS_GEN_GIB2,                     "models/onslaught/gen_gib2.md3");
54 MODEL(ONS_GEN_GIB3,                     "models/onslaught/gen_gib3.md3");
55 MODEL(ONS_GEN1,                         "models/onslaught/generator_dmg1.md3");
56 MODEL(ONS_GEN2,                         "models/onslaught/generator_dmg2.md3");
57 MODEL(ONS_GEN3,                         "models/onslaught/generator_dmg3.md3");
58 MODEL(ONS_GEN4,                         "models/onslaught/generator_dmg4.md3");
59 MODEL(ONS_GEN5,                         "models/onslaught/generator_dmg5.md3");
60 MODEL(ONS_GEN6,                         "models/onslaught/generator_dmg6.md3");
61 MODEL(ONS_GEN7,                         "models/onslaught/generator_dmg7.md3");
62 MODEL(ONS_GEN8,                         "models/onslaught/generator_dmg8.md3");
63 MODEL(ONS_GEN9,                         "models/onslaught/generator_dmg9.md3");
64 MODEL(ONS_GEN_DEAD,                     "models/onslaught/generator_dead.md3");
65
66 MODEL(PROJECTILE_ELECTRO,               "models/ebomb.mdl");
67 MODEL(PROJECTILE_ELECTRO_BEAM,          "models/elaser.mdl");
68
69 MODEL(PROJECTILE_ROCKET,                "models/rocket.md3");
70
71 MODEL(PROJECTILE_CRYLINK,               "models/plasmatrail.mdl");
72 MODEL(PROJECTILE_CRYLINK_BOUNCING,      "models/plasmatrail.mdl");
73
74 MODEL(PROJECTILE_GRENADE,               "models/grenademodel.md3");
75 MODEL(PROJECTILE_GRENADE_BOUNCING,      "models/grenademodel.md3");
76
77 MODEL(PROJECTILE_MINE,                  "models/mine.md3");
78
79 MODEL(PROJECTILE_BLASTER,               "models/laser.mdl");
80
81 MODEL(PROJECTILE_HLAC,                  "models/hlac_bullet.md3");
82
83 MODEL(PROJECTILE_PORTO_RED,             "models/grenademodel.md3");
84 MODEL(PROJECTILE_PORTO_BLUE,            "models/grenademodel.md3");
85
86 MODEL(PROJECTILE_HOOKBOMB,              "models/grenademodel.md3");
87
88 MODEL(PROJECTILE_HAGAR,                 "models/hagarmissile.mdl");
89 MODEL(PROJECTILE_HAGAR_BOUNCING,        "models/hagarmissile.mdl");
90
91 MODEL(PROJECTILE_ARC_BOLT,              "models/arctrail.mdl");
92
93 // napalm grenade
94 MODEL(PROJECTILE_NAPALM_FOUNTAIN,       "null");
95 // fireball primary
96 MODEL(PROJECTILE_FIREBALL,              "null");
97 // fireball secondary
98 MODEL(PROJECTILE_FIREMINE,              "null");
99
100 MODEL(PROJECTILE_TAG,                   "models/laser.mdl");
101
102 MODEL(PROJECTILE_FLAC,                  "models/hagarmissile.mdl");
103
104 MODEL(PROJECTILE_SEEKER,                "models/tagrocket.md3");
105
106 MODEL(PROJECTILE_MAGE_SPIKE,            "models/ebomb.mdl");
107 MODEL(PROJECTILE_SHAMBLER_LIGHTNING,    "models/ebomb.mdl");
108
109 MODEL(PROJECTILE_RAPTORBOMB,            "models/vehicles/clusterbomb.md3");
110 MODEL(PROJECTILE_RAPTORBOMBLET,         "models/vehicles/bomblet.md3");
111 MODEL(PROJECTILE_RAPTORCANNON,          "models/plasmatrail.mdl");
112
113 MODEL(PROJECTILE_SPIDERROCKET,          "models/vehicles/rocket02.md3");
114
115 MODEL(PROJECTILE_WAKIROCKET,            "models/vehicles/rocket01.md3");
116 MODEL(PROJECTILE_WAKICANNON,            "models/laser.mdl");
117
118 MODEL(PROJECTILE_BUMBLE_GUN,            "models/elaser.mdl");
119 MODEL(PROJECTILE_BUMBLE_BEAM,           "models/elaser.mdl");
120
121 MODEL(PROJECTILE_RPC,                   W_Model("ok_rocket.md3"));
122
123 MODEL(PROJECTILE_ROCKETMINSTA_LASER,    "models/elaser.mdl");
124
125 MODEL(PROJECTILE_NADE,                  W_Model("v_ok_grenade.md3"));
126 MODEL(NADE_VIEW,                        W_Model("h_ok_grenade.iqm"));
127 MODEL(NADE_TIMER,                       "models/ok_nade_counter/ok_nade_counter.md3");
128 MODEL(NADE_ORB,                         "models/ctf/shield.md3");
129
130 MODEL(GIB_CHUNK,                        "models/gibs/chunk.mdl");
131 MODEL(GIB_LEG1,                         "models/gibs/leg1.md3");
132 MODEL(GIB_LEG2,                         "models/gibs/leg2.md3");
133 MODEL(GIB_CHEST,                        "models/gibs/chest.md3");
134 MODEL(GIB_SMALLCHEST,                   "models/gibs/smallchest.md3");
135 MODEL(GIB_ARM,                          "models/gibs/arm.md3");
136 MODEL(GIB_BLOODYSKULL,                  "models/gibs/bloodyskull.md3");
137 MODEL(GIB_EYE,                          "models/gibs/eye.md3");
138
139 MODEL(GIB_ROBO,                         "models/gibs/robo.md3");
140 MODEL(GIB_ROBO_1,                       "models/gibs/robo1.md3");
141 MODEL(GIB_ROBO_2,                       "models/gibs/robo2.md3");
142 MODEL(GIB_ROBO_3,                       "models/gibs/robo3.md3");
143 MODEL(GIB_ROBO_4,                       "models/gibs/robo4.md3");
144 MODEL(GIB_ROBO_5,                       "models/gibs/robo5.md3");
145 MODEL(GIB_ROBO_6,                       "models/gibs/robo6.md3");
146 MODEL(GIB_ROBO_7,                       "models/gibs/robo7.md3");
147 MODEL(GIB_ROBO_8,                       "models/gibs/robo8.md3");
148 Model MDL_GIB_ROBO_RANDOM() {
149     int i = floor(random() * 8);
150     return Models_from(MDL_GIB_ROBO_1.m_id + i);
151 }
152
153 MODEL(CASING_SHELL,                     "models/casing_shell.mdl");
154 MODEL(CASING_BULLET,                    "models/casing_bronze.iqm");
155
156 MODEL(BUFF,                             "models/relics/relic.md3");
157
158 MODEL(BLASTER_VIEW,                     W_Model("h_laser.iqm"));
159 MODEL(BLASTER_WORLD,                    W_Model("v_laser.md3"));
160 MODEL(BLASTER_ITEM,                     W_Model("g_laser.md3"));
161
162 MODEL(SHOTGUN_MUZZLEFLASH,              "models/uziflash.md3");
163 MODEL(SHOTGUN_VIEW,                     W_Model("h_shotgun.iqm"));
164 MODEL(SHOTGUN_WORLD,                    W_Model("v_shotgun.md3"));
165 MODEL(SHOTGUN_ITEM,                     W_Model("g_shotgun.md3"));
166
167 MODEL(MACHINEGUN_MUZZLEFLASH,           "models/uziflash.md3");
168 MODEL(MACHINEGUN_VIEW,                  W_Model("h_uzi.iqm"));
169 MODEL(MACHINEGUN_WORLD,                 W_Model("v_uzi.md3"));
170 MODEL(MACHINEGUN_ITEM,                  W_Model("g_uzi.md3"));
171
172 MODEL(MORTAR_VIEW,                      W_Model("h_gl.iqm"));
173 MODEL(MORTAR_WORLD,                     W_Model("v_gl.md3"));
174 MODEL(MORTAR_ITEM,                      W_Model("g_gl.md3"));
175
176 MODEL(MINELAYER_MUZZLEFLASH,            "models/flash.md3");
177 MODEL(MINELAYER_MINE,                   "models/mine.md3");
178 MODEL(MINELAYER_VIEW,                   W_Model("h_minelayer.iqm"));
179 MODEL(MINELAYER_WORLD,                  W_Model("v_minelayer.md3"));
180 MODEL(MINELAYER_ITEM,                   W_Model("g_minelayer.md3"));
181
182 MODEL(ELECTRO_VIEW,                     W_Model("h_electro.iqm"));
183 MODEL(ELECTRO_WORLD,                    W_Model("v_electro.md3"));
184 MODEL(ELECTRO_ITEM,                     W_Model("g_electro.md3"));
185
186 MODEL(CRYLINK_VIEW,                     W_Model("h_crylink.iqm"));
187 MODEL(CRYLINK_WORLD,                    W_Model("v_crylink.md3"));
188 MODEL(CRYLINK_ITEM,                     W_Model("g_crylink.md3"));
189
190 MODEL(VORTEX_MUZZLEFLASH,               "models/nexflash.md3");
191 MODEL(VORTEX_VIEW,                      W_Model("h_nex.iqm"));
192 MODEL(VORTEX_WORLD,                     W_Model("v_nex.md3"));
193 MODEL(VORTEX_ITEM,                      W_Model("g_nex.md3"));
194
195 MODEL(HAGAR_VIEW,                       W_Model("h_hagar.iqm"));
196 MODEL(HAGAR_WORLD,                      W_Model("v_hagar.md3"));
197 MODEL(HAGAR_ITEM,                       W_Model("g_hagar.md3"));
198
199 MODEL(DEVASTATOR_MUZZLEFLASH,           "models/flash.md3");
200 MODEL(DEVASTATOR_VIEW,                  W_Model("h_rl.iqm"));
201 MODEL(DEVASTATOR_WORLD,                 W_Model("v_rl.md3"));
202 MODEL(DEVASTATOR_ITEM,                  W_Model("g_rl.md3"));
203
204 MODEL(PORTAL,                           "models/portal.md3");
205 MODEL(PORTO_VIEW,                       W_Model("h_porto.iqm"));
206 MODEL(PORTO_WORLD,                      W_Model("v_porto.md3"));
207 MODEL(PORTO_ITEM,                       W_Model("g_porto.md3"));
208
209 MODEL(VAPORIZER_MUZZLEFLASH,            "models/nexflash.md3");
210 MODEL(VAPORIZER_VIEW,                   W_Model("h_minstanex.iqm"));
211 MODEL(VAPORIZER_WORLD,                  W_Model("v_minstanex.md3"));
212 MODEL(VAPORIZER_ITEM,                   W_Model("g_minstanex.md3"));
213
214 MODEL(HOOK,                             "models/hook.md3");
215 MODEL(HOOK_VIEW,                        W_Model("h_hookgun.iqm"));
216 MODEL(HOOK_WORLD,                       W_Model("v_hookgun.md3"));
217 MODEL(HOOK_ITEM,                        W_Model("g_hookgun.md3"));
218
219 MODEL(HLAC_VIEW,                        W_Model("h_hlac.iqm"));
220 MODEL(HLAC_WORLD,                       W_Model("v_hlac.md3"));
221 MODEL(HLAC_ITEM,                        W_Model("g_hlac.md3"));
222
223 MODEL(TUBA_VIEW,                        W_Model("h_tuba.iqm"));
224 MODEL(TUBA_WORLD,                       W_Model("v_tuba.md3"));
225 MODEL(TUBA_ITEM,                        W_Model("g_tuba.md3"));
226 MODEL(ACCORDION_VIEW,                   W_Model("h_akordeon.iqm"));
227 MODEL(ACCORDION_WORLD,                  W_Model("v_akordeon.md3"));
228 MODEL(KLEINBOTTLE_VIEW,                 W_Model("h_kleinbottle.iqm"));
229 MODEL(KLEINBOTTLE_WORLD,                W_Model("v_kleinbottle.md3"));
230
231 MODEL(RIFLE_VIEW,                       W_Model("h_campingrifle.iqm"));
232 MODEL(RIFLE_WORLD,                      W_Model("v_campingrifle.md3"));
233 MODEL(RIFLE_ITEM,                       W_Model("g_campingrifle.md3"));
234
235 MODEL(FIREBALL_SPHERE,                  "models/sphere/sphere.md3");
236 MODEL(FIREBALL_VIEW,                    W_Model("h_fireball.iqm"));
237 MODEL(FIREBALL_WORLD,                   W_Model("v_fireball.md3"));
238 MODEL(FIREBALL_ITEM,                    W_Model("g_fireball.md3"));
239
240 MODEL(SEEKER_VIEW,                      W_Model("h_seeker.iqm"));
241 MODEL(SEEKER_WORLD,                     W_Model("v_seeker.md3"));
242 MODEL(SEEKER_ITEM,                      W_Model("g_seeker.md3"));
243
244 MODEL(SHOCKWAVE_MUZZLEFLASH,            "models/uziflash.md3");
245 MODEL(SHOCKWAVE_VIEW,                   W_Model("h_shotgun.iqm"));
246 MODEL(SHOCKWAVE_WORLD,                  W_Model("v_shotgun.md3"));
247 MODEL(SHOCKWAVE_ITEM,                   W_Model("g_shotgun.md3"));
248
249 MODEL(ARC_MUZZLEFLASH,                  "models/flash.md3");
250 MODEL(ARC_VIEW,                         W_Model("h_arc.iqm"));
251 MODEL(ARC_WORLD,                        W_Model("v_arc.md3"));
252 MODEL(ARC_ITEM,                         W_Model("g_arc.md3"));
253
254 MODEL(HMG_MUZZLEFLASH,                  "models/uziflash.md3");
255 MODEL(HMG_VIEW,                         W_Model("h_ok_hmg.iqm"));
256 MODEL(HMG_WORLD,                        W_Model("v_ok_hmg.md3"));
257 MODEL(HMG_ITEM,                         W_Model("g_ok_hmg.md3"));
258
259 MODEL(RPC_MUZZLEFLASH,                  "models/flash.md3");
260 MODEL(RPC_VIEW,                         W_Model("h_ok_rl.iqm"));
261 MODEL(RPC_WORLD,                        W_Model("v_ok_rl.md3"));
262 MODEL(RPC_ITEM,                         W_Model("g_ok_rl.md3"));
263
264 MODEL(TUR_GIB_BASE1,                    "models/turrets/base-gib1.md3");
265 MODEL(TUR_GIB_BASE2,                    "models/turrets/base-gib2.md3");
266 MODEL(TUR_GIB_BASE3,                    "models/turrets/base-gib3.md3");
267 MODEL(TUR_GIB_BASE4,                    "models/turrets/base-gib4.md3");
268 MODEL(TUR_GIB_HEAD1,                    "models/turrets/head-gib1.md3");
269 MODEL(TUR_GIB_HEAD2,                    "models/turrets/head-gib2.md3");
270 MODEL(TUR_GIB_HEAD3,                    "models/turrets/head-gib3.md3");
271 MODEL(TUR_GIB_HEAD4,                    "models/turrets/head-gib4.md3");
272 MODEL(TUR_BASE,                         "models/turrets/base.md3");
273
274 MODEL(TUR_EWHEEL_BASE,                  "models/turrets/ewheel-base2.md3");
275 MODEL(TUR_EWHEEL_HEAD,                  "models/turrets/ewheel-gun1.md3");
276
277 MODEL(TUR_FLAC_BASE,                    "models/turrets/base.md3");
278 MODEL(TUR_FLAC_HEAD,                    "models/turrets/flac.md3");
279
280 MODEL(TUR_FUSIONREACTOR_BASE,           "models/turrets/base.md3");
281 MODEL(TUR_FUSIONREACTOR_HEAD,           "models/turrets/reactor.md3");
282
283 MODEL(TUR_HELLION_BASE,                 "models/turrets/base.md3");
284 MODEL(TUR_HELLION_HEAD,                 "models/turrets/hellion.md3");
285
286 MODEL(TUR_HK_BASE,                      "models/turrets/base.md3");
287 MODEL(TUR_HK_HEAD,                      "models/turrets/hk.md3");
288
289 MODEL(TUR_MACHINEGUN_BASE,              "models/turrets/base.md3");
290 MODEL(TUR_MACHINEGUN_HEAD,              "models/turrets/machinegun.md3");
291
292 MODEL(TUR_MIRS_BASE,                    "models/turrets/base.md3");
293 MODEL(TUR_MIRS_HEAD,                    "models/turrets/mlrs.md3");
294
295 MODEL(TUR_PHASER_BASE,                  "models/turrets/base.md3");
296 MODEL(TUR_PHASER_BEAM,                  "models/turrets/phaser_beam.md3");
297 MODEL(TUR_PHASER_HEAD,                  "models/turrets/phaser.md3");
298
299 MODEL(TUR_PLASMA_BASE,                  "models/turrets/base.md3");
300 MODEL(TUR_PLASMA_HEAD,                  "models/turrets/plasma.md3");
301
302 MODEL(TUR_PLASMA_DUAL_BASE,             "models/turrets/base.md3");
303 MODEL(TUR_PLASMA_DUAL_HEAD,             "models/turrets/plasmad.md3");
304
305 MODEL(TUR_TESLA_BASE,                   "models/turrets/tesla_base.md3");
306 MODEL(TUR_TESLA_HEAD,                   "models/turrets/tesla_head.md3");
307
308 MODEL(TUR_WALKER_BASE,                  "models/turrets/walker_body.md3");
309 MODEL(TUR_WALKER_HEAD,                  "models/turrets/walker_head_minigun.md3");
310
311 MODEL(VEH_SHIELD,                       "models/vhshield.md3");
312
313 MODEL(VEH_BUMBLEBEE_BODY,               "models/vehicles/bumblebee_body.dpm");
314 MODEL(VEH_BUMBLEBEE_CANNON_CENTER,      "models/vehicles/bumblebee_ray.dpm");
315 MODEL(VEH_BUMBLEBEE_CANNON_LEFT,        "models/vehicles/bumblebee_plasma_left.dpm");
316 MODEL(VEH_BUMBLEBEE_CANNON_RIGHT,       "models/vehicles/bumblebee_plasma_right.dpm");
317 MODEL(VEH_BUMBLEBEE_SHIELD,             "models/vhshield.md3");
318
319 MODEL(VEH_RACER_BODY,                   "models/vehicles/wakizashi.dpm");
320 MODEL(VEH_RACER_VIEW,                   "models/vehicles/wakizashi_cockpit.dpm");
321
322 MODEL(VEH_RAPTOR_BODY,                  "models/vehicles/raptor.dpm");
323 MODEL(VEH_RAPTOR_CB_FOLDED,             "models/vehicles/clusterbomb_folded.md3");
324 MODEL(VEH_RAPTOR_CB_FRAGMENT,           "models/vehicles/clusterbomb_fragment.md3");
325 MODEL(VEH_RAPTOR_FLARE,                 "models/runematch/rune.mdl");
326 MODEL(VEH_RAPTOR_GUN,                   "models/vehicles/raptor_gun.dpm");
327 MODEL(VEH_RAPTOR_PROP,                  "models/vehicles/spinner.dpm");
328 MODEL(VEH_RAPTOR_TAIL,                  "models/vehicles/raptor_body.dpm");
329 MODEL(VEH_RAPTOR_VIEW,                  "models/vehicles/raptor_cockpit.dpm");
330
331 MODEL(VEH_SPIDERBOT_BODY,               "models/vehicles/spiderbot.dpm");
332 MODEL(VEH_SPIDERBOT_GUN,                "models/vehicles/spiderbot_barrels.dpm");
333 MODEL(VEH_SPIDERBOT_MUZZLEFLASH,        "models/uziflash.md3");
334 MODEL(VEH_SPIDERBOT_TOP,                "models/vehicles/spiderbot_top.dpm");
335 MODEL(VEH_SPIDERBOT_VIEW,               "models/vehicles/spiderbot_cockpit.dpm");
336
337 MODEL(CHAT,                             "models/misc/chatbubble.spr");
338 MODEL(CHAT_MINIGAME,                    "models/sprites/minigame_busy.iqm");
339
340 MODEL(0,                                "models/sprites/0.spr32");
341 MODEL(1,                                "models/sprites/1.spr32");
342 MODEL(2,                                "models/sprites/2.spr32");
343 MODEL(3,                                "models/sprites/3.spr32");
344 MODEL(4,                                "models/sprites/4.spr32");
345 MODEL(5,                                "models/sprites/5.spr32");
346 MODEL(6,                                "models/sprites/6.spr32");
347 MODEL(7,                                "models/sprites/7.spr32");
348 MODEL(8,                                "models/sprites/8.spr32");
349 MODEL(9,                                "models/sprites/9.spr32");
350 MODEL(10,                               "models/sprites/10.spr32");
351 Model MDL_NUM(int i) {
352     if ((i >= 0 && i <= 10))
353         return Models_from(MDL_0.m_id + i);
354     return MDL_Null;
355 }
356
357 MODEL(WAYPOINT,                         "models/runematch/rune.mdl");
358 MODEL(MARKER,                           "models/marker.md3");