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
https://blywd.hanjiasongshu.com/index.php?title=Common_Scenario_Directives#Built-in_Field_in_Initial_Setting_Table
As for changing the food and money drop settings in your own mod, first create/open the mod using the in-game mod developer. Press the "ID Reference" button to open the Excel reference directory for creating mods. Once open, navigate to "\excel\Main", copy the file "C初始设定表_Init.xlsx", and close the window. Back to the mod developer, press the "Configuration Table" button to open your mod's Excel directory ("...\MyMod\Excel") and paste the copied file. Open the newly pasted file and clear any rows containing text under the header row. Add each of the following rows beneath the header row:
battle_gain_money_scale | Scale coefficient of obtaining money in battles. | 0
loot_food_each_soldier | Probability of each group of soldiers dropping food. | 0
loot_food_each_hero | Probability of each hero dropping food. | 0
Save and close the Excel file. Navigate to the parent directory ("...\MyMod\Excel" to "...\MyMod") and open the "valuebundle" folder. Using a text editor, such as Notepad, add the following as a new line inside the "root" tag in "Index.xml" and "INDEX_SOURCE.xml":
<convert reg="initinfo_pojo.xml" from="C初始设定表_Init.xlsx" />
Press the "Build" button in the mod developer.
I think it is that "Index.xml" is not created until after I hit build once?
Also if you would be so kind as to tell me how to delete projects from the list because I have like ten useless one now.