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

FlameThrower v5.3.5 ( Ludwig van )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Freecode (7)
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 05-26-2004 , 18:07   FlameThrower v5.3.5 ( Ludwig van )
Reply With Quote #1

********************************************* *******************************
*
* Version 5.3.5 - Date: 10/16/2004
*
* Original by Eric Lidman aka "Ludwig van" <[email protected]>
* Homepage: http://lidmanmusic.com/cs/plugins.html
*
* Upgraded to STEAM and ported to AMXx by: jtp10181 <[email protected]>
* Homepage: http://www.jtpage.net
*
********************************************* *******************************

Add a flamethrower weapon to any Half-Life mod. Clients need to bind a key to amx_fire_flamethrower and then use that key to use their flame- thrower. The flamethower is a deadly weapon and give frag credit to the player who burned another player with a flamethrower burst. Lots of cool FX fire etc. It is sensitive to the mp_friendlyfire cvar and will thus kill teamates if friendlyfire is on and not if its off.

PODBOT: If using my podbots controller, podbots use this plugin too.
*NOTE* PODBot code is untested is current sersion, the podbot controller plugin needs to be updated to AMXx first.

Admin Commands:

amx_flamethrowers --toggles flamethrowers enabled or not

amx_flamethrowers_buytype --toggles flamethrowers to be bought with money or armor points

amx_flamethrowers_cost <ammount> --sets the cost of a flamethrower


Client Commands:

amx_fire_flamethrower - should be bound to a key, fires flamethrower if enabled and if there are sufficient funds from the client in either armor or money depending on the buytype cvar

say /flamethrower - gives cleints info on setup of the flamethrower in an motd window


CVARs: Paste the following into your amxx.cfg to change defaults.
You must uncomment cvar lines for them to take effect

Code:
// ******************  FlameThrower Settings  ******************

//0 = disable  1= enable
//amx_luds_flamethrower 1

//0= armor    1= money
//amx_flamethrower_buytype 0

//amount of money or armor depending on buytype for each flameburst
//amx_flamethrower_cost 30

//for mods other than cstrike which do not have money and armor to use as
//payment for flamethrower. Set the number of flamethrower blasts given
//to each player at spawn. If this is set to 1 or higher in CS it will
//override the buying system.
//amx_flamethrower_free 0

// if mp_friendlyfire is 1 and this cvar is set to 0, this plugin will
//act as if friendlyfire is off... even if its on.
//amx_flamethrower_obeyffcvar 1

//for friendlyfire on, the option to punish team killer. Quota is from
//amx_flamethrower_tkpunsish2 cvar. Options: a mix of kill,kick, and ban
//   0 = no action on team killer
//   1 = kick tker on tk quota
//   2 = 3 hour ban tker on quota
//   3 = always kill tker, kick on quota
//   4 = always kill tker, ban on quota
//amx_flamethrower_tkpunish1 1

//for friendlyfire on, quantity of teammates a player can kill before a
//kick or ban can result depending on how amx_flamethrower_tkpunish1 cvar is set
//amx_flamethrower_tkpunish2 3

//since bots are stupid, wasting their flamebursts, we give them a handicap
//with this cvar set to 1 so that bots get an unlimited flamethrower use
//amx_flamethrower_botsnolimit 1
Additional info:

Flamethrower kills and damage are sent to the sever logs in the same format as normal kills and damage. A log parser (like pysychostats) should be able to take the log output of this plugin and include them in the stats output. Flamethrower kills count on the CS scoreboard, but are only refeshed at the end of each round. This is for CS only by the way.

Changelog:
v5.3.5 - JTP10181 - 10/16/04
  • Updated for AMXModX 0.20
v5.3.4 - JTP10181 - 07/10/04
  • Made it so flamethrower cannot be used during freezetime at start of round
  • Removed all voting code, use amx_customvotes instead
  • Changed authid arrays to be 34 usable chars for future compatibility
v5.3.3 - JTP10181 - 06/08/04
  • Tweaked the help messages a little for the commands
  • Removed all \ line breaks, not supported anymore.
v5.3.2 - JTP10181 - 05/26/04
  • Changed all printed messages to use the [AMXX] tag instead of [AMX]
  • Converted MOTD boxes to work with steam and possibly with WON still (untested)
  • Fixed all authid variables to be 32 chars to STEAMIDs are handled properly
  • Changed wc3 specific code to use the engine module for AMXx
  • Started to reorganize the code so its easier for me to follow
  • Redid the commented section with the cvars so it can be copy/pasted into a config file
  • Changed death message blocking to BLOCK_ONCE for better compatibility
  • Removed "redundant plugin" code as it was made useless by BLOCK_ONCE change
  • Made it update the scores right away instead of waiting till next round (thanks -]ToC[-Bludy)
  • Made plugin use the AMXx vault.ini instead of using its own code, might as well use AMXx.
  • Fixed logging to admin log for AMXx
  • Removed all DoD cade as it needs to be a totally separate plugin

* Below v5.3.2 was maintained by Eric Lidman

********************************************* ******************************

This is only tested on CS, it WILL NOT work on DoD, SidLuke has a DoD version in the works. If anyone tries it on other mods please let me know the results. You need to comment out the #define CSTRIKE line and recompile for non-CS support (untested).

******** Engine Module REQUIRED ********
******** CStrike Module REQUIRED ********


For Voting: AMXx Custom Votes
Attached Files
File Type: sma Get Plugin or Get Source (amx_ejl_flamethrower.sma - 10739 views - 28.9 KB)
__________________
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
Nick
Senior Member
Join Date: Apr 2004
Location: Canada, Alberta, Cal
Old 05-26-2004 , 23:44  
Reply With Quote #2

Hasen't this plugin already been ported?
__________________
Nick is offline
Send a message via MSN to Nick
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 05-27-2004 , 10:00  
Reply With Quote #3

yes, but I am MAINTAINING it now. Officially. I have permission from Lud to maintain his plugins.
__________________
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
DopeFish
Senior Member
Join Date: Feb 2004
Old 05-27-2004 , 10:08  
Reply With Quote #4

that still doesn't explain why you didn't simply take over the other thread. you are just causing confusion making multiple threads for the same plugin.
DopeFish is offline
Send a message via ICQ to DopeFish
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 05-27-2004 , 10:44  
Reply With Quote #5

Cause this is what Bailopan told me to do :/

he said he would take care of the other threads
__________________
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
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 05-27-2004 , 10:46  
Reply With Quote #6

ok
__________________
My Plugins

Got ??
AssKicR is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-04-2004 , 12:34  
Reply With Quote #7

Is there a reason this is not approved yet?
__________________
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
rompom7
Senior Member
Join Date: May 2004
Old 06-05-2004 , 00:45  
Reply With Quote #8

hehe jtp I know you from the PsychoStats forums.

The plugin sounds great
__________________
Forgive your enimies, but never forget their name.
rompom7 is offline
Send a message via MSN to rompom7
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 06-11-2004 , 13:44  
Reply With Quote #9

Approved
Johnny got his gun is offline
Burnzy
Veteran Member
Join Date: Apr 2004
Old 06-13-2004 , 10:20  
Reply With Quote #10

u always gotta add a picture of what the plugin is from a movie, dont u johnny boy? lol

off topic: anyone got a pizza?
__________________
Burnzy is offline
Send a message via AIM to Burnzy
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 04:34.


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