[ANY] Ion Cannon Weapon (Version 1.2.1 Updated 03.05.2011)
4 Attachment(s)
Ion Cannon Weapon in Source This is a port of hjkwe645 aka A.F.'s AMX Mod X weaponmod ion cannon weapon as requested here. Credits for the math and sounds entirely to him - nice work! Description: Players are able to buy ion cannons, charging $10000 by default, by typing !buyion in chat. Now when using the knife outside, you're able to place an ion cannon at your position. Give the satellite time to locate you and see a big laser bashing from the sky destroying anything around. This should work in any game - I only tested in CS:S though. If you want to place the ion cannon with a different weapon than the knife change the sm_ion_weapon convar to your weapon. L4D(2): Remove the "//" in front of the following line and recompile to use default HL2 sounds instead of the offered sounds, so the clients don't need to download anything. PHP Code:
Video: Some more effects have been added since the version in the video. http://www.youtube.com/watch?v=c52AUZYFYFk http://www.youtube.com/watch?v=FBJbHuzfWOY&hd=1 ConVars:
There is only 1 command for admins with the root "z" flag: sm_giveion <#userid|steamid|name> - Give a player an ion cannon. This command ignores the sm_ion_maxammo setting. If you set sm_ion_buy_enable 0 and sm_ion_defaultammo 0 in your config file. Only admins with the root flag are able to use the ion cannon. Compile Requirements: This plugin uses berni's and Chanz' smlib and exvel's colors library. Download both and put inside your include folder, if you want to compile yourself. Credits:
Quote:
For easy use, there are 2 compiled versions attached.
|
Re: [ANY] Ion Cannon Weapon (Version 1.0)
lol at the deleted.
This looks awesome but I can see I'd have to charge 16001 to buy them. I think I'm overloaded with add-ons but a server dedicated just for this add-on with rounds that I guess would last all of 30 seconds (lol) would be fun. Thanks Ill give it a whirl on my test server. |
Re: [ANY] Ion Cannon Weapon (Version 1.0)
Hmm, dang I'd love this to work on l4d2, I am aware of the knife being used in german servers, however I am not sure if it will work with that knife.
|
Re: [ANY] Ion Cannon Weapon (Version 1.0)
You can change the weapon to whatever you like. It's not bound to the knife in any way. You'd only miss the sounds in l4dx.
|
Re: [ANY] Ion Cannon Weapon (Version 1.0)
After a few modifications it worked for my synergy server. Exellent work.
It didnt load all the sounds but thats probably something on my part. |
Re: [ANY] Ion Cannon Weapon (Version 1.0)
I see, however I'v ran into 1 more obvious issue, I cannot really buy an ioncannon as l4d has no buy function. I understand that you never intended the plugin to work on the game and I would like to edit the plugin to be able to support l4d, however I have the sourcemod knowledge as a 5 year old learning english for the first time, I only know the basics. I am guessing this is to much to ask for, however could you possibly make a command for admins to force the ioncannon to deploy? That way no buying is required and it should work? I am not sure if you will accept this well :D.
EDIT: Well, i made the price of the cannon $0, so now I can buy it, however could you possibly still take my idea into consideration, I am going to try my best to edit the code to change weapon, however I probably wont be able, could someone possibly also tell me how to edit which weapon should be used for ion cannon, as I probably wont figure this out. Sorry for all my spam. |
Re: [ANY] Ion Cannon Weapon (Version 1.0)
How to make this only for admin with flag root plz ? With an !ioncanon command
The admin root say !ioncanon and the ioncanon is placed at the position of the admin |
Re: [ANY] Ion Cannon Weapon (Version 1.0)
L4D2 Can not run the game a black screen
|
Re: [ANY] Ion Cannon Weapon (Version 1.0)
effect is epic
|
Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Updated to 1.1
Added usage of alternative hl2 only sounds to support l4d and other servers who don't want their players to download anything. You're now able to change the weapon used to place an ion cannon easily via a define Read the first post on how to enable them. Added admin command to give ion cannons to players. sm_giveion <#userid|steamid|name> |
All times are GMT -4. The time now is 05:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.