Raised This Month: $95 Target: $400
 23% 

Missiles Launcher v3.8.4 ( Ludwig van )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Johnny got his gun (102)
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 07-24-2004 , 15:45   Missiles Launcher v3.8.4 ( Ludwig van )
Reply With Quote #1

********************************************* *******************************
*
* Version 3.8.4 - Date: 02/11/2006
*
* 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 missiles to Counter-Strike. Fire a variety of types of missiles including laser guided missiles, heat seeking missiles, and missiles with guncam on so you see what the missile sees and control it thusly. Missiles can either be bought or given free to clients and there are several options for this. In game menus and help pages are included. Note: Heatseeking missiles only seek running jetpacks, from the plugins "Jetpack Model No. Lud1337" and "Jetpack". This has not been officially ported to AMXx yet so I am unsure if it will work or not. In addition, missiles can be shot down with common guns or with the laser from my "CS Laser Guns and Laser Stats" plugin. If you successfully shoot down a missile with a laser, you get a prize of free missiles for the remainder of the round plus extra missiles for the next round.

Admin Commands:

amx_missiles - toggles on and off missiles enabled
amx_missilesbuying - toggles on/off missile buy requirements

amx_missiles_ammo1 - # of common missiles given per round
amx_missiles_ammo2 - # of laserguide missiles given per round
amx_missiles_ammo3 - # of guncam missiles given per round
amx_missiles_ammo4 - # of anti-missile shots given per round
amx_missiles_ammo5 - # of heat-seeking missiles given per round
amx_missiles_ammo6 - # of rope-seeking missiles given per round
amx_missiles_ammo7 --# of swirling death missiles given per round


amx_missile1 [speed] [chicken:0|1|2] [deadly:0|1] - common missile
amx_missile2 [speed] [chicken:0|1|2] [deadly:0|1] - laser guided missile
amx_missile3 [speed] [chicken:0|1|2] [deadly:0|1] - gun camera missile
amx_missile5 [speed] [chicken:0|1|2] [deadly:0|1] - heat-seeking missile
amx_missile6 [speed] [chicken:0|1|2] [deadly:0|1] - rope-seeking missile
amx_missile7 [speed] [chicken:0|1|2] [deadly:0|1] - swirling death missile

Examples:

amx_missile2 2000 0 0 - fires fast non-lethal laserguided missile
amx_missile5 500 1 1 - fires slow lethal jetpack seeking chicken

Client Commands:

