View Single Post
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 11-16-2022 , 14:43   Re: Randomly stopped working
Reply With Quote #2

I don't use this feature so my input may be wrong. Still, it's worth a try. My understanding is that the configuration file for this uses a nested block based format where you have to list the player identifier in a block, followed by weapon identifiers for that player.

In your config you listed the same player (everyone, by use of asterisk) three separate times. My guess is that each time you list the same player (everyone in this case) the previous instructions for that player are replaced by the new instruction. It is likely that the only weapon that will work as intended is the last one (Huo Long Heater). In other words, try again, but this time use only one asterisk (*) and place all the weapons that you want to apply to everyone in that section.

Try using this format, and let us know if it works:
PHP Code:
"custom_weapons_v3" // Leave this alone
{
    
"*" // asterisk means these changes apply to all players
    
{
        
"312" // Brass Beast
        
{
            
"preserve_attributes" "1"
            "1" "2 ; 1.15" 
// this equals 40% more dmg
        
}
        
"41" // Natascha
        
{
            
"preserve_attributes" "0"
            "1" "86 ; 1.5" 
// 50% slower rev
            
"2" "1 ; 0.75" // 25% less damage
            
"3" "737 ; 1.0" // speed boost
        
}
        
"811" //Huo Long Heater
        
{
            
"preserve_attributes" "0"
            "1" "430 ; 12" 
// ring of fire
            
"2" "431 ; 4" // uses 4 ammo per second aiming
            
"3" "795 ; 1.25" // 25% more dmg on burning players
            
"4" "60 ; 0.75" // 25% fire resist
        
}
    }

PC Gamer is offline