Chivas2973 |
07-21-2004 16:39 |
Bass (0p)
1 Attachment(s)
Bass v1.3
Description
Uber Energy Beam - Press the +power key to fire your your beam cannon
shconfig.cfg CVARS
Code:
//Bass
bass_level 10
bass_health 200 //Default 200
bass_armor 200 //Default 200
bass_speed 200 //Default 200
bass_gravity 0.40 //Default 0.40
bass_laser_ammo 1000 //total # of shots given each round, -1 is unlimited (Default 1000)
bass_laser_burndecals 1 //Show the burn decals on the walls
bass_cooldown 0.0 //Cooldown timer between laser use
bass_multishot 0.1 //Delay for multishots on holding key down, set to -1 for only 1 shot per keydown (Default 0.1)
From orginal code: "Based on dr.doom Hero but added gravity.." (meaning it was a rip of dr. doom, which was a rip of cyclops, and just added grav)
*Damage and Beam Color changeable as defines at the top of the sma, requires recompiling if changed*
Code:
// Damage Variables
#define h1_dam 500 // head
#define h2_dam 250 // body
#define h3_dam 250 // stomach
#define h4_dam 100 // arm
#define h6_dam 100 // leg
//Colors To Pick From ***DO NOT MODIFY***
#define CUSTOM 0
#define RED 1
#define GREEN 2
#define BLUE 3
#define LTBLUE 4
#define YELLOW 5
#define PURPLE 6
#define ORANGE 7
//Color Settings ***CHANGE COLOR HERE***
#define BEAM_COLOR GREEN // Set beam color here, use color names from above (Default GREEN)
#define BEAM_ALPHA 200 // alpha value, visibility from 0-255 (Default 200)
//Color definitions
new BeamColors[8][3] = {
{150, 150, 150}, // Custom, edit this one for a custom rgb value
{255, 0, 0}, // Red
{0, 255, 0}, // Green
{0, 0, 255}, // Blue
{0, 255, 255}, // Light Blue
{255, 255, 0}, // Yellow
{255, 0, 255}, // Purple
{255, 128, 0} // Orange
}
|