home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


New Wepons For Cube

by Mr_Sploosh on 09/29/2003 15:06, 44 messages, last message: 11/30/2008 03:31, 46835 views, last view: 04/26/2024 03:57

Is there a way you could make a mod for cube that adds new wepons? Please tell me how or send me a link to a page that shows how.

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#5: ..

by luke on 11/01/2003 06:39

..

reply to this message

#6: ..

by Slipstream on 11/01/2003 18:29

This is the area you can change in weapons.cpp if you desire to just modify an existing weapon. Adding weapons as D.polmat says requires more than one file edit.

------8<----cut here-----

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, "fireball" },
{ S_ICEBALL, 200, 40, 30, 6, "iceball" },
{ S_SLIMEBALL, 200, 30, 160, 7, "slimeball" },
{ S_PIGR1, 250, 50, 0, 0, "bite" },
};
----end cut---

Take note of the structure, the first variable is the sound it makes. And part should be zero unless your weapon has a visible projectile.

reply to this message

#7: Re: it's just what i'm doing now...

by LethZoid on 11/16/2003 05:25, refers to #2

Wait... Wouldn't 3dsMax 4.0-5.0 work for the models of the weapons? :D

reply to this message

#8: Re: it's just what i'm doing now...

by D.plomat on 11/19/2003 11:18, refers to #7

Probably, there must be some way to export to .md2 format, but i've no skills in modelling, and don't have time to learn this ;)

reply to this message

#9: I have skill in there

by LordDas on 02/12/2004 13:55

I ave skill in modeling md2! I will help you out :)

reply to this message

#10: ..

by |n$4n3 on 06/30/2005 12:20

But I can add the weapon simply opening the file with block-notes or must open it with a program of c++ ricompiling the file?

sorry for my school-english

reply to this message

#11: ..

by makkE on 07/01/2005 01:20

You can edit the code with whatever app you like (notepad) ..
To make it work, yes, you will have to recompile the code.

reply to this message

#12: ..

by eager noob on 07/09/2005 05:22

wow seems interesting.... I suck at moding anything this really helped thanks for the help

reply to this message

#13: replacing hudguns

by mm on 03/19/2006 22:19

what are the required parameters for building a hudgun md2 file? i changed the pistol to a different tris.md2 (one we made) and sauerbraten crashed.. any ideas?

reply to this message

#14: ..

by makkE on 03/19/2006 22:33

Did you export it with blender ?


reply to this message

#15: Message censored by administrator

by MrRobbin on 05/16/2006 21:30

#16: ..

by makkE on 05/16/2006 21:38

Probably scam.

reply to this message

#17: Re: it's just what i'm doing now...

by NIm on 05/17/2006 06:05, refers to #2

An extremely helpful message. You've greatly furthered my understanding of how sauer works

reply to this message

#18: ..

by makkE on 05/17/2006 10:51

The only two programs that will get you a working md2 are ms3d and q2modller.
q2modeller can be emulated on linux to serve as a final exporter, for those who work on linux.

reply to this message

#19: um

by appppppple on 05/17/2006 22:32

Who needs realistic weapons, as long as they don\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'t look dorky there\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s no need. But what Sauebraten does need is more weapons, I know it has two new weapons (handgun, grednade laucher), but I really think it needs more (like a weapon that fits the sniper rifle genre and actually snipes) or a heavy ballistic weapon (howbout a dagger), a weapon for the light machine gun genre (stationary guns).

More variety/weapons means more fun and interest in the game for the user.

p.s. you have plenty of monsters, but howaboout ranks in the monsters (like a purple orge is higher ranking and more powerful than a plain one)

reply to this message

#20: Re: um

by Pxtl on 05/18/2006 20:43, refers to #19

Most of the monsters behave the same anyways. If you want a bigger ogre, use the knight. If you want a bigger Knight, use Bauul. If you want a bigger Rhino, use the Slith. If you're just mean to the player and want to ruin his day, plop lots of Rattamahattas in short range with low cover.

As for more weapons - Sauer has the basic weapons for DM. It has a sniper (the rifle is as sniper as you need), a shotgun, a rocketlauncher, a grenade, a chaingun. The only traditional FPS gear missing is a plasmagun for close-combat but low-cover environs (shotgun is better to take by surprise with).

The stationary guns are more of an issue with the Capture mode, where some way to give a "defender advantage" would be nice.

What else would you want the sniper rifle to do? Zoom? You can do that already. Require the player to be immobile? That just comes back to stationary guns. Headshots? There is no way in a million years that you can get a headshot at Sauerbraten speeds.

reply to this message

#21: Re: um

by Passa on 05/18/2006 22:31, refers to #20

Stationary guns... *drool*

reply to this message

#22: How do you zoom? and other stuff

by appppppple on 05/19/2006 04:19

I had no idea that you could zoom with the rifle (could you please elaberate and explain how), I tried the second mouse button, but of course this only makes you jump (very useful actualy). Also I have to agree with you a plasma gun is really need, or what I am really looking for is a sword (plasma sword?). Also I really think that the rocket laucher and grenade laucher need more damage in their burst (It is very frustrating to me that the rifle is more powerful that the rocketlaucher, or I can't take out a Baul with at least two rounds, or especially when trying to take out large groups) really guys a shotgun is as powerful as a rocket laucher (I don't think so.) finally I still think their needs to be a sub-machine gun genre (preferably attached with a light grenade laucher) or hay turn the existing grenade laucher into a sub-machine gun/grenade laucher, thatit be cool.

reply to this message

#23: one more thing

by appppppple on 05/19/2006 13:59

Minigun and what would be really cool is a sword on the butt of a gun

reply to this message

#24: Re: How do you zoom? and other stuff

by Pxtl on 05/19/2006 14:00, refers to #22

Ahh, there's your problem - you're thinking realism. Cube isn't about realism, any more than Doom or Quake were. The rocket launcher and grenade launcher do less damage because it makes them balance well into the gameplay - realism is irrelevant. Likewise, having a dual weapon is redundant when you've already got a GL and an MG, particularly when it would involve binding a second fire key.

The default keybinding for zooming is barely usable, but if you look around in the forum or on Quadropolis there are numerous zooming scripts to make the zooming easy. Imho, a Q3-style zoom on mouse3 is something that should be in the default script, but for some reason Aard hasn't changed that since the early days of Cube.

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


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


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