• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Class Loadouts
#1
Brick 
Hello, OMA

This is something similar to the tutorial I posted 2 days ago. This will make you load a certain class. OMA

Code:
classtoload = [];
classtoload["loadoutPrimary"] = "primary weapon";
classtoload["loadoutPrimaryAttachment"] = "attachment";
classtoload["loadoutPrimaryAttachment2"] = "2nd attachment in case you use bling";
classtoload["loadoutPrimaryCamo"] = "camo";
classtoload["loadoutSecondary"] = "secondary";
classtoload["loadoutSecondaryAttachment"] = "attachment";
classtoload["loadoutSecondaryAttachment2"] = "2nd attachment in case you have bling pro";
classtoload["loadoutSecondaryCamo"] = "camo";
classtoload["loadoutEquipment"] = "equipment";
classtoload["loadoutPerk1"] = "perk 1";
classtoload["loadoutPerk2"] = "perk 2";
classtoload["loadoutPerk3"] = "perk 3";
classtoload["loadoutOffhand"] = "special grenade";
classtoload["loadoutDeathStreak"] = "deathstreak";

An example:

Code:
classtoload = [];
classtoload["loadoutPrimary"] = "masada";
classtoload["loadoutPrimaryAttachment"] = "gl";
classtoload["loadoutPrimaryAttachment2"] = "";
classtoload["loadoutPrimaryCamo"] = "orange_fall";
classtoload["loadoutSecondary"] = "onemanarmy";
classtoload["loadoutSecondaryAttachment"] = "";
classtoload["loadoutSecondaryAttachment2"] = "";
classtoload["loadoutSecondaryCamo"] = "";
classtoload["loadoutEquipment"] = "claymore_mp";
classtoload["loadoutPerk1"] = "specialty_onemanarmy";
classtoload["loadoutPerk2"] = "specialty_explosivedamage";
classtoload["loadoutPerk3"] = "specialty_extendedmelee";
classtoload["loadoutOffhand"] = "concussion_grenade";
classtoload["loadoutDeathStreak"] = "specialty_grenadepulldeath";
self maps\mp\gametypes\_class::giveLoadout(self.pers["team"],classtoload); //use this to load the class

List of things to complete:

Primary:

Code:
"riotshield" = riot shield
"ak47" = ak47
"m16" = m16a4
"m4" = m4a1
"fn2000" = f2000
"masada" = acr
"famas" = famas
"fal" = fal
"scar" = scar-h
"tavor" = tar-21
"mp5k" = mp5k
"uzi" = mini uzi
"p90" = p90
"kriss" = vector
"ump45" = ump45
"barrett" = barrett
"wa2000" = wa2000
"m21" = m21 ebr
"cheytac" = intervention
"rpd" = rpd
"sa80" = l86
"mg4" = mg4
"m240" = m240
"aug" = aug hbar
Secondary: OMA

Code:
"beretta" = m9
"usp" = usp45
"deserteagle" = deagle
"coltanaconda" = magnum44
"glock" = g18
"beretta393" = m93 raffica
"pp2000" = pp2000
"tmp" = tmp
"m79" = thumper
"rpg" = rpg7
"at4" = at4
"stinger" = stinger
"javelin" = javelin
"ranger" = ranger
"model1887" = m1887
"striker" = striker
"aa12" = aa12
"m1014" = m1014
"spas12" = spas12
"onemanarmy" = OMA

Attachments:

Code:
"none" = none
"acog" = acog
"reflex" = red dot
"silencer" = silencer
"grip" = grip
"gl" = grenade launcher
"akimbo" = akimbo
"thermal" = thermal
"shotgun" = masterkey shotgun
"heartbeat" = heartbeat sensor
"fmj" = fmj
"rof" = rapid fire
"xmags" = extended mags
"eotech" = holo sight
"tactical" = tactical knife
Camos: OMA

Code:
"none" = none
"woodland" = woodland
"desert" = desert
"arctic" = arctic
"digital" = digital
"red_urban" = urban
"red_tiger" = red tiger
"blue_tiger" = blue tiger
"orange_fall" = fall

Equipment:

Code:
"frag_grenade_mp" = frag grenade
"semtex_mp" = semtex
"throwingknife_mp" = throwing knife
"specialty_tacticalinsertion" = tactical insertion
"specialty_blastshield" = blastshield
"claymore_mp" = claymore
"c4_mp" = c4

Special Grenade:

Code:
"flash_grenade" = flash
"concussion_grenade" = stun
"smoke_grenade" = smoke
Perk1: OMA

Code:
"specialty_marathon" = marathon
"specialty_fastreload" = sleight of hand
"specialty_scavenger" = scavenger
"specialty_bling" = bling
"specialty_onemanarmy" = OMA

OMA

Perk 2:

Code:
"specialty_bulletdamage" = stopping power
"specialty_lightweight" = lightweight
"specialty_hardline" = hardline
"specialty_coldblooded" = cold blood
"specialty_explosivedamage" = danger close

Perk3:

Code:
"specialty_extendedmelee" = commando
"specialty_bulletaccuracy" = steady aim
"specialty_localjammer" = scrambler
"specialty_heartbreaker" = ninja
"specialty_detectexplosive" = bomb finder
"specialty_pistoldeath" = last stand

Deathstreak:

Code:
"specialty_copycat" = copycat
"specialty_combathigh" = painkiller
"specialty_grenadepulldeath" = martyridom
"specialty_finalstand" = final stand

Thats it, OMA
  Reply
#2
Very OMA licious
  Reply
#3
Pretty cool.
[Image: MaEIQ.png]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] TeamCounter class 8q4s8 3 5,006 10-15-2013, 18:14
Last Post: [HARD] Tony.
  W@W: Making player spawn with a custom default class. koil 9 5,067 01-13-2013, 12:10
Last Post: koil
  [Request] Disabling Custom Classes NOT CHOOSE CLASS DidUknowiPwn 5 3,360 01-10-2013, 04:32
Last Post: banz
  How to disable "Choose Class"? DidUknowiPwn 8 5,058 10-07-2012, 21:09
Last Post: JariZ
  [News] Black Ops 2 - Create A Class(LEAK) Tomsen1410 5 3,771 09-20-2012, 09:51
Last Post: Tomsen1410
  Mage class Lemon 23 11,503 04-22-2012, 22:46
Last Post: frisky
  Weapon Menu, create ingame custom class Gamemaster20 4 3,454 04-20-2012, 08:13
Last Post: rotceh_dnih
  Class Plugin pollarpart 5 3,799 04-16-2012, 13:40
Last Post: OzonE
  Disable Class Choice for one team kobsen 7 4,523 03-19-2012, 19:04
Last Post: Lemon
Lightbulb [Release] CFGFile class JariZ 7 5,080 01-29-2012, 13:28
Last Post: kokole

Forum Jump:


Users browsing this thread: 1 Guest(s)