XxSTOZZYxX Posted July 1, 2015 Share Posted July 1, 2015 Wondering if using the override file only looks in modinfo.lua, or does it effect the mod as a whole? Example, if I added local master_postinit = function(inst) inst.components.locomotor.walkspeed = (TUNING.WILSON_WALK_SPEED * 1.2) inst.components.locomotor.runspeed = (TUNING.WILSON_RUN_SPEED * 1.3)endwould i get the wanted change to the run speed of the character mod? The above is pulled from a script in a subdirectory of the mod. Default values were 1.4 and 1.5 or do I need to specify to look in the script.lua? or is that even possible? assuming i'm listing the whole portion of code to replace, something like follows?["workshop-366048578"] = { enabled = true, {local master_postinit = function(inst) inst.components.locomotor.walkspeed = (TUNING.WILSON_WALK_SPEED * 1.2) inst.components.locomotor.runspeed = (TUNING.WILSON_RUN_SPEED * 1.3)end,}} Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/ Share on other sites More sharing options...
Kzisor Posted July 1, 2015 Share Posted July 1, 2015 @XxSTOZZYxX, that isn't how modoverrides.lua works. A mod must have configuration options in order to be able to be overridden other wise it won't work. Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/#findComment-651240 Share on other sites More sharing options...
XxSTOZZYxX Posted July 1, 2015 Author Share Posted July 1, 2015 So realistically then the only way to achieve that level of customization on a dedicated server is to rewrite the script, up it to workshop, and force the download via a new mod? because that just seems highly unethical... is it possible to do that and make it part of a customized collection? Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/#findComment-651243 Share on other sites More sharing options...
Kzisor Posted July 1, 2015 Share Posted July 1, 2015 @XxSTOZZYxX, that is the only way and is also against the TOS of steam workshop. Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/#findComment-651247 Share on other sites More sharing options...
DarkXero Posted July 1, 2015 Share Posted July 1, 2015 Well, you can modify some values server side only, like:AddPrefabPostInit("modcharprefab", function(inst) inst.components.locomotor:SetExternalSpeedMultiplier(inst, "Speed_Nerf", 1.3 / 1.5)end)And people wouldn't have to download anything if set to server only. You can also set it to client only so the mod doesn't appear on the mod list. Wasn't there a guy with a mod that tried to balance a lot of mod characters?http://forums.kleientertainment.com/topic/50182-mod-release-mod-optimizations-and-options/Here. But the steam workshop thing isn't there. Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/#findComment-651285 Share on other sites More sharing options...
XxSTOZZYxX Posted July 1, 2015 Author Share Posted July 1, 2015 It's a lot to look in to, but it doesn't look like what I'm lookin to do is possible yet on a dedicated server... that or it's gonna take a coding guru to hash it out. For now I'll just figure out what's comfortable from the mods config override and look in to writing out a server specific mod for the rest. Character balancing is something to look in to though. Stat customizing is what i'm lookin for but I can live without the extras for now. Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/#findComment-651297 Share on other sites More sharing options...
Kzisor Posted July 1, 2015 Share Posted July 1, 2015 Well, you can modify some values server side only, like:AddPrefabPostInit("modcharprefab", function(inst) inst.components.locomotor:SetExternalSpeedMultiplier(inst, "Speed_Nerf", 1.3 / 1.5)end)And people wouldn't have to download anything if set to server only. You can also set it to client only so the mod doesn't appear on the mod list. Wasn't there a guy with a mod that tried to balance a lot of mod characters?http://forums.kleientertainment.com/topic/50182-mod-release-mod-optimizations-and-options/Here. But the steam workshop thing isn't there. Yes there was, it's not there because it's classified as against the TOS of the Steam Workshop, even if you use official API. Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/#findComment-651314 Share on other sites More sharing options...
DarkXero Posted July 1, 2015 Share Posted July 1, 2015 against the TOS of the Steam Workshop I can't seem to find the relevant part. Is it this? D. Representations and Warranties You represent and warrant to us that you have sufficient rights in all User Generated Content to grant Valve and other affected parties the licenses described under A. and B. above or in any license terms specific to the applicable Workshop-Enabled App or Workshop page. This includes, without limitation, any kind of intellectual property rights or other proprietary or personal rights affected by or included in the User Generated Content. In particular, with respect to Workshop Contributions, you represent and warrant that the Workshop Contribution was originally created by you (or, with respect to a Workshop Contribution to which others contributed besides you, by you and the other contributors, and in such case that you have the right to submit such Workshop Contribution on behalf of those other contributors). Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/#findComment-651320 Share on other sites More sharing options...
Kzisor Posted July 1, 2015 Share Posted July 1, 2015 I can't seem to find the relevant part. Exactly, neither could either of us. However, the reason why it was banned is because it was against the TOS of the Steam Workshop. Link to comment https://forums.kleientertainment.com/forums/topic/55804-modoverrideslua-deeper-customizing/#findComment-651322 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now