Sign in to follow this  
saab

Help me!

Recommended Posts

Good day,poskazhite how and where the script is configured,where the prohibition of the use of certain perks ,just have the perk script which you want to include and how and where they do not know how to do it!Or throw off help how to do everything and set up!

Share this post


Link to post
Share on other sites

Добрый день, подскажите, как и где в скрипте изменять и удалять код, где запрет на использование определенных перков, который я хочу включить или выключить! Или помогите как это все можно сделать

Share this post


Link to post
Share on other sites

english on the forums please. search the forums, enough people have asked this question in the past. maps/mp/gametypes/_classes.gsc  lets you modify the loadouts.

Share this post


Link to post
Share on other sites

And prompt where in him in what line to change these parameters??? And where to take names of perok and weapon correctly to write there or to remove?!

Edited by saab

Share this post


Link to post
Share on other sites
On 9/29/2018 at 10:01 PM, saab said:

And prompt where in him in what line to change these parameters??? And where to take names of perok and weapon correctly to write there or to remove?!

 

On 9/20/2018 at 5:18 PM, saab said:

Добрый день, подскажите, как и где в скрипте изменять и удалять код, где запрет на использование определенных перков, который я хочу включить или выключить! Или помогите как это все можно сделать

hello & privet

for disable some perks in maps/mp/gametypes folder script _class.gsc

this is my anty noob config ))) if you want use in your script add this

   
    // allowed perks in each slot, for validation.
    level.allowedPerks[0] = [];
    level.allowedPerks[1] = [];
    level.allowedPerks[2] = [];
    
    level.allowedPerks[0][ 0] = 190; // 190 through 193 are attachments and "none"
    level.allowedPerks[0][ 1] = 191;
    level.allowedPerks[0][ 2] = 192;
    level.allowedPerks[0][ 3] = 193;
    level.allowedPerks[0][ 4] = perkReferenceToIndex[ "specialty_weapon_c4" ];
    level.allowedPerks[0][ 5] = 191;
    level.allowedPerks[0][ 6] = 192;
    level.allowedPerks[0][ 7] = perkReferenceToIndex[ "specialty_weapon_claymore" ];
    level.allowedPerks[0][ 8] = 193;
    level.allowedPerks[0][ 9] = perkReferenceToIndex[ "specialty_extraammo" ];
    level.allowedPerks[0][10] = perkReferenceToIndex[ "specialty_detectexplosive" ];
    
    level.allowedPerks[1][ 0] = 190;
    level.allowedPerks[1][ 1] = perkReferenceToIndex[ "specialty_bulletdamage" ];
    level.allowedPerks[1][ 2] = 191;
    level.allowedPerks[1][ 3] = perkReferenceToIndex[ "specialty_fastreload" ];
    level.allowedPerks[1][ 4] = 192;
    level.allowedPerks[1][ 5] = perkReferenceToIndex[ "specialty_twoprimaries" ];
    level.allowedPerks[1][ 6] = 193;
    level.allowedPerks[1][ 7] = perkReferenceToIndex[ "specialty_explosivedamage" ];
    
    level.allowedPerks[2][ 0] = 190;
    level.allowedPerks[2][ 1] = perkReferenceToIndex[ "specialty_longersprint" ];
    level.allowedPerks[2][ 2] = perkReferenceToIndex[ "specialty_bulletaccuracy" ];
    level.allowedPerks[2][ 3] = 191;
    level.allowedPerks[2][ 4] = 192;
    level.allowedPerks[2][ 5] = perkReferenceToIndex[ "specialty_bulletpenetration" ];
    level.allowedPerks[2][ 6] = perkReferenceToIndex[ "specialty_holdbreath" ];
    level.allowedPerks[2][ 7] = 193;
    level.allowedPerks[2][ 8] = perkReferenceToIndex[ "specialty_parabolic" ];
}

PS: sorry if is latter for help )))

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this