home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


where should i

by Descent on 03/17/2004 15:18, 1 messages, last message: 03/18/2004 20:39, 865 views, last view: 05/02/2024 00:59

// weapon.cpp: all shooting and effects code

#include "cube.h"

struct guninfo { short sound, attackdelay, damage, projspeed, part; char *name; };

const int MONSTERDAMAGEFACTOR = 4;
const int SGRAYS = 20;
const float SGSPREAD = 2;
vec sg[SGRAYS];

guninfo guns[NUMGUNS] =
{
{ S_PUNCH1, 250, 50, 0, 0, "fist" },
{ S_SG, 1400, 10, 0, 0, "shotgun" }, // *SGRAYS
{ S_CG, 100, 30, 0, 0, "chaingun" },
{ S_RLFIRE, 800, 120, 80, 0, "rocketlauncher" },
{ S_RIFLE, 1500, 100, 0, 0, "rifle" },
{ S_FLAUNCH, 200, 20, 50, 4, "slimeball" },
{ S_ICEBALL, 200, 40, 30, 6, "iceball" },
{ S_SLIMEBALL, 200, 30, 160, 7, "slimeball" },
{ S_PIGR1, 250, 50, 0, 0, "bite" },
};

this is from the source.zip+weapon.cpp so wheres the real weapon file?

   Board Index   

#1: is there a

by D.plomat on 03/18/2004 20:39

real weapon file?

The models for hudguns and ammo packs in the models dir, the sounds in the sounds dir, all the rest is in the code...

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53868223 visitors requested 71643394 pages
page created in 0.021 seconds using 10 queries
hosted by Boost Digital