安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题









Please add some info on how to "modify" a script by making a copy of the original and including only the edited portions of the script to a mod.
Something like the following:
* Copy one of the base game scripts into your local Scripts folder. For example, make a copy of the DiplomaticScripts.cs file.
* Edit the top portion of the script as follows: Keep the boilerplate up to "namespace MOMScripts" unchanged. Change the next line from, for example, "public class DiplomaticScripts : ScriptBase" to something like "public class Hijacked_MyCoolMod_DiplomaticScripts : ScriptBase".
* The rest of the file should be a bunch of "static public void" functions. Edit the functions you want to change. Delete the functions that you don't need to change (so that you won't be overriding any future MuHa changes or changes from other mods).
Thanks for your reply. I have now found the issue: i kept the original file with a slightly altered name (DB_TOWNorg) in the same folder. I presumed only DB_TOWN would be read. Once i removed this file and ONLY kept the changed file things work. Not sure how the game works but it seems it checks for ANY DB_TOWN file (rest of name doesnt matter) and probably reads the oldest. Many thanks to all who responded, your help is greatly appreciated.
Added this line to their list:
<PossibleBuildings VALUE="BUILDING-UNIVERSITY"/>
I am aware of the prerequirements. I tried adding sages guild and alchemists guild to goblins and trolls. Plus university to Dwarves. All races meet the reqs for that, i simply added the respective lines in DB_TOWN. However, none of these changes work. I disabled all mods and workshop items but i cannot get this done. Other changes, to units or heroes, work just fine ... so its not my editing skills. I guess I am missing something here?! Any idea?
Buildings have prerequirements, so i would check if in DB of your edited race all buildings toward University are listed there. You can't just add wanted building.
I simply copied the towndata from another race. University for Dwarves should be easy as they have all prerequisites ... but it doesnt work?!