Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 57

Thread: TELLERMINE Mod

  1. #31
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Okay, second version with Gold SVT 40 Sniper added with sniper zoom:



    NOTES:

    1. I added some code to delete all landmines planted by a player when they either switch to another pistol than the P38; or die. The old code was open to abuse as a player could plant 10 mines then switch to something like the flamethrower and still have their mines on the ground. This new code stops that.

    2. The sniper zoom is now working and only works on the SVT 40 Sniper rifle.
    Last edited by Tally; 24th March 2018 at 09:02.

  2. The Following User Says Thank You to Tally For This Useful Post:

    G-Stuff002 (20th March 2018)

  3. #32
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    Thank You!

    Wow, all are finished. Left to do cosmetic part with image and deleted sounds errors, and will can begin to work on the unite other mods.

    Code for GOLD Sniper Riffle - the best ) I'll probably change the model on another and i will do better camo and image. This sniper rifle is also good, it is very quiet and the accuracy is good.


    Thank you very much, if I can be anything useful for you, just say, i have a lot of free time every day, if i understand something, i can do at least the whole day


    'I added some code' - I saw that in first code, there disappeared numbers after planting first mine. To take second mine, i again went into new number 6 pistols menu and take it one more
    Last edited by G-Stuff002; 21st March 2018 at 06:31.

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

    kubislav23 (20th March 2018)

  5. #33
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    Two questions about mines

    It turns out 10 mines per team but for each player of 5 possible planting, right ? (just for info)

    What condition that the mines are gone ? after death who chose p38 or for some time passed
    Last edited by G-Stuff002; 20th March 2018 at 16:31.

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

    kubislav23 (20th March 2018)

  7. #34
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by G-Stuff002 View Post
    Two questions about mines

    It turns out 10 mines per team but for each player of 5 possible planting, right ? (just for info)

    What condition that the mines are gone ? after death who chose p38 or for some time passed
    Each player gets 10 mines each. There are no restrictions on how many players in a team can do this. That isn't what you said.

  8. #35
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    When do the mines disappear? or they are planted for a long time
    Last edited by G-Stuff002; 21st March 2018 at 06:32.

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

    kubislav23 (20th March 2018)

  10. #36
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    Please look at screen. 5 only can planting

    Spoiler:
    Click image for larger version. 

Name:	5 only.JPG 
Views:	20 
Size:	129.2 KB 
ID:	1473

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

    kubislav23 (20th March 2018)

  12. #37
    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" );

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

    kubislav23 (20th March 2018)

  14. #38
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    One script is not properly done. After death all mines is disappear (it is good) but if i chose again the p38, landmines not was planting

    it's mean 10 landmine planting per 1 round

    It's only in TDM

    Please see the screen:

    After planting 10 mines and suicide. I can't not planting again with full ammo
    Spoiler:
    Click image for larger version. 

Name:	after planting 10 mines and death.JPG 
Views:	17 
Size:	113.0 KB 
ID:	1474
    Last edited by G-Stuff002; 20th March 2018 at 17:44.

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

    kubislav23 (20th March 2018)

  16. #39
    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.

  17. #40
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    But after death landmines was disappear and i can't not planting again in TDM

    I can not find dvar settings. Ah, this is in _landmines.gsc but i dont know whay after death i can't not planting

    This is something for Team code needed change
    Last edited by G-Stuff002; 20th March 2018 at 18:38.

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

    kubislav23 (20th March 2018)

Posting Permissions

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