AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Heroes (https://forums.alliedmods.net/forumdisplay.php?f=51)
-   -   Bass (0p) (https://forums.alliedmods.net/showthread.php?t=30174)

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
}


d-sing 07-22-2004 04:04

???
 
where i have 2 add CVARS i am noob in sh :oops:

Chivas2973 07-22-2004 09:50

you don't have to add them, they are defaulted but they are things you can change about the hero in the sma or in the superhero config

HermanB 11-21-2004 03:05

Quote:

Originally Posted by Chivas2973
you don't have to add them, they are defaulted but they are things you can change about the hero in the sma or in the superhero config

Where do i put the sma. Im playing on steam. Dos this hero work with steam? But why do i need to put the sma in examples/source/default. If i do need to put it there. WHY? Why should i.

Fatebringer 11-21-2004 03:16

You don't need to put the .sma anywhere. It's for editting purposes.

And yes, the hero works.

FrostFlame 03-03-2005 10:45

What is the normal speed of the players ? I don't want bass to be too fast or too slow...

D o o m 05-26-2005 01:51

I just changed the color of bass, because this damn green is hurting my eyes. :roll: I hope that's okay. :twisted: I also hope that the hero with different color works. :lol:



Edit: Attachments removed due to hero being updated in the main post. (Now has color option)

vittu 05-26-2005 02:28

or you could have just made a cvar for each rgb value so they can just change it themselves to whatever they want.

jtp10181 05-26-2005 07:10

Quote:

Originally Posted by vittu
or you could have just made a cvar for each rgb value so they can just change it themselves to whatever they want.

or predefined compile options like I did with demoman, to save on cvars.

D o o m 05-26-2005 10:15

Quote:

Originally Posted by vittu
or you could have just made a cvar for each rgb value so they can just change it themselves to whatever they want.

Hm.. They can change themselves, if they want. They only have to go at the end and change the 3 r,g,b commands. :)


All times are GMT -4. The time now is 13:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.