‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_loadout.gsc File Reference

Go to the source code of this file.

Functions

function __init__ ()
 
function cac_init ()
 
function cac_modified_damage (victim, attacker, damage, mod, weapon, inflictor, hitloc)
 
function cac_modified_vehicle_damage (victim, attacker, damage, meansofdeath, weapon, inflictor)
 
function cac_selector ()
 
function create_class_exclusion_list ()
 
function fadeAway (waitDelay, fadeDelay)
 
function get_item_count (itemReference)
 
function getAttachmentsDisabled ()
 
function getAttachmentString (weaponNum, attachmentNum)
 
function getClassChoice (response)
 
function getDefaultClassSlotWithExclusions (className, slotName)
 
function getKillStreakIndex (weaponclass, killstreakNum)
 
function giveBaseWeapon ()
 
function giveHeroWeapon ()
 
function giveKillstreaks ()
 
function giveLoadout (team, weaponclass)
 
function giveLoadout_finalize (spawnWeapon, primaryWeapon)
 
function giveLoadout_init (takeAllWeapons)
 
function giveLoadoutLevelSpecific (team, weaponclass)
 
function givePerks ()
 
function givePrimaryOffhand ()
 
function giveSecondaryOffhand ()
 
function giveSpecialOffhand ()
 
function giveWeapons ()
 
function grenadeStuck (inflictor)
 
function hasTacticalMask (player)
 
function hero_register_dialog (weapon)
 
function init ()
 
function initPerkDvars ()
 
function initStaticWeaponsTime ()
 
function is_attachment_excluded (attachment)
 
function isBulletDamage (meansofdeath)
 
function isEquipmentAllowed (equipment_name)
 
function isExplosiveDamage (meansofdeath)
 
function isFireDamage (weapon, meansofdeath)
 
function isFMJDamage (sWeapon, sMeansOfDeath, attacker)
 
function isHeadDamage (hitloc)
 
function isLeagueItemRestricted (item)
 
function isPerkGroup (perkName)
 
function isPrimaryDamage (meansofdeath)
 
function load_default_loadout (weaponclass, classNum)
 
function on_connect ()
 
function on_damage_special_discgun (eAttacker, eInflictor, weapon, meansOfDeath, damage)
 
function on_player_connecting ()
 
function register_perks ()
 
function reset_specialty_slots (class_num)
 
function set_statstable_id ()
 
function setClass (newClass)
 
function setClassNum (weaponClass)
 
function setWeaponAmmoOverall (weapon, amount)
 
function weapon_class_register (weaponName, weapon_type)
 

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 37 of file _loadout.gsc.

References init(), on_connect(), and on_start_gametype().

◆ cac_init()

◆ cac_modified_damage()

function cac_modified_damage ( victim  ,
attacker  ,
damage  ,
mod  ,
weapon  ,
inflictor  ,
hitloc   
)

◆ cac_modified_vehicle_damage()

function cac_modified_vehicle_damage ( victim  ,
attacker  ,
damage  ,
meansofdeath  ,
weapon  ,
inflictor   
)

Definition at line 1276 of file _loadout.gsc.

References damage(), and isPrimaryDamage().

Referenced by Callback_VehicleDamage(), and Callback_VehicleRadiusDamage().

◆ cac_selector()

function cac_selector ( )

Definition at line 1237 of file _loadout.gsc.

Referenced by giveLoadout().

◆ create_class_exclusion_list()

function create_class_exclusion_list ( )

Definition at line 257 of file _loadout.gsc.

Referenced by init().

◆ fadeAway()

function fadeAway ( waitDelay  ,
fadeDelay   
)

Definition at line 1205 of file _loadout.gsc.

◆ get_item_count()

function get_item_count ( itemReference  )

◆ getAttachmentsDisabled()

function getAttachmentsDisabled ( )

Definition at line 493 of file _loadout.gsc.

◆ getAttachmentString()

function getAttachmentString ( weaponNum  ,
attachmentNum   
)

Definition at line 477 of file _loadout.gsc.

References is_attachment_excluded().

◆ getClassChoice()

function getClassChoice ( response  )

Definition at line 466 of file _loadout.gsc.

Referenced by menuClass().

◆ getDefaultClassSlotWithExclusions()

function getDefaultClassSlotWithExclusions ( className  ,
slotName   
)

◆ getKillStreakIndex()

function getKillStreakIndex ( weaponclass  ,
killstreakNum   
)

Definition at line 504 of file _loadout.gsc.

Referenced by giveKillstreaks().

◆ giveBaseWeapon()

function giveBaseWeapon ( )

Definition at line 770 of file _loadout.gsc.

Referenced by giveLoadout().

◆ giveHeroWeapon()

function giveHeroWeapon ( )

Definition at line 1055 of file _loadout.gsc.

References gadget_reset(), isFirstRound(), and isOneRound().

Referenced by giveLoadout().

◆ giveKillstreaks()

function giveKillstreaks ( )

◆ giveLoadout()

◆ giveLoadout_finalize()

function giveLoadout_finalize ( spawnWeapon  ,
primaryWeapon   
)

Definition at line 1149 of file _loadout.gsc.

References set().

Referenced by giveLoadout().

◆ giveLoadout_init()

function giveLoadout_init ( takeAllWeapons  )

