I did not find anything in dvar, mines already not alive, and they can not be seen but planting not possible, after death and after (set scr_landmine_vanish_time 120)
Printable View
I did not find anything in dvar, mines already not alive, and they can not be seen but planting not possible, after death and after (set scr_landmine_vanish_time 120)
Yep, there was a bug. I forgot to reset the total team landmines allowed each time a player dies. This fixes it:
Please edit _landmines.gsc:
Just editing that function will fix it.Code:deleteLandmines()
{
for( i=0; i < self.landmine_array.size; i++ )
{
if( isDefined( self.landmine_array[i] ) )
{
self.landmine_array[i] delete();
if( level.teamBased )
{
if( game["landmine_team"][self.pers["team"]] )
game["landmine_team"][self.pers["team"]]--;
}
else
{
if( game["landmine_team"] )
game["landmine_team"]--;
}
}
}
self.landmine_array = [];
}
ok, i was about to explain. But i will say short, when i make suicide by grenade, all landmines was become invisible and i can't not planting even after 2 minutes.
..and when i make suicide by one landmine and after death i can planting only one landmine (all landmines was become invisible too)
ok, i go edit and testing
Did not help. Are still the same problem. also in DM
Success! ) it's work, Thank You!
All the same it need change first number here to "10" because in TDM can planting still only 5
game["landmine"]["limit"] = cvardef( "scr_landmine_limit", 10, 1, 20, "int" );
i make screen:Spoiler:
First edit the code to this:
Then, using the dvars I posted above, set the max number of mines to something stupid like this:Code:game["landmine"]["limit"] = cvardef( "scr_landmine_limit", 10, 1, 9999, "int" );
Code:// number of betties allowed at any one time
set scr_landmine_limit 500
ah, ok
probably I'm blind or incorrectly translated
This code need to add on my server.cfg ?
// number of betties allowed at any one time
set scr_landmine_limit 10
Work fine only with this code
game["landmine"]["limit"] = cvardef( "scr_landmine_limit", 10, 1, 9999, "int" );