Thread Tools Display Modes
Prev Previous Post   Next Post Next
08/30/18, 07:14 AM   #21
lnfinity
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 22
Originally Posted by Baertram View Post
Maybe use one of the language addons which for the same as the script. Or build yourself an addon (check the esoui wiki in order to learn how to: "Hello World") and simply let it execute this command as the addon loads or event_player_activated is run in your addon.
I came back to this thread because as of today I would still be interested in playing eso with speech in german and text in english.
I tried having a look at lua coding but it seems like I am just too stupid for it.
Googling around I found quite a few people who would love to have an addon that can do just what I desire to achieve.
Is there anyone who could do me the favor of writing such a small piece?

Edit: I actually managed to get it done, I wrote my first own addon!
However it's still not perfect, when I am done loading half of the text in game is still german, what could be the cause of it and how do I fix it?
(If I /reloadui one more time afterwards, everything works just fine!)
PS: My .lua looks like this:
Code:
AdvancedLanguageSelector = {}
AdvancedLanguageSelector.name = "AdvancedLanguageSelector"
 
function AdvancedLanguageSelector:Initialize()
	SetCVar("language.2","en")
end
 
function AdvancedLanguageSelector.OnAddOnLoaded(event, addonName)
  if addonName == AdvancedLanguageSelector.name then
    AdvancedLanguageSelector:Initialize()
  end
end

EVENT_MANAGER:RegisterForEvent(AdvancedLanguageSelector.name, EVENT_ADD_ON_LOADED, AdvancedLanguageSelector.OnAddOnLoaded)

Last edited by lnfinity : 08/30/18 at 08:53 AM.
  Reply With Quote
 

ESOUI » AddOns » AddOn Search/Requests » Addon request: Advanced Language Selector


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off