Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
plumduk_libvassals
Do you have an easy template I could copy off to get my mod working? I'm pretty new to scripting Total War games.
I would like to register three mods (for Mortal Empires), which will be released in the next weeks or months, with some scripts to change the campaign map.
tetoa_wob
tetoa_tosh
tetoa_invskv
df_grudges_dwf
df_grudges_agr
df_grudges_kad
As two campaigns are now available, by default I register all files to both campaigns, so if you want different files for each of the campaigns then please tell me about that.
Also tell me if you require direct access into a vanilla file that I currently do not provide and where exactly.
It would be also quite helpful if you linked me the mods that you intend to create in combination with this mod.
A simple template to enter your scripts into is now present within this mod in the file with the name of your choosing.
It appears cm:add_listener and core:add_listener doesn't work in scripts called by your script injector function in wh_start.lua.
In addition, I tried calling plumduk_libvassals() from another script injector function I added to wh_campaign_setup.lua (which is where I have my add_listener function in my vassal mod) to test if that would fix the problem, but that didn't work either.
I've also tried playing with the load order - putting my mod before and after your mod, to no avail.
Any advice on how to make add_listener behave with this framework? Anything I might've missed? I've been wracking my brains for a few days trying to get it working. I really want to be a part of the framework. :/