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

[CSS] Jihad Suicide Bomb (.985) [Updated: 3/14/12]


Post New Thread Reply   
 
Thread Tools Display Modes
mafiaman1564
Junior Member
Join Date: Jul 2011
Old 12-11-2011 , 01:07   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #21

I'm trying to use this plugin on my Jailbreak server, but when a T uses the bomb, he survives, and it messes up the gameplay. I set the damage to the 100, and I restarted the server with the new config, and it still does't work. Any help would be great!

Last edited by mafiaman1564; 12-11-2011 at 01:11.
mafiaman1564 is offline
TheVirus
Member
Join Date: Aug 2011
Old 12-11-2011 , 16:13   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #22

Quote:
Originally Posted by mafiaman1564 View Post
I'm trying to use this plugin on my Jailbreak server, but when a T uses the bomb, he survives, and it messes up the gameplay. I set the damage to the 100, and I restarted the server with the new config, and it still does't work. Any help would be great!
It's a bit funky, since I'm not sure on how the explosion stuff works in CSS, but I found that a sizemultiplier of 600 and damage of 300 or 400. Anything less and it doesn't kill the T.
TheVirus is offline
mafiaman1564
Junior Member
Join Date: Jul 2011
Old 12-12-2011 , 02:07   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #23

Well I tried both 300 and 400 and the radius at 600 and it still does not kill the t's for some odd reason? This is what I have for the config:
Code:
// This file was auto-generated by SourceMod (v1.4.1-dev)
// ConVars for plugin "sm_jihad-fix.smx"


// Number of seconds after round starts that a bomb can be purchased.
// -
// Default: "10"
sm_jihad_bombbuytime "60"

// Sets how many bomb types exists.
// -
// Default: "1"
sm_jihad_bomblevels "1"

// Sets how many CTs may carry a bomb at once.
// -
// Default: "0"
sm_jihad_bomblimitct "0"

// Sets how many time a player may buy a bomb per round.
// -
// Default: "1"
sm_jihad_bomblimitround "1"

// Sets how many Ts may carry a bomb at once.
// -
// Default: "1"
sm_jihad_bomblimitt "10"

// Sets whether the wearer of an armed bomb changes color.
// -
// Default: "0"
sm_jihad_coloronarmed "0"

// Sets whether the plugin is enabled or not.
// -
// Default: "1"
sm_jihad_enable "1"

// Enable (1) or Disable (0) the buy menu.
// -
// Default: "1"
sm_jihad_enablemenu "0"

// Sets the damage of the explosions.
// -
// Default: "400"
sm_jihad_explosiondamage "400"

// Sets the chance (in percent) that the bomb will fail to detonate.
// -
// Default: "0.25"
sm_jihad_failrate "0.10"

// Set to 1 to have it ignore radius. This brings it back to the way the bomb worked before.
// -
// Default: "0"
sm_jihad_ignoreradius "0"

// Sets the delay (in seconds) before detonating the bomb.
// -
// Default: "1.0"
sm_jihad_postdelay "0"

// Sets the path of the sound to play after detonating the bomb. (Relative to the sound folder)
// -
// Default: "jihad/jihad.wav"
sm_jihad_postsoundpath "jihad/jihad.wav"

// Sets the delay (in seconds) before arming the bomb.
// -
// Default: "15.0"
sm_jihad_predelay "15.0"

// Sets the base price to buy a bomb.
// -
// Default: "15000"
sm_jihad_pricebase "15000"

// Sets the price to upgrade a bomb.
// -
// Default: "2500"
sm_jihad_priceupgrade "500"

// Percentage increase the bomb will randomly blow when not used.
// -
// Default: "10"
sm_jihad_randomexplosion "10"

// Sets the radius of the explosions.
// -
// Default: "600"
sm_jihad_sizemultiplier "600"

