Raised This Month: $32 Target: $400
 8% 

Bass (0p)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 07-21-2004 , 16:39   Bass (0p)
Reply With Quote #1

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
}
Attached Files
File Type: sma Get Plugin or Get Source (sh_bass.sma - 16477 views - 10.0 KB)
__________________

Last edited by vittu; 11-02-2007 at 16:41.
Chivas2973 is offline
d-sing
Junior Member
Join Date: Jul 2004
Old 07-22-2004 , 04:04   ???
Reply With Quote #2

where i have 2 add CVARS i am noob in sh
d-sing is offline
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 07-22-2004 , 09:50  
Reply With Quote #3

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
__________________
Chivas2973 is offline
HermanB
Junior Member
Join Date: Dec 2004
Old 11-21-2004 , 03:05  
Reply With Quote #4

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.
HermanB is offline
Fatebringer
Senior Member
Join Date: Sep 2004
Old 11-21-2004 , 03:16  
Reply With Quote #5

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

And yes, the hero works.
__________________
I'm 126% addicted to Counterstrike. How about you?
Fatebringer is offline
FrostFlame
New Member
Join Date: Feb 2005
Old 03-03-2005 , 10:45  
Reply With Quote #6

What is the normal speed of the players ? I don't want bass to be too fast or too slow...
FrostFlame is offline
D o o m
Veteran Member
Join Date: Sep 2005
Location: Germany
Old 05-26-2005 , 01:51  
Reply With Quote #7

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



Edit: Attachments removed due to hero being updated in the main post. (Now has color option)
__________________
Heroes
:+: Deadpool :+:
D o o m is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-26-2005 , 02:28  
Reply With Quote #8

or you could have just made a cvar for each rgb value so they can just change it themselves to whatever they want.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 05-26-2005 , 07:10  
Reply With Quote #9

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.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
D o o m
Veteran Member
Join Date: Sep 2005
Location: Germany
Old 05-26-2005 , 10:15  
Reply With Quote #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.
Hm.. They can change themselves, if they want. They only have to go at the end and change the 3 r,g,b commands.
__________________
Heroes
:+: Deadpool :+:
D o o m is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:56.


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