Raised This Month: $12 Target: $400
 3% 

Get the Beam! Second Edition


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   twistedeuphoria (82)
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 09-16-2005 , 08:16   Get the Beam! Second Edition
Reply With Quote #1

I've made a game in the game plugin I've called Get The Beam!, and since I had to completely rewrite it this is the Second Edition.

What it does?
One person which is randomly picked on round start glows red and walks a bit slower. All other players lose HP until they are finally slain. To save themselves, they'll have to touch the glowing player.
The glowing player is healed everytime all the others lose HP, so it would be best for him not to lose his beam!

CVars and commands:
Code:
amx_beam_on <0|1> - enables / disables the script.
amx_beam_hpmin <0 | n> - minimum hp every user will have, if 0 they can be slain.
amx_beam_hpamount <n> - how many HP players lose once every 2 seconds.
amx_beam_hpheal <0|1> - enable / disable healing of Mr.Beam
amx_beam_soundonkill <0|1|2> - a sound is played when Mr.Beam is killen. This sets who can hear it - 0:no-one, 1:killer only, 2:everyone.
amx_beam_user <part of name> - give a specific user the Beam immediately.
amx_beam_speed <n> - defines the amount of speed Mr.Beam is given / taken away.
Needs everything I attached to run. If you want to compile yourself: The following messages are NORMAL and can be ignored:
Code:
// d:\Spiele\Half-Life\16_offline\cstrike\Addons\amxmodx\scripting\getthebeam2.sma(46) : warning 204: symbol is assigned a value that is never used: "i"
// d:\Spiele\Half-Life\16_offline\cstrike\Addons\amxmodx\scripting\getthebeam2.sma(46) : warning 203: symbol is never used: "text"
Creditz:
Idea by atomic on http://forums.alliedmods.net/showthr...=153097#158294
Coding & most of the Testing by MistaGee


Have fun with it!

Greetz MGee

Update:
Added CVar amx_beam_mode and updated the dictionary.
CVar values:
2 - normal operation, everyone except Mr.Beam loses HP, Mr.Beam walks slower than the others.
1 - inverse mode, Mr.Beam is the only one to lose HP and walks faster than the others.
0 - lazy mode, no-one loses HP!
Attached Files
File Type: zip kenny1.zip (26.3 KB, 461 views)
File Type: txt getthebeam.txt (1.3 KB, 458 views)
File Type: sma Get Plugin or Get Source (getthebeam2.sma - 1450 views - 13.7 KB)
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 09-16-2005 , 10:39  
Reply With Quote #2

Good job, works well..now..

Will continue testing and let you know of problems.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
smallwimpyboy
Senior Member
Join Date: Aug 2005
Location: United States
Old 09-16-2005 , 12:20  
Reply With Quote #3

sounds good
smallwimpyboy is offline
Send a message via AIM to smallwimpyboy Send a message via MSN to smallwimpyboy
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 09-16-2005 , 16:30  
Reply With Quote #4

--Edited--
SubStream is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 09-17-2005 , 04:57  
Reply With Quote #5

Quote:
Originally Posted by SubStream
"beam_injure=0 1 or 2.. 0 being nobody losing life.. 1 being the person glowing red losing life so that they have to hurry and tag someone and 2 being the people NOT glowing red losing life so that they DO have to catch the person with the beam.
implemented it, get the update and see ^^

Quote:
Originally Posted by SubStream
and a simple amx_beam 0 and amx_beam 1 command to turn it on and off while actually in game play.
that's the amx_beam_on command (variable), but you'll have to wait until respawn for the changes to take effect...

Quote:
Originally Posted by SubStream
and a cvar for the speed of the beamed player to allow someone to set his speed to normal if they didn't want him to go slow..
amx_beam_speed sets the amount of speed Mr.Beam is forced to go SLOWER than the others, so set it to 0.0 to not have speed reduced at all.

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 09-18-2005 , 00:48  
Reply With Quote #6

Edit: Wouldn't compile
SubStream is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 09-18-2005 , 06:08  
Reply With Quote #7

that sux, I didn't have a single one and the script works perfectly fine with me... post the complete compiler log for the script then I can help ya.

BTW: Which amxx version do you use? mine is 1.55...

Try this link: http://www.amxmodx.org/compiler.php?go=get&id=7508
This plugin should work.


Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
scriptyboy
BANNED
Join Date: Sep 2005
Old 09-21-2005 , 11:27  
Reply With Quote #8

i like this idea...good job...havent tested yet...i will test today...is this plugin very demanding on the server? i am running (laugh all you want) 300MHz 256MBr server comp and a few of the plugins it cant handle...will it run ok on mine?

Quote:
you had -3 b4 I gave you +, but I can't do that too often cuz then it would cost mine...
yea well...people keep -karmaing me for fun i guess...its anoying me because if i get -20 karma i wont be able to post my plugins

P.S. would +karma u but ive used all my karma points today.
scriptyboy 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 05:35.


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