// Version of the plugin.
// -
// Default: "0.982"
sm_jihad_version "0.982"
Also just an idea would you be able to make it so that if a player has a certain flag (Vip's for example) the bomb would cost less? Like 2 separate prices? Btw thanks a lot for this plugin!

Last edited by mafiaman1564; 12-12-2011 at 02:08.
mafiaman1564 is offline
TheVirus
Member
Join Date: Aug 2011
Old 12-12-2011 , 11:53   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #24

Quote:
Originally Posted by hkiul613shsy View Post
The public cvar (sm_jihad_version) you placed in the OP description does not exist in the plugin. Please include it in your plugin with the correct flags.

Thanks,
__________________


I guess I don't know what you mean. Can you clarify? I added it as:
Code:
g_cvar_PluginVersion = 		CreateConVar("sm_jihad_version",			PLUGIN_VERSION, 		"Version of the plugin.", FCVAR_NOTIFY);
I'm not sure if I need to do something else.
TheVirus is offline
TheVirus
Member
Join Date: Aug 2011
Old 12-12-2011 , 11:56   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #25

Quote:
Originally Posted by mafiaman1564 View Post
Well I tried both 300 and 400 and the radius at 600 and it still does not kill the t's for some odd reason? This is what I have for the config:
Code:
// This file was auto-generated by SourceMod (v1.4.1-dev)
// ConVars for plugin "sm_jihad-fix.smx"


// Number of seconds after round starts that a bomb can be purchased.
// -
// Default: "10"
sm_jihad_bombbuytime "60"

// Sets how many bomb types exists.
// -
// Default: "1"
sm_jihad_bomblevels "1"

// Sets how many CTs may carry a bomb at once.
// -
// Default: "0"
sm_jihad_bomblimitct "0"

// Sets how many time a player may buy a bomb per round.
// -
// Default: "1"
sm_jihad_bomblimitround "1"

// Sets how many Ts may carry a bomb at once.
// -
// Default: "1"
sm_jihad_bomblimitt "10"

// Sets whether the wearer of an armed bomb changes color.
// -
// Default: "0"
sm_jihad_coloronarmed "0"

// Sets whether the plugin is enabled or not.
// -
// Default: "1"
sm_jihad_enable "1"

// Enable (1) or Disable (0) the buy menu.
// -
// Default: "1"
sm_jihad_enablemenu "0"

// Sets the damage of the explosions.
// -
// Default: "400"
sm_jihad_explosiondamage "400"

// Sets the chance (in percent) that the bomb will fail to detonate.
// -
// Default: "0.25"
sm_jihad_failrate "0.10"

// Set to 1 to have it ignore radius. This brings it back to the way the bomb worked before.
// -
// Default: "0"
sm_jihad_ignoreradius "0"

// Sets the delay (in seconds) before detonating the bomb.
// -
// Default: "1.0"
sm_jihad_postdelay "0"

// Sets the path of the sound to play after detonating the bomb. (Relative to the sound folder)
// -
// Default: "jihad/jihad.wav"
sm_jihad_postsoundpath "jihad/jihad.wav"

// Sets the delay (in seconds) before arming the bomb.
// -
// Default: "15.0"
sm_jihad_predelay "15.0"

// Sets the base price to buy a bomb.
// -
// Default: "15000"
sm_jihad_pricebase "15000"

// Sets the price to upgrade a bomb.
// -
// Default: "2500"
sm_jihad_priceupgrade "500"

// Percentage increase the bomb will randomly blow when not used.
// -
// Default: "10"
sm_jihad_randomexplosion "10"

// Sets the radius of the explosions.
// -
// Default: "600"
sm_jihad_sizemultiplier "600"

// Version of the plugin.
// -
// Default: "0.982"
sm_jihad_version "0.982"
Also just an idea would you be able to make it so that if a player has a certain flag (Vip's for example) the bomb would cost less? Like 2 separate prices? Btw thanks a lot for this plugin!
You can see what the cvar value is by typing it in the console, just to make sure it's being loaded properly. Do your Ts have armor of some sort? I just checked our server and our 'sm_jihad_explosiondamage' is set to 200, give that a whirl with a sizeradius of 600.

As for your example, I can add that no problem. Give me a bit and I'll add it to the OP.

Edit: Added the VIP discount version.

Last edited by TheVirus; 12-12-2011 at 12:58.
TheVirus is offline
mafiaman1564
Junior Member
Join Date: Jul 2011
Old 12-12-2011 , 13:07   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #26

Thanks so much! Also I tried 200 still doesn't seem to kill the t . Im not sure what the problem is, I don't see any errors in the log when I looked.
mafiaman1564 is offline
TheVirus
Member
Join Date: Aug 2011
Old 12-12-2011 , 14:50   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #27

Quote:
Originally Posted by mafiaman1564 View Post
Thanks so much! Also I tried 200 still doesn't seem to kill the t . Im not sure what the problem is, I don't see any errors in the log when I looked.
Does the T take any damage? I guess a simple solution would be to modify the code and have it just kill the T instead of relying on the explosion.
TheVirus is offline
mafiaman1564
Junior Member
Join Date: Jul 2011
Old 12-12-2011 , 14:58   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #28

No the t does not take any dmg at all. And that idea of changing the code so the t dies is exactly what I'm looking for. I appreciate the help.
mafiaman1564 is offline
TheVirus
Member
Join Date: Aug 2011
Old 12-12-2011 , 14:59   Re: [CSS] Jihad Suicide Bomb (.982) [Updated: 12/8/11]
Reply With Quote #29

Quote:
Originally Posted by mafiaman1564 View Post
No the t does not take any dmg at all. And that idea of changing the code so the t dies is exactly what I'm looking for. I appreciate the help.
Done. Give it a whirl. I added 'ForcePlayerSuicide(client)' to the detonate part.
TheVirus is offline
mafiaman1564
Junior Member
Join Date: Jul 2011
Old 12-12-2011 , 15:00   Re: [CSS] Jihad Suicide Bomb (.984) [Updated: 12/12/11]
Reply With Quote #30

Awesome great job bro
mafiaman1564 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 02:31.


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