// =========================================
// WeaponVariantDef
// =========================================
use WeaponVariantDef;
set block XFILE_BLOCK_TEMP;
set string szInternalName;
set reusable weapDef;
set string szDisplayName;
set string szAltWeaponName;
set string szAttachmentUnique;
set count attachments 63;
set reusable attachments;
set count attachmentUniques 95;
set reusable attachmentUniques;
set string szXAnims;
set assetref szXAnims AssetXAnim;
set count szXAnims NUM_WEAP_ANIMS;
set reusable szXAnims;
set scriptstring hideTags;
set count hideTags 32;
set reusable hideTags;
set count attachViewModel 8;
set reusable attachViewModel;
set count attachWorldModel 8;
set reusable attachWorldModel;
set string attachViewModelTag;
set count attachViewModelTag 8;
set reusable attachViewModelTag;
set string attachWorldModelTag;
set count attachWorldModelTag 8;
set reusable attachWorldModelTag;
set string szAmmoDisplayName;
set string szAmmoName;
set string szClipName;

// WeaponDef
use WeaponDef;
set string szOverlayName;
set count gunXModel 16;
set reusable gunXModel;
set string szModeName;
set scriptstring notetrackSoundMapKeys;
set count notetrackSoundMapKeys 20;
set reusable notetrackSoundMapKeys;
set scriptstring notetrackSoundMapValues;
set count notetrackSoundMapValues 20;
set reusable notetrackSoundMapValues;
set string parentWeaponName;
set string pickupSound;
set string pickupSoundPlayer;
set string ammoPickupSound;
set string ammoPickupSoundPlayer;
set string projectileSound;
set string pullbackSound;
set string pullbackSoundPlayer;
set string fireSound;
set string fireSoundPlayer;
set string fireLoopSound;
set string fireLoopSoundPlayer;
set string fireLoopEndSound;
set string fireLoopEndSoundPlayer;
set string fireStartSound;
set string fireStopSound;
set string fireKillcamSound;
set string fireStartSoundPlayer;
set string fireStopSoundPlayer;
set string fireKillcamSoundPlayer;
set string fireLastSound;
set string fireLastSoundPlayer;
set string emptyFireSound;
set string emptyFireSoundPlayer;
set string crackSound;
set string whizbySound;
set string meleeSwipeSound;
set string meleeSwipeSoundPlayer;
set string meleeHitSound;
set string meleeMissSound;
set string rechamberSound;
set string rechamberSoundPlayer;
set string reloadSound;
set string reloadSoundPlayer;
set string reloadEmptySound;
set string reloadEmptySoundPlayer;
set string reloadStartSound;
set string reloadStartSoundPlayer;
set string reloadEndSound;
set string reloadEndSoundPlayer;
set string rotateLoopSound;
set string rotateLoopSoundPlayer;
set string rotateStopSound;
set string rotateStopSoundPlayer;
set string deploySound;
set string deploySoundPlayer;
set string finishDeploySound;
set string finishDeploySoundPlayer;
set string breakdownSound;
set string breakdownSoundPlayer;
set string finishBreakdownSound;
set string finishBreakdownSoundPlayer;
set string detonateSound;
set string detonateSoundPlayer;
set string nightVisionWearSound;
set string nightVisionWearSoundPlayer;
set string nightVisionRemoveSound;
set string nightVisionRemoveSoundPlayer;
set string altSwitchSound;
set string altSwitchSoundPlayer;
set string raiseSound;
set string raiseSoundPlayer;
set string firstRaiseSound;
set string firstRaiseSoundPlayer;
set string adsRaiseSoundPlayer;
set string adsLowerSoundPlayer;
set string putawaySound;
set string putawaySoundPlayer;
set string overheatSound;
set string overheatSoundPlayer;
set string adsZoomSound;
set string shellCasing;
set string shellCasingPlayer;
set string bounceSound;
set count bounceSound SURF_TYPE_NUM;
set reusable bounceSound;
set string standMountedWeapdef;
set string crouchMountedWeapdef;
set string proneMountedWeapdef;
set count worldModel 16;
set reusable worldModel;
set string szSharedAmmoCapName;
set scriptstring explosionTag;
set string spinLoopSound;
set string spinLoopSoundPlayer;
set string startSpinSound;
set string startSpinSoundPlayer;
set string stopSpinSound;
set string stopSpinSoundPlayer;
set string stackSound;
set string szSpawnedGrenadeWeaponName;
set string szDualWieldWeaponName;
set string projExplosionSound;
set string projDudSound;
set string mortarShellSound;
set string tankShellSound;
set count parallelBounce SURF_TYPE_NUM;
set reusable parallelBounce;
set count perpendicularBounce SURF_TYPE_NUM;
set reusable perpendicularBounce;
set string projIgnitionSound;
set string aiVsAiAccuracyGraphName;
set string aiVsPlayerAccuracyGraphName;
set reusable aiVsAiAccuracyGraphKnots;
set count aiVsAiAccuracyGraphKnots aiVsAiAccuracyGraphKnotCount;
set reusable aiVsPlayerAccuracyGraphKnots;
set count aiVsPlayerAccuracyGraphKnots aiVsPlayerAccuracyGraphKnotCount;
set reusable originalAiVsAiAccuracyGraphKnots;
set count originalAiVsAiAccuracyGraphKnots aiVsAiAccuracyGraphKnotCount; // yeah it does not use original count
set reusable originalAiVsPlayerAccuracyGraphKnots;
set count originalAiVsPlayerAccuracyGraphKnots aiVsPlayerAccuracyGraphKnotCount; // yeah it does not use original count
set string szUseHintString;
set string dropHintString;
set string szScript;
set count locationDamageMultipliers HITLOC_COUNT;
set reusable locationDamageMultipliers;
set string fireRumble;
set string meleeImpactRumble;
set string reloadRumble;
set string explosionRumble;
set string flameTableFirstPerson;
set string flameTableThirdPerson;
set reusable flameTableFirstPersonPtr;
set reusable flameTableThirdPersonPtr;
set string throwBackType;

reorder:
...
aiVsAiAccuracyGraphName
aiVsAiAccuracyGraphKnots
originalAiVsAiAccuracyGraphKnots
aiVsPlayerAccuracyGraphName
aiVsPlayerAccuracyGraphKnots
originalAiVsPlayerAccuracyGraphKnots;

reorder:
...
killIcon
indicatorIcon;

// FlameTable
use FlameTable;
set string name;
set string flameOffLoopSound;
set string flameIgniteSound;
set string flameOnLoopSound;
set string flameCooldownSound;