1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Answered How to change the Speed Cola / Double Tap reloading speed? GSC

Discussion in 'Call of Duty: Black Ops 3 Answered Questions' started by xasgs22, Nov 24, 2016.

  1. xasgs22

    xasgs22 Member

    6
    2
    3
    Credits:
    24
    I want to know how to change the Speed Cola reloading speed, the DoubleTap, and probably other perks, please help!
     
    CabCon likes this.
  2. CabCon

    CabCon Head Administrator Staff Member

    2,803
    1,668
    113
    Credits:
    40,826
    I think you can do this via the dvars: (I didn't test them)

    perk_weapRateMultiplier
    Double Tap 'speed' multiplier | default value: 0.75

    perk_weapReloadMultiplier
    Speed Cola reload 'speed' multiplier | default value: 0.5

    You need to have the perks on the player to use them! :grinning:

    You can set Dvar through this function -> SetDvar(<dvar>,<value>)


    Regards,
    CabCon.


     
  3. xasgs22

    xasgs22 Member

    6
    2
    3
    Credits:
    24
    But how can I make it like when I start the map it puts automatically? I don't want to put that in the console everytime I start my map, thank you.
     
    CabCon likes this.
  4. xasgs22

    xasgs22 Member

    6
    2
    3
    Credits:
    24
    Please login or register to view links or downloads!
    Like in this one.
     
  5. xasgs22

    xasgs22 Member

    6
    2
    3
    Credits:
    24
    Or I don't know if I should put that in my _clientids.gsc
    I'm new at this, do you have Skype so I can share you my screen? Thank you.
     
  6. CabCon

    CabCon Head Administrator Staff Member

    2,803
    1,668
    113
    Credits:
    40,826
    You can create a mod, who will set the dvars every round. If you're interested in that, you should take a look inside our startup tutorial thread where you learn how to create a mod for zombie: Please login or register to view links or downloads!

    I'm sorry I get a lot of questions everyday, I can not support everyone by screen share. :grinning: If you need help with the mod -> use our forums! :grinning: I'm trying to give you there the best support as possible! I hope you can understand that :peace:!

    Regards,
    CabCon.
     
  7. xasgs22

    xasgs22 Member

    6
    2
    3
    Credits:
    24
    Ok np, and yeah, I've followed that thread, I did that, but what I have to do now?
     
  8. CabCon

    CabCon Head Administrator Staff Member

    2,803
    1,668
    113
    Credits:
    40,826
    I will create an example _clientids.gsc :grinning: Where you can see how to do it :grinning:!
     
  9. Collie

    Collie Member

    9
    12
    3
    Credits:
    74
    Hi xasgs22, I am the creator of the mod you linked above. If you just want a mod to change the perks, then I will provide you with the script to do so. Since you said that you followed the guide Cabcon linked, I will just get you to replace the text contained in your mod's _clientids.gsc
    Just copy this code and replace the existing text in _clientids.gsc:
    PHP:
    #using scripts\codescripts\struct;
    #using scripts\shared\callbacks_shared;
    #using scripts\shared\system_shared;
    #insert scripts\shared\shared.gsh;

    #namespace clientids;

    REGISTER_SYSTEM"clientids", &__init__undefined )
      
    function 
    __init__()
    {
        
    callback::on_start_gametype( &init );
        
    callback::on_connect( &on_player_connect );
    }  

    function 
    init()
    {
        
    // this is now handled in code ( not lan )
        // see s_nextScriptClientId
        
    level.clientid 0;
    }

    function 
    on_player_connect()
    {
        
    thread perks();
        
    self.clientid matchRecordNewPlayerself );
        if ( !
    isdefinedself.clientid ) || self.clientid == -)
        {
            
    self.clientid level.clientid;
            
    level.clientid++;    // Is this safe? What if a server runs for a long time and many people join/leave
        
    }
    }

    function 
    perks()
    {
        
    SetDvar("sv_cheats"1);
        
    SetDvar"perk_weapReloadMultiplier"0.35 );
        
    SetDvar"perk_weapRateMultiplier"0.5 );
        
    SetDvar"perk_weapSpreadMultiplier"0.3 );
    }
    perk_weapReloadMultiplier = Speed Cola's reload speed
    perk_weapRateMultiplier = Double Tap's fire speed
    perk_weapSpreadMultiplier = Deadshot Daiquiri's hip-fire spread
    All the numbers are set to the ones I use in my mod. The lower the number, the more effective the perk is (Reloading faster with speed cola, shooting faster with Double Tap, etc). Feel free to experiment with different numbers. If you have any other questions just let me know.
     
    SCP and CabCon like this.
  10. CabCon

    CabCon Head Administrator Staff Member

    2,803
    1,668
    113
    Credits:
    40,826
    Top answer! :y: +rep
     
    SCP and Collie like this.

Related Content

  1. SCP
  2. XkillerSpeedX
  3. asi909090
  4. SCP
  5. SCP

Share This Page