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

How to edit Plugins in Sourcemod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Speak
Junior Member
Join Date: Oct 2010
Old 10-03-2010 , 11:53   How to edit Plugins in Sourcemod
Reply With Quote #1

Hey everyone; I'm sorry if this is an explicitly noobish question, but How do I edit settings in plugins? (.Smx files obtained from Sourcemod plugin section).
I will use Kill Bonus as an example.

No good instructions have been provided in most of the plugins:

Quote:
"Install it like any other sourcemod Plugin"
For killbonus, it says CVAR stuff {And I have Absolutely No Clue what CVAR is}
and it lists four values. What do I do with these? ._.''

Cvar list
kb_enabled: Enabled\Disbales The Plugin (Def: 1)
kb_headshot: Hp amount to add when the kill was a headshot (Def: 30)
kb_hp: Hp amount to add on a normal kill (Def: 20)
kb_maxhp: Max Amount of hp a user can get on top of his hp (Def: 100)

Theres no Config files, and the .smx file the plugin is written in is uneditable by Notepad // Notepad++. I've tried typing kb_..... # in the console and got no response. The plugin works great, but to edit them, What do I need to do?
Speak is offline
Xsinthis
Senior Member
Join Date: Oct 2008
Location: Canadia, eh?
Old 10-03-2010 , 16:54   Re: How to edit Plugins in Sourcemod
Reply With Quote #2

cvar stands for Con Var or Console Variable, so basically a setting used to change something in the game. Some plugins create their own .cfg file with all the cvars listed, but otherwise your best bet is to edit your sourcemod.cfg with the modified value you want.

i.e. kb_headshot 20
__________________
Xsinthis is offline
Speak
Junior Member
Join Date: Oct 2010
Old 10-03-2010 , 17:27   Re: How to edit Plugins in Sourcemod
Reply With Quote #3

Thanks. I'll try it out.
Speak is offline
Speak
Junior Member
Join Date: Oct 2010
Old 10-03-2010 , 19:33   Re: How to edit Plugins in Sourcemod
Reply With Quote #4

Didn't work. I opened the sourcemod.cfg and added the commands+pariments [kb_headshot 15] and it didn't change; it continued to utilize the default settings.
Speak is offline
Kevin_b_er
SourceMod Donor
Join Date: Feb 2009
Old 10-03-2010 , 21:10   Re: How to edit Plugins in Sourcemod
Reply With Quote #5

Try using server.cfg.
__________________
Kevin_b_er 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 14:39.


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