Forum

13 weapons in mod, some are just dissapearing :(

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

13 weapons in mod, some are just dissapearing :(

Postby dr_mabuse » Sun Dec 25, 2011 5:57 pm

Hi there,

i have now 13 weapons in my mod, every weapon has his own pickup and name (IT_MP40) etc...
But now it looks like they are just dissapearing for no reason, and here is my Question:
How much weapons can Quake handle?
You can take a look in my weapons.qc mess... ehrm code here if you want:

http://amphedia.untergrund.net/misc/weapons.qc

Greets
User avatar
dr_mabuse
 
Posts: 80
Joined: Sat Sep 03, 2011 6:07 pm

Re: 13 weapons in mod, some are just dissapearing :(

Postby Seven » Sun Dec 25, 2011 7:47 pm

Hello dr_mabuse,

I guess there is no doubt, that Dr. Shadowborg´s magnificent weapon tutorial is what you need to read.
Please follow this way: viewtopic.php?f=11&t=3138

You will learn a lot (and more) from it.
It handles 24 weapons. So there is still some room for you :)

Have fun,
Seven
Seven
 
Posts: 301
Joined: Sat Oct 06, 2007 8:49 pm
Location: Germany

Re: 13 weapons in mod, some are just dissapearing :(

Postby dr_mabuse » Sun Dec 25, 2011 8:10 pm

Thanks, this looks nice..

EDIT: nice to know that "vanilla quake" has a weaponlimit, lol ;)

EDIT2: Ok, i think i need to stop drinking and coding:

i have made a misstake in my defs.qc file with the numbers (lolwut!)...


Its now all fine, and i will remove the particlecannon (too much heavy weapons in multiplayer,
the bots are always killing me with heavy stuff)

Code: Select all
// items

float IT_AXE               = 4096; // Knife
float IT_PISTOL               = 1; //Luger
float IT_NAILGUN            = 2; // MP40
float IT_STG44               = 4; //STG44
float IT_ROCKET_LAUNCHER      = 8; //Panzerfaust
float IT_PARTICLECANNON         = 16; //Particlecannon
float IT_VENOM                    = 32; // Venom
float IT_THOMPSON            = 64; //Thompson
float IT_COLT                   = 128; //M1911 Colt
float IT_STEN                   = 256; // Sten MKII
float IT_GARAND                = 512; // M1 Garand
float IT_KAR98K                   = 1024; // Kar98K
User avatar
dr_mabuse
 
Posts: 80
Joined: Sat Sep 03, 2011 6:07 pm


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest