View Full Version : Bare Bones weapon code?

Euphoric Beaver
2nd Nov 2001, 10:50 AM
I was just wondering if someone could perhaps make a weapon designed specifically as a easy to understand weapon.
Ie a simple trace for Fire and perhaps fire off a projectile for Alt.
And just contained code that was needed.
Perhaps if net code was there then people could use it as a base for coding new weapons.

Could even send it to Chimeric?


18th Nov 2001, 10:50 AM
try the chimeric tutorial on making a grenade launcher, its pretty simple.

18th Nov 2001, 12:07 PM
hey ciced hows the proxy mine

Captain Kewl
18th Nov 2001, 02:24 PM
The weapons abstractions are pretty robust... all you REALLY have to do if you just want to make a generic weapon is make a subclass and change some defaultproperties. There are values you can change to make the weapon projectile or hitscan, rapid or single-fire, etc.

I think the Ripper is probably one of the simpler weapons, which takes advantage of this.

Euphoric Beaver
18th Nov 2001, 02:39 PM
Yeh I know all this now. This is an old post.

BTW Lemoni, the proxy mine has now become the fatgun which fires projectiles that fatten up players till they explode. :D