View Single Post
Plugin Info:     Modification:          Category:          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, 465 views)
File Type: txt getthebeam.txt (1.3 KB, 465 views)
File Type: sma Get Plugin or Get Source (getthebeam2.sma - 1458 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