sparky4 Posted December 30, 2017 Share Posted December 30, 2017 (edited) Continuation of My friend KURE says Quote KURE: winne has crash problem. KURE: add + game start = crash. KURE: plz investigate it he did not specify what caused the crash OR what crashed.. I need help! http://steamcommunity.com/sharedfiles/filedetails/?id=639322917 Also i want to add sanity based damage multiplyer. this is the value I want to use, but this is not dynamic. also would a dynamic variable make servers run slow? inst.components.combat.damagemultiplier = 2-(0.5*inst.components.sanity.current/40) and her knife is not click-able.. I do not know how to make her knife clickable also her quirks get restarted when she leaves server (cave or exit server) Edited December 30, 2017 by sparky4 adding previous thread Link to comment Share on other sites More sharing options...
sparky4 Posted December 30, 2017 Author Share Posted December 30, 2017 the crash is when a client disconnects from the server. (with out quitting ) the client game crashes.... please help me i do not know how to fix this.. Link to comment Share on other sites More sharing options...
. . . Posted December 31, 2017 Share Posted December 31, 2017 if you post the entire mod here maybe someone can help you Link to comment Share on other sites More sharing options...
sparky4 Posted December 31, 2017 Author Share Posted December 31, 2017 (edited) 1 hour ago, SuperDavid said: if you post the entire mod here maybe someone can help you http://steamcommunity.com/sharedfiles/filedetails/?id=639322917 for the "stable" build http://4ch.mooo.com/4/winnie.7z this is the dev build. it will update when i push it. Edited December 31, 2017 by sparky4 Link to comment Share on other sites More sharing options...
Nerune Posted December 31, 2017 Share Posted December 31, 2017 The game is crashing due to the compressed portraits. I have to fix them but don't worry hopefully soon it'll be resolved. -mod author major dingus Link to comment Share on other sites More sharing options...
sparky4 Posted December 31, 2017 Author Share Posted December 31, 2017 24 minutes ago, Nerune said: The game is crashing due to the compressed portraits. I have to fix them but don't worry hopefully soon it'll be resolved. -mod author major dingus I am not sure but please fix them~ Link to comment Share on other sites More sharing options...
sparky4 Posted January 24, 2018 Author Share Posted January 24, 2018 I gotta test the things Nerune added.. i been that busy Link to comment Share on other sites More sharing options...
Andreasgamming Posted January 25, 2018 Share Posted January 25, 2018 Post this AFTER common_postinit local function sanitydelta(inst) if inst.components.sanity.current >= 100 then inst.components.combat.damagemultiplier = 1.5 elseif inst.components.sanity.current >= 50 then inst.components.combat.damagemultiplier = 2 elseif inst.components.sanity.current <= 50 then inst.components.combat.damagemultiplier = 4 end end put this in Master_postinit inst:ListenForEvent("sanitydelta", sanitydelta) This is a code that makes the character stronger as her Sanity goes down. Link to comment Share on other sites More sharing options...
sparky4 Posted February 23, 2018 Author Share Posted February 23, 2018 On 12/30/2017 at 10:30 PM, Nerune said: The game is crashing due to the compressed portraits. I have to fix them but don't worry hopefully soon it'll be resolved. -mod author major dingus did you make your modified version named Winnie test X? Link to comment Share on other sites More sharing options...
sparky4 Posted April 22, 2018 Author Share Posted April 22, 2018 damage, health and sanity regeneration I Do not know how to interface the configuration stuff of DST. How would one be able to do this? I need these values be able to be configurable. Link to comment Share on other sites More sharing options...
. . . Posted April 22, 2018 Share Posted April 22, 2018 38 minutes ago, sparky4 said: I Do not know how to interface the configuration stuff of DST. How would one be able to do this? I need these values be able to be configurable. if you download a mod that has a character with configurable stats you can see it's code and then copypaste it for your own mod and edit it, like this mod for example has configurable attack, sanity, hunger, ect. Link to comment Share on other sites More sharing options...
sparky4 Posted April 22, 2018 Author Share Posted April 22, 2018 cool thanks!! <3 Link to comment Share on other sites More sharing options...
. . . Posted April 22, 2018 Share Posted April 22, 2018 if you dont understand something you can tell me I will try to help as best I can Link to comment Share on other sites More sharing options...
sparky4 Posted April 22, 2018 Author Share Posted April 22, 2018 ok i am having issues with the configuration stuff STAYing the value i set with field("co_dm","Damage multiplier","Damage multiplier of Winnie",options_range(0.1, 4, 0.1),(1.2)), field("co_hr","Health regeneration multiplier","Health regeneration multiplier of Winnie",options_range(0.1, 4, 0.1),1), field("co_sr","Sanity regeneration multiplier","Sanity regeneration multiplier of Winnie",options_range(0.1, 4, 0.1),1), these values are not being saved... how to fix? i am uploading the file. the URL is http://4ch.mooo.com/4/winnie.7z turns out the functions my friend uses is not 0.x friendly it only dose whole numbers... Link to comment Share on other sites More sharing options...
. . . Posted April 23, 2018 Share Posted April 23, 2018 I put an example of how you would add a configuration option in your mod, the config would increase damage multiplier of winnie. winnie.zip Unfortunately, I do not understand your friend's configs or how to make them work I'm not a really good coder so I can't really help with how to fix his code, sorry ! Link to comment Share on other sites More sharing options...
sparky4 Posted April 23, 2018 Author Share Posted April 23, 2018 it is ok! Link to comment 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