Skip to content

ESE_Aliases Class

NarcoMarshDev edited this page Sep 23, 2022 · 9 revisions

Category: Static
Path: scripts/Game/ESE_Aliases.c

Collection of aliases for constants and many of the base game resources.

Overview

This class provides easy to access aliases for many of the base game resources, making it easy to reference them in your code as a constant, instead of manually finding them and copying their resource name into a new variable in your script. To use this class, make sure ESE_ALIASES_ALL or one of the specific ones below are defined in your !ESE_Config.c file, and then simply access the constants from anywhere like ESE_Aliases.WEP_AK74.

The aliases in this class cover most of the following types, and use the defines on the right to activate if you don't use ESE_ALIASES_ALL:

Category Define
Weapons ESE_ALIASES_WEAPONS
Attachments ESE_ALIASES_ATTACHMENTS
Magazines ESE_ALIASES_MAGAZINES
Vehicles ESE_ALIASES_VEHICLES
Materials ESE_ALIASES_MATERIALS

Constants

Weapons

Name⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ Type Value⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
WEP_AK74 ResourceName {FA5C25BF66A53DCF}Prefabs/Weapons/Rifles/AK74/Rifle_AK74.et
WEP_AK74_GP25 ResourceName {63E8322E2ADD4AA7}Prefabs/Weapons/Rifles/AK74/Rifle_AK74_GP25.et
WEP_M21 ResourceName {B31929F65F0D0279}Prefabs/Weapons/Rifles/M14/Rifle_M21.et
WEP_M21_ARTII ResourceName {81EB948E6414BD6F}Prefabs/Weapons/Rifles/M14/Rifle_M21_ARTII.et
WEP_M16A2 ResourceName {3E413771E1834D2F}Prefabs/Weapons/Rifles/M16/Rifle_M16A2.et
WEP_M16A2_M203 ResourceName {5A987A8A13763769}Prefabs/Weapons/Rifles/M16/Rifle_M16A2_M203.et
WEP_SVD ResourceName {3EB02CDAD5F23C82}Prefabs/Weapons/Rifles/SVD/Rifle_SVD.et
WEP_SVD_PSO ResourceName {6415B7923DE28C1B}Prefabs/Weapons/Rifles/SVD/Rifle_SVD_PSO.et
WEP_M249 ResourceName {D2B48DEBEF38D7D7}Prefabs/Weapons/MachineGuns/M249/MG_M249.et
WEP_M60 ResourceName {D182DCDD72BF7E34}Prefabs/Weapons/MachineGuns/M60/MG_M60.et
WEP_PKM ResourceName {A89BC9D55FFB4CD8}Prefabs/Weapons/MachineGuns/PKM/MG_PKM.et
WEP_RPK74 ResourceName {A7AF84C6C58BA3E8}Prefabs/Weapons/MachineGuns/RPK74/MG_RPK74.et
WEP_M9 ResourceName {1353C6EAD1DCFE43}Prefabs/Weapons/Handguns/M9/Handgun_M9.et
WEP_PM ResourceName {C0F7DD85A86B2900}Prefabs/Weapons/Handguns/PM/Handgun_PM.et
WEP_M72A3 ResourceName {9C5C20FB0E01E64F}Prefabs/Weapons/Launchers/M72/Launcher_M72A3.et
WEP_RPG7 ResourceName {7A82FE978603F137}Prefabs/Weapons/Launchers/RPG7/Launcher_RPG7.et
WEP_M67 ResourceName {E8F00BF730225B00}Prefabs/Weapons/Grenades/Grenade_M67.et
WEP_RGD5 ResourceName {645C73791ECA1698}Prefabs/Weapons/Grenades/Grenade_RGD5.et
WEP_ANM8HC ResourceName {9DB69176CEF0EE97}Prefabs/Weapons/Grenades/Smoke_ANM8HC.et
WEP_RDG2 ResourceName {77EAE5E07DC4678A}Prefabs/Weapons/Grenades/Smoke_RDG2.et
WEP_M18_WHITE ResourceName {AD2709F5F6F0D871}Prefabs/Weapons/Grenades/M18/Smoke_M18_Base.et
WEP_M18_GREEN ResourceName {D41D22DD1B8E921E}Prefabs/Weapons/Grenades/M18/Smoke_M18_Green.et
WEP_M18_RED ResourceName {3343A055A83CB30D}Prefabs/Weapons/Grenades/M18/Smoke_M18_Red.et
WEP_M18_VIOLET ResourceName {14C1A0F061D9DDEE}Prefabs/Weapons/Grenades/M18/Smoke_M18_Violet.et
WEP_M18_YELLOW ResourceName {9BBDEE253A16CC66}Prefabs/Weapons/Grenades/M18/Smoke_M18_Yellow.et

Attachments

Name⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ Type Value⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
OPTIC_ARTII ResourceName {D2018EDB1BBF4C88}Prefabs/Weapons/Attachments/Optics/Optic_ARTII.et
OPTIC_PSO1 ResourceName {C850A33226B8F9C1}Prefabs/Weapons/Attachments/Optics/Optic_PSO1.et
UGL_M203 ResourceName {43FDAF3FA0FF2299}Prefabs/Weapons/Attachments/Underbarrel/UGL_M203.et
UGL_GP25 ResourceName {1ABABE3551512B0A}Prefabs/Weapons/Attachments/Underbarrel/UGL_GP25.et
BAYONET_M9 ResourceName {A4AF9C38A4179880}Prefabs/Weapons/Attachments/Bayonets/Bayonet_M9.et
BAYONET_6KH4 ResourceName {C7534F7A79EA3331}Prefabs/Weapons/Attachments/Bayonets/Bayonet_6Kh4.et
HGUARD_M16A2 ResourceName {FB1A7F5BC7D935E2}Prefabs/Weapons/Attachments/Handguards/Handguard_M16A2/Handguard_M16.et

Methods

Name⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ Return⠀⠀⠀⠀⠀ Description

Clone this wiki locally