DurtyFree / gta-v-data-dumps

GTA V Data dumps useful for modding & scripting
https://forge.plebmasters.de/
745 stars 283 forks source link

Missing weapon component names #64

Open Sainan opened 3 months ago

Sainan commented 3 months ago
        -- Fill in missing data
        if component.Name == "COMPONENT_COMBATPISTOL_VARMOD_XMAS23" then
            component.TranslatedLabel = {
                Name = "WCT_COMPIST_XM",
                English = "Snowman Finish"
            }
        elseif component.Name == "COMPONENT_MICROSMG_VARMOD_FRN" then
            component.TranslatedLabel = {
                Name = "WCT_MSMGFRN_VAR",
                English = "Employee of the Month Finish"
            }
        elseif component.Name == "COMPONENT_CARBINERIFLE_VARMOD_MICH" then
            component.TranslatedLabel = {
                Name = "WCT_CRBNMIC_VAR",
                English = "Suede Bucks Finish"
            }
        elseif component.Name == "COMPONENT_HEAVYSNIPER_VARMOD_XMAS23" then
            component.TranslatedLabel = {
                Name = "WCT_HVSP_XM",
                English = "Santa's Helper Finish"
            }
        elseif component.Name == "COMPONENT_RPG_VARMOD_TVR" then
            component.TranslatedLabel = {
                Name = "WCT_RPGTVR_VAR",
                English = "Uncle T Finish"
            }
        elseif component.Name == "COMPONENT_SPECIALCARBINE_VARMOD_XMAS23" then
            component.TranslatedLabel = {
                Name = "WCT_SPCR_XM",
                English = "Skull Santa Finish"
            }
        end

Sorry for the shit format, this is just scrapped code I had laying around, might be useful for you.