Originally Posted by
G-Stuff002
Everything is fine i just edit this line:
game["landmine"]["limit"] = cvardef( "scr_landmine_limit", 5, 1, 20, "int" );
to
game["landmine"]["limit"] = cvardef( "scr_landmine_limit", 10, 1, 20, "int" );
You don't have to edit the code in order to make changes to how the landmines function. Just change the dvar settings. That's what they are there for!
Here are the dvars for the landmines - taken straight out of my Demon mod:
Code:
//=================================================
// LANDMINE SETTINGS
//=================================================
// number of betties allowed at any one time
set scr_landmine_limit 10
// time to plant a betty
set scr_landmine_plant_time 8
// time needed to defuse a betty from the same team
set scr_landmine_pick_time_sameteam 5
// time needed to defuse a betty from the enemy team
set scr_landmine_pick_time_otherteam 8
// allowing jumping over betties
set scr_landmine_jump 0
// turn on time limit for how long a betty remains
// 1 = on, 0 = off
set scr_landmine_vanish 1
// set time limit for how long a betty remains
set scr_landmine_vanish_time 120