Locazlization
#1
Hi, I have been trying to make a localization mod to change the reticle names in-game according to Kitsune Jimmy's Improved Reticle Pack and here is the lua fille I wrote. It probably is terribly wrong and/or a bunch or horse****. Tell me how to improve it and what to add or remove. I am also using kden(BE)'s Triangle Reticle (reticle_20).

__________________________________________________________

Hooks:Add("LocalizationManagerPostInit", "reticlepack", function(loc)
    LocalizationManager:add_localized_strings({
        menu_reticle_20 = "Triangle"      
    })
    LocalizationManager:add_localized_strings({
        menu_reticle_17 = "Arrow Dot"      
    })
    LocalizationManager:add_localized_strings({
        menu_reticle_2 = "Cross Dot"      
    })
    LocalizationManager:add_localized_strings({
        menu_reticle_11 = "Eotech"      
    })
    LocalizationManager:add_localized_strings({
        menu_reticle_4 = "Kobra"      
    })
    LocalizationManager:add_localized_strings({
        menu_reticle_12 = "Line Dot"      
    })
    LocalizationManager:add_localized_strings({
        menu_reticle_13 = "OKP-7"      
    })    
    LocalizationManager:add_localized_strings({
        menu_reticle_16 = "X-Circle"         
    })        
end)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)