Winsyrstrife Posted February 8, 2015 Share Posted February 8, 2015 How exactly do you pass configuration option data using modoverrides.lua? As an example, I'm using workshop mod "DST Path Lights". I'm simply trying to change the recipe's ingredients, and the color of the light. I see the server loading the configuration changes I've input in modoverrides.lua, but when connecting as a client, all configurations for mods are defaulted. Not sure what I'm doing wrong...return {["workshop-385006082"] = {enabled = true,configuration_options = {path_lightrecipe = hard,light_color = color4,}},} Link to comment Share on other sites More sharing options...
rezecib Posted February 8, 2015 Share Posted February 8, 2015 @Winsyrstrife, I haven't looked at the mod's config, but my guess is that you need those options to be in quotes:return {["workshop-385006082"] = {enabled = true,configuration_options = {path_lightrecipe = "hard",light_color = "color4",}},}Unless you're declaring hard and color4 somewhere else, your current code is just setting path_lightrecipe = nil and light_color = nil. Link to comment Share on other sites More sharing options...
Winsyrstrife Posted February 9, 2015 Author Share Posted February 9, 2015 Thanks. I set the parameters in quotes. I see the server receive my configuration:[00:00:06]: Overriding mod workshop-385006082's option light_color with value color4 [00:00:06]: Overriding mod workshop-385006082's option path_lightrecipe with value hard I connect as a client, but the recipe is default (easy) and the color is default (color1). Strange.... Link to comment Share on other sites More sharing options...
afetogbo Posted February 21, 2015 Share Posted February 21, 2015 used settings in modoverrides.lua doesn't work. tried to set up the settings in client and then copy mod_config_data from clien to dedicated server and didn't work. tried having all the mods enabled on the server installed and enabled on client with same setting which didn't work. Tried using mods with numbers for setting and didn't work. Link to comment Share on other sites More sharing options...
Maris Posted February 21, 2015 Share Posted February 21, 2015 It's a bug. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.