Raised This Month: $32 Target: $400
 8% 

[ANY] Ion Cannon Weapon (Version 1.2.1 Updated 03.05.2011)


Post New Thread Reply   
 
Thread Tools Display Modes
flawless13
Member
Join Date: Aug 2010
Old 03-19-2011 , 19:29   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #51

seems like it is a little bit too overpowered :-D
is there a way that other players only get hurt and not killed?
flawless13 is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 03-20-2011 , 08:07   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #52

Quote:
Originally Posted by flawless13 View Post
seems like it is a little bit too overpowered :-D
is there a way that other players only get hurt and not killed?
If you had actually read the thread instead of just typing yer garbage here and expecting everyone to serve you you would've known.

Bottom line: Read the thread
Black Haze is offline
flawless13
Member
Join Date: Aug 2010
Old 03-20-2011 , 08:51   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #53

Quote:
Originally Posted by Black Haze View Post
If you had actually read the thread instead of just typing yer garbage here and expecting everyone to serve you you would've known.

Bottom line: Read the thread
if you mean sm_ion_mindamage and sm_ion_maxdamage, i already changed them but i still get killed ...
flawless13 is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 03-20-2011 , 10:11   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #54

Quote:
Originally Posted by flawless13 View Post
if you mean sm_ion_mindamage and sm_ion_maxdamage, i already changed them but i still get killed ...
That's because they have a minimum damage which is way higher then a player's hitpoints. Open up the source and get rid of the minimum on the sm_ion_mindamage and sm_ion_maxdamage, and you're done.

It's line 121 and 122:

PHP Code:
    g_hCVMinDamage CreateConVar("sm_ion_mindamage""42100""How much damage does the explosion deal at min?"FCVAR_PLUGINtrue1000.0);
    
g_hCVMaxDamage CreateConVar("sm_ion_maxdamage""54200""How much damage does the explosion deal at max?"FCVAR_PLUGINtrue2000.0); 
The last number in both the lines is the minimum.
Black Haze is offline
flawless13
Member
Join Date: Aug 2010
Old 03-20-2011 , 10:22   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #55

well okay i edited it and i am getting less damage from the player now (around 150 damage) but after the explosion if it still shows up and you move in it you get damage from the world (around 9000)

is it possible to edit this, too? cant find it :/
flawless13 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 03-20-2011 , 11:58   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #56

That's the fire.
Reduce the damagescale in line 941
PHP Code:
DispatchKeyValue(iFire"damagescale""100"); 
But why would you want your players to survive a ion beam from a satellite outerspace? Bit unrealistic?
__________________
Peace-Maker is offline
natex2012
Member
Join Date: Dec 2009
Old 03-25-2011 , 13:39   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #57

hi before i install this on my server as valve fixd env_laser and env_beam or will i nd this plugin aswell http://forums.alliedmods.net/showthread.php?p=1404208 or doesnt ur plugin nd this plugin or doesnt use env_laser and env_beam?.
natex2012 is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 03-25-2011 , 13:43   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #58

Quote:
Originally Posted by natex2012 View Post
hi before i install this on my server as valve fixd env_laser and env_beam or will i nd this plugin aswell http://forums.alliedmods.net/showthread.php?p=1404208 or doesnt ur plugin nd this plugin or doesnt use env_laser and env_beam?.
Open source with notepad, and do ctrl+f on the terms "env_laser" and "env_beam".
Black Haze is offline
clad
Senior Member
Join Date: Oct 2006
Old 03-27-2011 , 08:07   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #59

If your up for fixing this for TF2, i found these in the error logs.

Code:
L 03/27/2011 - 07:38:18: Info (map "cp_5gorge") (file "errors_20110327.log")
L 03/27/2011 - 07:38:18: [SM] Native "GetEntProp" reported: Property "m_iAccount" not found (entity 1/player)
L 03/27/2011 - 07:38:18: [SM] Displaying call stack trace for plugin "ioncannon.smx":
L 03/27/2011 - 07:38:18: [SM]   [0]  Line 373, C:\Users\Jannik\Desktop\ioncannon.sp::Command_BuyIon()
L 03/27/2011 - 07:40:12: [SM] Native "GetEntProp" reported: Property "m_iAccount" not found (entity 1/player)
L 03/27/2011 - 07:40:12: [SM] Displaying call stack trace for plugin "ioncannon.smx":
L 03/27/2011 - 07:40:12: [SM]   [0]  Line 373, C:\Users\Jannik\Desktop\ioncannon.sp::Command_BuyIon()
L 03/27/2011 - 07:42:51: Error log file session closed.
Here is the cfg settings.
I'm not sure how/what weapon names are allowed.

Code:
// How much money does the ion cannon cost?
// -
// Default: "10000"
// Minimum: "0.000000"
sm_ion_buy_price "0"

// How many ion cannons should a player get by default on join?
// -
// Default: "1"
// Minimum: "0.000000"
sm_ion_defaultammo "1"

// How long does it take to display the beams after deploying a ion cannon in seconds?
// -
// Default: "30"
// Minimum: "0.100000"
// Maximum: "35.000000"
sm_ion_deploytime "30"

// How many glow sprites should be spit out on explosion? (Note: They are shot twice with different velocity!)
// -
// Default: "300"
// Minimum: "0.000000"
sm_ion_glowsprites "300"

// How many ion cannons should a player be able to "carry" at a time?
// -
// Default: "5"
// Minimum: "1.000000"
sm_ion_maxammo "5"

// How much damage does the explosion deal at max?
// -
// Default: "54200"
// Minimum: "2000.000000"
sm_ion_maxdamage "54200"

// How much damage does the explosion deal at min?
// -
// Default: "42100"
// Minimum: "1000.000000"
sm_ion_mindamage "42100"

// How many seconds should player have to stand still to deploy an ion cannon?
// -
// Default: "5"
// Minimum: "0.100000"
// Maximum: "15.000000"
sm_ion_placetime "5"

// The radius of the explosion.
// -
// Default: "2000"
// Minimum: "1001.000000"
sm_ion_radius "2000"

// How long should the client's screen shake after explosion in seconds?
// -
// Default: "10"
// Minimum: "0.000000"
sm_ion_shaketime "10"

// Which weapon should be used to deploy ion cannons?
// -
// Default: "weapon_knife"
sm_ion_weapon "Bonk"
do i have "sm_ion_buy_price 0" set correctly for TF2 since there is no money ?
__________________
clad is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 03-27-2011 , 08:41   Re: [ANY] Ion Cannon Weapon (Version 1.2 Updated 17.03.2011)
Reply With Quote #60

Never tested em, but I think these are the TF2 weapon names.
Black Haze is offline
Reply



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 20:05.


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