Results 1 to 10 of 57

Thread: TELLERMINE Mod

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    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" );

  2. The Following User Says Thank You to G-Stuff002 For This Useful Post:

    kubislav23 (20th March 2018)

  3. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by G-Stuff002 View Post
    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
    Last edited by Tally; 20th March 2018 at 18:09.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •