Quote:
Originally Posted by Scuderia
I've tried editing the sma file to disable the badgepowers as well as the number of days to reset the rank, and then restart the server, but the changes wasn't logged after the restart.
|
Well editing the plugin yourself is on you, badge powers can simply be disabled by setting the bf2_badgepowers cvar to 0.
Quote:
Originally Posted by Scuderia
i've also tried changing the values in-game using amx menu by manually going to the cvars, then going to bf2's cvars, and changing it, but whenever i restart the values revert back to default.
|
Of course not, amx menu does not save the vaules to the amxx.cfg file. If you server restarts changes you made there are lost. If you want permanent changes set the cvars in a config that sets cvars for every map start, this is server operation 101 you should know this.
Quote:
Originally Posted by sytremelaker
Open up your amxx.cfg file in dir cstrike/addons/amxmodx/configs/ place into it the cvars:
|
This would be more proper and up to date as you did not comment out all the comments and some cvars have changed or been removed:
Code:
bf2_active 1 //(1|0) - Turns the plugin on or off - Default 1
bf2_badges 1 //(1|0) - Turns the badge system on or off - Default 1
bf2_awp 0 //(1|0) - Is user given an awp or scout by having the sniper badge - Default 0 (scout)
bf2_xpmultiplier 0.1 //(1|0) - Changes the kill multiplier needed to reach each level - Default 0.1 (15 kills for rank 1, 20k kills for top rank)
bf2_icon_time 1.5 //(float) - Amount of time to display the rank icons for. Default 1.5, 0 to disable icons all together.
bf2_flag_kills 2 //(int) - CS flags - How many bf2 points are awarded for capturing a flag
bf2_flag_round_kills 0 //- CS flags - How many bf2 points are awarded for winning a round
bf2_flag_match_kills 0 //- CS flags - How many bf2 points are awarded for winning the match
bf2_flag_min_players 1 //- CS flags - Min number of plays before above points get awarded
bf2_help_url "" //(string) - remote folder where the bf2 web docs are stored (optional) do not include the trailing /
bf2_badgepowers 1 //(1|0) - enable/disable the powers for the badgess
bf2_hud_options "abcde" //a Display Health/Armour/Weapon for teammates
//b Display Rank for teammates
//c Display Rank for enemies
//d Hide display for invisible enemies
//e Move the display to above peoples heads
bf2_reset_days 21 //number of days without playing till xp gets pruned per user (Note: currently nvault saving only)
Quote:
Originally Posted by Percent
but then it says after an amount of Badges you suposed to get like 200 armor but then im suposed to spawn wtih like 30 more hp and spawn witha Scout each round but this dont work...anyone could help me i would appreciate
|
Are you running CSDM? if not comment out the define #define CSDM and recompile the plugin.