mentaltyranny Posted December 4, 2014 Share Posted December 4, 2014 I cannot get my changes to gameconfig.xml to actually change the game under the new modular system. I used notepad++ to save the following text: <?xml version="1.0"?><GameConfig> <soldierStats comment="Soldier's stats are generated with values in the specified range."> <actionPoints min="55" max="65" /><resilence min="55" max="75" /><strength min="45" max="65" /><accuracy min="55" max="75" /><reflexes min="45" max="65" /><bravery min="35" max="65" /> </soldierStats> <startingSoldiersStatBonus value="5" comment="Bonus applied to starting soldiers' stats" /></GameConfig> I am using version 1.5 stable and the mod reports as activated under Modding Tools tab of the Xenonauts loader. I have successfully installed mods through steam workshop without issue. I have disabled all other mods as well and still have soldiers with hp in the 40s on a new game. What am I missing? Quote Link to comment Share on other sites More sharing options...
llunak Posted December 4, 2014 Share Posted December 4, 2014 Use -modinfo and check the game log (http://www.goldhawkinteractive.com/forums/showthread.php/11433-Documentation-Modular-mods-system). Quote Link to comment Share on other sites More sharing options...
mentaltyranny Posted December 4, 2014 Author Share Posted December 4, 2014 (edited) I did create a modinfo.xml that looks like this: <ModInfo><Name>Better Soldiers</Name><Version>0.1b</Version><Author>MentalTyranny</Author><Description>See title... </Description></ModInfo> With this file I was able to activate properly. But apparently I missing something else because my soldiers are not using these higher stats on a new game. Edited December 4, 2014 by mentaltyranny Forgot a sentence Quote Link to comment Share on other sites More sharing options...
mentaltyranny Posted December 4, 2014 Author Share Posted December 4, 2014 Also what is the name of the log file? I cannot seem to find it. Quote Link to comment Share on other sites More sharing options...
llunak Posted December 4, 2014 Share Posted December 4, 2014 Also what is the name of the log file? I cannot seem to find it. What information do you find missing from the relevant section of the docs I linked to? Quote Link to comment Share on other sites More sharing options...
mentaltyranny Posted December 4, 2014 Author Share Posted December 4, 2014 Cannot seem to figure out how to use the console command -modinfo to make the game create the mod log file. I tried through the steam launch options but no avail. I also tried launching modinfo.bat directly to load the game and I still no log file in the xenonauts directory like the linked documentation suggests. So I am either not doing it right or something is wrong, I am not sure. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
kabill Posted December 4, 2014 Share Posted December 4, 2014 My modinfo file paths to: Users -> [username] -> AppData -> Goldhawk Interactive -> Xenonauts Quote Link to comment Share on other sites More sharing options...
mentaltyranny Posted December 4, 2014 Author Share Posted December 4, 2014 I found it! Thanks! Here is my log file: Thu Dec 04 15:43:48 2014: Xenonauts, version .Thu Dec 04 15:43:48 2014: Pixel Shader Version: ffff0300Thu Dec 04 15:43:58 2014: MOD INFO: Initializing mod list (highest priority last).Thu Dec 04 15:43:58 2014: MOD INFO: Adding xce settings directory: mods/xcesettings/Thu Dec 04 15:43:58 2014: MOD INFO: Adding xce balance directory: mods/xcebalance/Thu Dec 04 15:43:58 2014: MOD INFO: Adding mod directory: mods/better soldiers/Thu Dec 04 15:43:58 2014: MOD INFO: Merged strings from mod mods/xcebalance/ .Thu Dec 04 15:43:58 2014: MOD INFO: Merging XML for gameconfig.xml from mod mods/xcesettings/ .Thu Dec 04 15:43:58 2014: MOD INFO: Merging element GameConfig .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element mouseWheelChangesCameraLevel .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element mouseWheelFireMode .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element showPossibleRadarRanges .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element KeyMapping .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element airplaneNotifications .Thu Dec 04 15:43:58 2014: MOD INFO: Merge ok.Thu Dec 04 15:43:58 2014: MOD INFO: Merging XML for gameconfig.xml from mod mods/xcebalance/ .Thu Dec 04 15:43:58 2014: MOD INFO: Merging element GameConfig .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element airCombatAIThinkChance .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element autoresolveHeavyMissileEscortBonus .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element autoresolveNormalMissileEvadePenalty .Thu Dec 04 15:43:58 2014: MOD INFO: Updating element ufoEscortInboundFactor .Thu Dec 04 15:43:58 2014: MOD INFO: Merge ok.Thu Dec 04 15:43:58 2014: MOD INFO: Merging XML for gameconfig.xml from mod mods/better soldiers/ .Thu Dec 04 15:43:58 2014: MOD INFO: Merging element GameConfig .Thu Dec 04 15:43:58 2014: MOD ERROR: Element without MODMERGE has both children and attributes: soldierStatsThu Dec 04 15:43:58 2014: MOD ERROR: Merging XML for gameconfig.xml from mod mods/better soldiers/ failed.Thu Dec 04 15:43:58 2014: MOD INFO: Merging XML for loadouts.xml from mod mods/xcesettings/ .Thu Dec 04 15:43:58 2014: MOD INFO: Replacing element Loadouts .Thu Dec 04 15:43:58 2014: MOD INFO: Merge ok.Thu Dec 04 15:44:19 2014: ##### : Missing string for label '' I see where it talks about my mod, however I am not sure from the documentation what MODMERGE code I should use. I notice your (Kabill's) gameconfig.xml file in Fire in the Hole! uses none and in your armours_gc.xml file Armored Assault you use MODMERGEATTRIBUTE="name" MODMERGE="update", which I just tried adding and it still didn't work. Honestly, the documentation is a little over my head and I am not sure what to use. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
llunak Posted December 4, 2014 Share Posted December 4, 2014 The documentation also links to specific examples. But in this case, removing the needlessly repeated comment= attributes should do as well. Quote Link to comment Share on other sites More sharing options...
mentaltyranny Posted December 5, 2014 Author Share Posted December 5, 2014 This finally worked: <?xml version="1.0"?><GameConfig><!-- SOLDIER GENERATION VARIABLES --> <soldierStats MODMERGE="replace"> <actionPoints min="55" max="65" /><resilence min="55" max="75" /><strength min="45" max="65" /><accuracy min="55" max="75" /><reflexes min="45" max="65" /><bravery min="35" max="65" /> </soldierStats> </GameConfig> Thanks for your help everyone! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.