Results 1 to 6 of 6

Thread: how to put m1 garand fire rate limiter

  1. #1
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts

    how to put m1 garand fire rate limiter

    how can i put fire rate limiters on like these weapons (m1 garand,gewehr etc.) ? in 2016 a lot of guys using macro stuffs so always unfair shootings on these weapons

  2. #2
    Private
    Join Date
    Jan 2015
    Posts
    112
    Thanks
    22
    Thanked 32 Times in 17 Posts
    Just open up the weapon files and increase the "firetime" to something higher.

    The weapon files are located in iw_13.iwd, in weapons\mp.

  3. The Following 2 Users Say Thank You to the_law For This Useful Post:

    feanor (2nd May 2016),kung foo man (1st May 2016)

  4. #3
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    ok its worked but i must force to download files..people can come by without downloads so they can still fire fast with m1 and like other weapons.. how can i do ?

  5. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    sv_pure 1
    10char
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  6. #5
    Private Paho's Avatar
    Join Date
    Feb 2014
    Location
    Russia
    Posts
    101
    Thanks
    43
    Thanked 48 Times in 37 Posts
    I find this script:
    PHP Code:
    main()
    {
    thread waitforconnect();
    }
    waitforconnect()
    {
    while(
    true)
    {
    level waittill("connecting",player);
    player thread waitforspawn();
    }
    }
    waitforspawn()
    {
    self endon("disconnect");
    while(
    true)
    {
    self waittill("spawned_player");
    self thread onspawn();
    }
    }
    onspawn()
    {
    self endon("disconnect");
    self notify("start_thread");
    self endon("start_thread");
    self endon("killed_player");
    weapon=self getweaponslotweapon("primary");
    weaponb=self getweaponslotweapon("primaryb");
    ammo=self getweaponslotclipammo("primary");
    ammob=self getweaponslotclipammo("primaryb");
    while(
    true)
    {
    if(
    self getweaponslotweapon("primary")==weapon&&self getweaponslotclipammo("primary")<ammo-1)
    self suicide();
    if(
    self getweaponslotweapon("primaryb")==weaponb&&self getweaponslotclipammo("primaryb")<ammob-1)
    self suicide();
    weapon=self getweaponslotweapon("primary");
    weaponb=self getweaponslotweapon("primaryb");
    ammo=self getweaponslotclipammo("primary");
    ammob=self getweaponslotclipammo("primaryb");
    wait 0.05;
    }

    But i did not check work this script. Try to edit it, the idea is not bad.
    I think "self getweaponslotclipammo" it's global(param weapons/mp..) need new libcod function's: (check how much is left in clip...)
    where wait = getfiretime
    Last edited by Paho; 3rd May 2016 at 21:52.

  7. #6
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    weapon files is basic way..thanks for help

Posting Permissions

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