Post: [IDEA] Edit Custom class layouts dvars
09-23-2011, 02:47 AM #1
ImDUB
Pokemon Trainer
(adsbygoogle = window.adsbygoogle || []).push({}); Could this work or something close to it work for changing the layouts of custom classes with dvar?

    
setDvar( "class_custom1_primary", "ak74u" );
setDvar( "class_custom1_primary_attachment", "none" );
setDvar( "class_custom1_secondary", "deserteagle" );
setDvar( "class_custom1_secondary_attachment", "none" );
setDvar( "class_custom1_grenade", "smoke_grenade" );
setDvar( "class_custom1_camo", "camo_none" );
(adsbygoogle = window.adsbygoogle || []).push({});
09-23-2011, 07:43 PM #2
GetDeleted -_-
- Former TACOTIME77 -
Originally posted by cod
Could this work or something close to it work for changing the layouts of custom classes with dvar?

    
setDvar( "class_custom1_primary", "ak74u" );
setDvar( "class_custom1_primary_attachment", "none" );
setDvar( "class_custom1_secondary", "deserteagle" );
setDvar( "class_custom1_secondary_attachment", "none" );
setDvar( "class_custom1_grenade", "smoke_grenade" );
setDvar( "class_custom1_camo", "camo_none" );


Not sure if those dvars work, you can set them with statsets though.

The following user thanked GetDeleted -_- for this useful post:

09-23-2011, 10:25 PM #3
Choco
Respect my authoritah!!
It's been done before with statset, as tacotime said^^
09-23-2011, 10:27 PM #4
ImDUB
Pokemon Trainer
Is there a list for statsets? I've only found gun codes
09-23-2011, 10:38 PM #5
iReset Nigga
2Fresshh!!
Originally posted by GetDeleted
Not sure if those dvars work, you can set them with statsets though.


i remember when u made me a set of classes with the Gold M40A3 :p and gold AK74u No Perks
09-24-2011, 02:53 AM #6
GetDeleted -_-
- Former TACOTIME77 -
Originally posted by cod
Is there a list for statsets? I've only found gun codes


Originally posted by another user
Pistols:

Desert Eagle - 3
Gold Desert Eagle - 4
M1911 - 1
M9 - 0
USP - 2


Snipers:

Barrett .50 Cal - 62
Dragunov - 60
M21 - 65
M40 - 61
R700 - 64


Assault Rifles:

Ak47 - 20
G3 - 23
G36C - 24
M4 - 26
M14 - 21
M16 - 25
MP44 - 22


Sub Machine Guns:

AK74u - 13
Mini Uzi - 12
MP5 - 10
P90 - 14
Scorpian - 11


Shotguns:

M1014 - 70
W1200 - 71


Light Machine Guns:

RPD - 80
Saw - 81
M60 - 82


Other:

RPG - 55 ?


Grenades/Perks Weapons:

WEAPON_STUN_GRENADE - concussion_grenade - 103
WEAPON_SMOKE_GRENADE - smoke_grenade - 102
WEAPON_FLASH_GRENADE - flash_grenade - 101
WEAPON_FRAGGRENADE - frag_grenade - 100

WEAPON_C4 - c4 - 90
WEAPON_CLAYMORE - claymore - 91


Attachments:

Vary in the order you unlock them in with each gun.
ex: M16's 1st attachment unlocked is red dot sight, 1
M40's 1st attachment unlocked is ACOG, so acog is 1 for M40


Camos:

None - 0
Desert - 1
Woodland - 2
Digital - 3
Red - 4
Blue - 5
Gold - 6

Unlock CaC: statset 260 1
Unlock Clan Tag: statset 261 1

Class Stat Sets: (Class number is the middle number minus 1)

weapon_primary - 201
weapon_primary attachment - 202
weapon_secondary - 203
weapon_secondary attachment - 204
weapon_specialty1 - 205
weapon_specialty2 - 206
weapon_specialty3 - 207
weapon_special_grenade_type - 208
weapon_primary_camo_style - 209
Script name - Perk - statset(for CaC)

Tier 1

PERKS_BOMB_SQUAD - specialty_detectexplosive - 155
PERKS_BANDOLIER - specialty_extraammo - 165
PERKS_FRAG_X_3 - specialty_fraggrenade - 173
PERKS_SPECIAL_GRENADES_X_3 - specialty_specialgrenade - 176
PERKS_C4_X_2 - c4_mp - 184
PERKS_CLAYMORE_X_2 - claymore_mp - 185
PERKS_RPG7_X_2 - rpg_mp - 186

Tier 2

PERKS_UAV_JAMMER - specialty_gpsjammer - 151
PERKS_SONIC_BOOM - specialty_explosivedamage - 156
PERKS_STOPPING_POWER - specialty_bulletdamage - 160
PERKS_DOUBLE_TAP - specialty_rof - 163
PERKS_SLEIGHT_OF_HAND - specialty_fastreload - 164
PERKS_OVERKILL -specialty_twoprimaries - 166
PERKS_JUGGERNAUT - specialty_armorvest - 167

Tier 3

PERKS_EAVESDROP - specialty_parabolic - 150
PERKS_IRON_LUNGS - specialty_holdbreath - 152
PERKS_DEAD_SILENCE - specialty_quieter - 153
PERKS_EXTREME_CONDITIONING - specialty_longersprint - 154
PERKS_LAST_STAND - specialty_pistoldeath - 157
PERKS_MARTYRDOM - specialty_grenadepulldeath - 158
PERKS_DEEP_IMPACT - specialty_bulletpenetration - 161
PERKS_STEADY_AIM - specialty_bulletaccuracy - 162


Null: PERKS_NONE - specialty_null - 190


Those are all the ones ive found
09-24-2011, 08:14 PM #7
ImDUB
Pokemon Trainer
Originally posted by getdeleted
those are all the ones ive found

thank you!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo