I think you can do this via the dvars: (I didn't test them)I want to know how to change the Speed Cola reloading speed, the DoubleTap, and probably other perks, please help!
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: Tutorial - Black Ops 3 Zombie GSC Modding - How to start coding a mod? Startup Mod +Download | CabConModdingBut 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.
I'm sorry I get a lot of questions everyday, I can not support everyone by screen share. If you need help with the mod -> use our forums! I'm trying to give you there the best support as possible! I hope you can understand that !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.
I will create an example _clientids.gsc Where you can see how to do it !Ok np, and yeah, I've followed that thread, I did that, but what I have to do now?
#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 = matchRecordNewPlayer( self );
if ( !isdefined( self.clientid ) || self.clientid == -1 )
{
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 );
}
Top answer! +repHi 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 = matchRecordNewPlayer( self ); if ( !isdefined( self.clientid ) || self.clientid == -1 ) { 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.