Definition at line 672 of file _loadout.gsc.

Referenced by giveLoadout().

◆ giveLoadoutLevelSpecific()

function giveLoadoutLevelSpecific ( team  ,
weaponclass   
)

Definition at line 659 of file _loadout.gsc.

◆ givePerks()

function givePerks ( )

Definition at line 694 of file _loadout.gsc.

References _setPlayerMomentum(), isLeagueItemRestricted(), register_perks(), and VAL.

Referenced by giveLoadout().

◆ givePrimaryOffhand()

function givePrimaryOffhand ( )

◆ giveSecondaryOffhand()

function giveSecondaryOffhand ( )

◆ giveSpecialOffhand()

function giveSpecialOffhand ( )

◆ giveWeapons()

function giveWeapons ( )

Definition at line 786 of file _loadout.gsc.

References bestweapon_spawn(), initStaticWeaponsTime(), and initWeaponAttachments().

Referenced by giveLoadout().

◆ grenadeStuck()

function grenadeStuck ( inflictor  )

Definition at line 1421 of file _loadout.gsc.

Referenced by cac_modified_damage().

◆ hasTacticalMask()

function hasTacticalMask ( player  )

Definition at line 1386 of file _loadout.gsc.

Referenced by challengeKills(), and doPerkFeedBack().

◆ hero_register_dialog()

function hero_register_dialog ( weapon  )

Definition at line 354 of file _loadout.gsc.

Referenced by cac_init().

◆ init()

◆ initPerkDvars()

function initPerkDvars ( )

Definition at line 1225 of file _loadout.gsc.

Referenced by init().

◆ initStaticWeaponsTime()

function initStaticWeaponsTime ( )

Definition at line 636 of file _loadout.gsc.

Referenced by giveWeapons().

◆ is_attachment_excluded()

function is_attachment_excluded ( attachment  )

Definition at line 280 of file _loadout.gsc.

Referenced by getAttachmentString().

◆ isBulletDamage()

function isBulletDamage ( meansofdeath  )

Definition at line 1397 of file _loadout.gsc.

Referenced by isFMJDamage().

◆ isEquipmentAllowed()

function isEquipmentAllowed ( equipment_name  )

Definition at line 641 of file _loadout.gsc.

Referenced by givePrimaryOffhand(), giveSecondaryOffhand(), and giveSpecialOffhand().

◆ isExplosiveDamage()

function isExplosiveDamage ( meansofdeath  )

◆ isFireDamage()

function isFireDamage ( weapon  ,
meansofdeath   
)

Definition at line 1408 of file _loadout.gsc.

Referenced by cac_modified_damage(), and doPerkFeedBack().

◆ isFMJDamage()

function isFMJDamage ( sWeapon  ,
sMeansOfDeath  ,
attacker   
)

Definition at line 1402 of file _loadout.gsc.

References isBulletDamage().

Referenced by siegebot_callback_damage().

◆ isHeadDamage()

function isHeadDamage ( hitloc  )

Definition at line 1416 of file _loadout.gsc.

Referenced by cac_modified_damage().

◆ isLeagueItemRestricted()

function isLeagueItemRestricted ( item  )

◆ isPerkGroup()

function isPerkGroup ( perkName  )

Definition at line 621 of file _loadout.gsc.

◆ isPrimaryDamage()

function isPrimaryDamage ( meansofdeath  )

Definition at line 1392 of file _loadout.gsc.

Referenced by cac_modified_damage(), and cac_modified_vehicle_damage().

◆ load_default_loadout()

function load_default_loadout ( weaponclass  ,
classNum   
)

Definition at line 333 of file _loadout.gsc.

Referenced by init().

◆ on_connect()

function on_connect ( )

Definition at line 44 of file _loadout.gsc.

Referenced by __init__().

◆ on_damage_special_discgun()

function on_damage_special_discgun ( eAttacker  ,
eInflictor  ,
weapon  ,
meansOfDeath  ,
damage   
)

Definition at line 248 of file _loadout.gsc.

Referenced by init().

◆ on_player_connecting()

function on_player_connecting ( )

Definition at line 1188 of file _loadout.gsc.

Referenced by init().

◆ register_perks()

function register_perks ( )

Definition at line 1256 of file _loadout.gsc.

Referenced by givePerks().

◆ reset_specialty_slots()

function reset_specialty_slots ( class_num  )

Definition at line 627 of file _loadout.gsc.

Referenced by setClassNum().

◆ set_statstable_id()

function set_statstable_id ( )

Definition at line 295 of file _loadout.gsc.

References getStatsTableName().

Referenced by cac_init(), get_item_count(), and getDefaultClassSlotWithExclusions().

◆ setClass()

function setClass ( newClass  )

Definition at line 1214 of file _loadout.gsc.

Referenced by menuClass(), and spawnPlayer().

◆ setClassNum()

function setClassNum ( weaponClass  )

Definition at line 730 of file _loadout.gsc.

References reset_specialty_slots().

Referenced by giveLoadout().

◆ setWeaponAmmoOverall()

function setWeaponAmmoOverall ( weapon  ,
amount   
)

◆ weapon_class_register()

function weapon_class_register ( weaponName  ,
weapon_type   
)

Definition at line 338 of file _loadout.gsc.

Referenced by init().