Jump to content

Mod config problems, no mods showing up when i try


Recommended Posts

So i entered this on my modoverrides.lua, i have the lua in my caves folder and my ddonotstarvetogetherdedicated folder. but whenever i put in the configure part of the code no mods load on my server. im using the mod black rock shooter.
 
return {
    ["workshop-522074551"] = { enabled = true },
    ["workshop-439115156"] = { enabled = true },
    ["workshop-488009136"] = { enabled = true },
    ["workshop-353697884"] = { enabled = true },
    ["workshop-347079953"] = { enabled = true },
    ["workshop-356435289"] = { enabled = true },
    ["workshop-375850593"] = { enabled = true },
    ["workshop-378160973"] = { enabled = true },
    ["workshop-421560477"] = { enabled = true },
    ["workshop-356420397"] = { enabled = true },
    ["workshop-369596587"] = { enabled = true },
    ["workshop-354415247"] = { enabled = true },
    ["workshop-399803164"] = { enabled = true },
    ["workshop-502031011"] = { enabled = true },
        configuration_options = {
            bladeclawdmg = "55",
            maxdura = "infinite",
            rockcannondmg = "50",
            workparticledropchance = "0.50",
            killparticledropchance = "0.30",
        },
    },
    ["workshop-367304592"] = { enabled = true },
}
 
 
and here is a example of the modinfo for the mod
 
name = "bladeclawdmg", 
label = "Blade Claw Base Damage",
hover = "Modify base damage on blade claw",
options = 
{
{description = "42 [D]", data = 42},
{description = "55", data = 55},
{description = "68", data = 68},
},
default = 42,
},
 
what am i doing wrong

 

Link to comment
Share on other sites

It looks wrong, you're not suppose to stack the enable lines like that.  It should look something like this:

 

return {
    ["Workshop-458940297"] = { enabled = true,
configuration_options =
{
DFV_Language = EN,
DFV_MinimalMode = default,
DFV_ClientPrediction = default,
DFV_PercentReplace = default,
DFV_ShowDamage = default,
DFV_ShowUses = default,
DFV_FueledSettings = default,
DFV_ShowTemperature = default,
DFV_ShowACondition = default,
DFV_ShowADefence = default,
DFV_ShowAType = default,
DFV_ShowInsulation = default,
DFV_ShowFireTime = default,
}, 
}, -- Display Food Values
 
["Workshop-496249680"] = { enabled = true,
configuration_options =
{
slots_count = 1.25,
compass_state = 2,
},
}, -- Extra Equip Slots Api
 
["Workshop-378160973"] = { enabled = true,
configuration_options =
{
SHOWPLAYERSOPTIONS = 2,
SHOWPLAYERICONS = true,
FIREOPTIONS = 2,
SHOWFIREICONS = true,
SHAREMINIMAPPROGRESS = true,
OVERRIDEMODE = false,
},
}, -- Global Positions
}
 
But then again, I can't get mine working either.
Link to comment
Share on other sites

@Liane, your problem lies here

    ["Workshop-458940297"] = { enabled = true,configuration_options ={DFV_Language = EN, -- this should be "EN"DFV_MinimalMode = default, -- lua looks for a variable named default, hereDFV_ClientPrediction = default,DFV_PercentReplace = default,DFV_ShowDamage = default,DFV_ShowUses = default,DFV_FueledSettings = default,DFV_ShowTemperature = default,DFV_ShowACondition = default,DFV_ShowADefence = default,DFV_ShowAType = default,DFV_ShowInsulation = default,DFV_ShowFireTime = default,}, }, -- Display Food Values

either put the default values, or delete the lines that wouldn't change.

["Workshop-458940297"] = { enabled = true,	configuration_options = 	{		DFV_Language = "EN",	}, }, -- Display Food Values
Link to comment
Share on other sites

Thanks for your reply!  much appreciated.

 

But I've decided it was too much hassle to do this for everymod,  what I ended up doing was I launched the regular DST and hosted a server within the game, added the mods I need and have them all setup and everything, then exit game and copy and pasted everything in the mods directory over to the dedicated folder.  One more thing tho, you also need to goto your my documents folder and find the klei directory and copy the "Save" folder over from normal to dedicated as well.  After that you're all done.  I find it less time consuming to be honest.  If you have a mod that has like 20 settings you can sit there and do alot of typing for a non-coder like myself.

Link to comment
Share on other sites

Thanks for your reply!  much appreciated.

 

But I've decided it was too much hassle to do this for everymod,  what I ended up doing was I launched the regular DST and hosted a server within the game, added the mods I need and have them all setup and everything, then exit game and copy and pasted everything in the mods directory over to the dedicated folder.  One more thing tho, you also need to goto your my documents folder and find the klei directory and copy the "Save" folder over from normal to dedicated as well.  After that you're all done.  I find it less time consuming to be honest.  If you have a mod that has like 20 settings you can sit there and do alot of typing for a non-coder like myself.

 

Genius, thanks for this.

Link to comment
Share on other sites

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.

×
  • Create New...