amx_missile - fires common missile
amx_laserguided_missile - fires missile seeking red dot in aim
amx_guncamera_missile - fires missile you control in camera veiw
amx_anti_missile - activates antimissile system, aim at missile you want to destroy, if it sees the missile in your aim, it automatically launches a missile interceptor at it
amx_heatseeking_missile - seeks nearest running jetpack
amx_ropeseeking_missile - seeks nearest ninja-rope (lud/jtp10181's only)
amx_swirlingdeath_missile - a central missile with ring of 6 (default) missiles rotating around it. When missiles run out of fuel, they break formation and cause massive destruction.

amx_sdmf <fuel> - client uses this to set amount of time swirling death missile flies until it runs out of fuel. Only works if cvar amx_missile_allow_sdmf is 1. Default: 0
missile_menu - opens the client missile menu
say /missile - opens the client missile menu
say /missile_help - show window with info about missles

CVARs: Paste the following into your amxx.cfg to change defaults.
must uncomment cvar lines for them to take effect
Code:
// ******************  Missile Settings  ******************

//1 to enable missiles, 0 to disable
//amx_luds_missiles 1

//Set to 1 to require missiles to be purchased
//amx_missile_buy 0

//
//The following "COST" settings only apply if buying mode is ON
//
//Ammount of money taken each time you fire a common missile
//amx_missile_cost1 1000

//Ammount of money taken each time you fire a laser guided missile
//amx_missile_cost2 3000

//Ammount of money taken each time you fire a gun camera missile
//amx_missile_cost3 3000

//Ammount of money taken each time you fire an anti-missile shot
//amx_missile_cost4 2000

//Ammount of money taken each time you fire a heat seeking missile
//amx_missile_cost5 4000

//Ammount of money taken each time you fire a rope seeking missile
//amx_missile_cost6 4000

//Ammount of money taken each time you fire a swirling death missile
//amx_missile_cost7 5000

//
//The following "AMMO" settings only apply if buying mode is OFF
//
//Ammount of common missiles given per round free to clients
//amx_missile_ammo1 1

//Ammount of laser guided missiles given per round free to clients
//amx_missile_ammo2 1

//Ammount of gun camera missiles given per round free to clients
//amx_missile_ammo3 1

//Ammount of anti-missile shots given per round free to clients
//amx_missile_ammo4 2

//Ammount of heat seeking missiles given per round free to clients
//amx_missile_ammo5 1

//Ammount of rope seeing missiles given per round free to clients
//amx_missile_ammo6 1

//Ammount of swirling death missiles given per round free to clients
//amx_missile_ammo7 1

//If set to 1, this cvar causes swirling death missile to use 7 missiles in the
//player's missile inventory. It draws from all types of missiles instead of
//it having its own indepedent inventory count.
//amx_missile_ammo7ta 0

//Sets the default speed of most missiles
//amx_missile_speed 1000

//Sets the speed of ropeseeking missiles
//amx_missile_rsspeed 1400

//Sets the speed of heatseeking missiles
//amx_missile_hsspeed 1100

//Number of seconds a missile is driven before it falls to the ground out of fuel
//amx_missile_fuel 6.0

//Number of seconds a swirling death missile is driven before
//it "mirvs" or breaks then falls to the ground out of fuel
//amx_missile_sdfuel 2.0

//Sets the speed of swirling death missiles
//amx_missile_sdspeed 750

//Sets the number missiles in swirling death
//amx_missile_sdcount 6

//Sets the rotation speed of swirling death
//amx_missile_sdrotate 6

//Sets the radius of swirling death missiles
//amx_missile_sdradius 32

//sets whether clients are allowed to set thier own fuel amounts
//for swirling death missile. Default 0. Enable with 1
//amx_missile_allow_sdmf 0

//makes missile obey server gravity rules, set to 0 for missiles
//that travel straight because they are not affected by gravity
//amx_missile_obeygravity 1

//Makes missile obey server friendly fire rules.
//amx_missile_obeyffcvar 1

//Max distance from the blast that damage will occur at
//amx_missile_damradius 240

//Maximum Blast damage from explsion this damage accours when distance
//is zero and decreases as the distance fomr the blast increases
//amx_missile_maxdamage 140

//For friendlyfire on, the option to punish team killer.
//Quota is from the cvar amx_missile_tkpunsish2. options:
//	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_missile_tkpunish1 1

//For friendlyfire on, quantity of teammates a player can kill before a kick or ban can
//result depending on the above cvar amx_missile_tkpunish1 is set
//amx_missile_tkpunish2 3

//If in the rare event a player shoots down a missile belonging to an
//opposing player, he gets a prize, free missiles. Cvar sets
//how many of each type of missile are given
//amx_missile_prizes 5

//Sets the amount of time a player can use his anti-missile radar per round.
//amx_missile_radarbattery 100

//Since bots are stupid and waste their missiles, we give them a handicap with this
//cvar set to 1 so that bots get an unlimited quantity of missiles
//amx_missile_botsnolimit 1

//This cvar limits the two types of missiles responsible for spawn rape, guncamera and
//swirling death, from being fired until 15 seconds of a round has passed. Set cvar to 0
//to allow those missiles to be fired without being limited by round start
//amx_missile_spawndelay 0

Changelog:

v3.8.4 - JTP10181 - 02/11/06
  • Fixed runtime error in anti-missile code when server has 32 players
v3.8.3 - JTP10181 - 01/11/05
  • Made entity checking better to avoid runtime errors
v3.8.2 - JTP10181 - 10/02/04
  • Fixed bug, menu key not being registered correctly
  • Fixed bug, wrong cost cvar being used in heat seeking check
v3.8.1 - JTP10181 - 09/28/04
  • Now works on AMXModX 0.20
v3.8 - JTP10181 - 07/23/04
  • Converted MOTD boxes to work with steam and possibly with WON still
  • Fixed all authid variables to be 34 chars so STEAMIDs are handled properly
  • Changed wc3 specific code to use the engine module for AMXx
  • Added code so the missile buying can only be enabled for CS since the money functions are only for CS in AMXx
  • Fixed logging to admin log for AMXx
  • Working on non-CS support that broke with AMXx, must be a #define compile option now.
  • Removed all DoD support as it needs ot be a totally separate plugin.
  • Made it update the scores right away instead of waiting till next round
  • Changed all printed messages to use the [AMXX] tag instead of [AMX]
  • Changed death message blocking to BLOCK_ONCE for better compatibility
  • Removed "redundant plugin" code as it was made useless by BLOCK_ONCE change
  • Gave all missiles different colored trails (common is still white)
  • Changed the damage system to be much more versatile.
  • Rearranged the order of the missiles in the menu and for the command numbers
  • Commented out bot code for now because I don't want to deal with it and the interface plugin is not ported yet
  • MANY other tweaks and fixes, too many to list.

Below v3.8 was maintained by Eric Lidman

******** Engine Module REQUIRED ********
******** Fun Module REQUIRED ********

For Voting: AMXx Custom Votes
Attached Thumbnails
Click image for larger version

Name:	sdfun.jpg
Views:	34050
Size:	160.0 KB
ID:	1093  
Attached Files
File Type: sma Get Plugin or Get Source (amx_ejl_missiles.sma - 41916 views - 82.9 KB)
File Type: zip amx_ejl_missiles_sound.zip (24.8 KB, 45463 views)
__________________
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
Arucard
Member
Join Date: Mar 2004
Location: Somewhere Special :D
Old 07-25-2004 , 01:37  
Reply With Quote #2

This shit is fun man..... Thanx a million.
__________________
May the Lord and the Queens Blessings be With you. Amen.
Arucard is offline
ol
Senior Member
Join Date: Jul 2004
Old 09-28-2004 , 00:39  
Reply With Quote #3

i need a sound file

sound/misc/arnold_heatseeker.wav

plz help me.
ol is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 09-28-2004 , 01:13  
Reply With Quote #4

Hey jtp

for your AMX MOD X .20 version (when that goes final) you should add a whole new function into the script that will help againt the "morons" that dont enable the correct modules.

Code:
public plugin_modules() {     require_module("fun")     require_module("cstrike") }

That is what I am using in the Admin All In One plugin for AMX MOD X .20 ... What it does it gives a error message in the logs and in console causing the plugin to fail and telling the admin that they dont have the correct modules loading.

Just a suggestion, its a very useful function if you ask me.
__________________

BigBaller is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-28-2004 , 18:04  
Reply With Quote #5

BigBaller, thanks for the tip but I know about it already :-p

only prob though is then people whine it wont compile on 0.16
__________________
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
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-28-2004 , 23:03  
Reply With Quote #6

Upgraded to work on AMXModX 0.20
Let me know if theres any more problems with it, I only tested it briefly
__________________
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
ol
Senior Member
Join Date: Jul 2004
Old 09-28-2004 , 23:31  
Reply With Quote #7

thk a lot,i will testing!!!


and can you Upgraded these plugins to amxx 0.2
Attached Files
File Type: zip luds_podbot_ready_plugins.zip (271.8 KB, 1610 views)
ol is offline
ol
Senior Member
Join Date: Jul 2004
Old 09-29-2004 , 00:57  
Reply With Quote #8

i has tested,it wokes fine for amxx0.2 rc6

but "missile info window" in "fire missile menu" is not work.



good job!
ol is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-29-2004 , 07:58  
Reply With Quote #9

Quote:
Originally Posted by ol
but "missile info window" in "fire missile menu" is not work.
You mean the option choice #8 or whatever? I'll look into that.
__________________
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
ol
Senior Member
Join Date: Jul 2004
Old 09-29-2004 , 08:10  
Reply With Quote #10

thk,and can you give the sound of arnold_heatseeker.wav ?


the last i want the podbot can use this plugin
ol 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 14:27.


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