xEms Posted January 14, 2015 Share Posted January 14, 2015 Hello everyone. I'm doing a custom character of my Irken persona, http://roxypaw.deviantart.com/art/Irkensona-Clothes-Reference-505905349I'm perfectly fine with the texturing/drawing of the character, but I've literally never touched this type of coding, so I'm at point blank on this. What I'd like to have for my character is the following: 1)Having the voice the same as Wendy.2)Being able to eat anything. (It's a persona of me, and I eat literally anything.. I've eaten food that was left on the ground for I don't know how long.)3)Runs incredibly fast, but hits like a girl(weak).4)Starts with a healing salve. That's about it. I got no idea how I can do that myself, so any help would be truly appreciated.I've been told to look up the tutorials on how to, a lot of times, but no matter how many times I've looked, I simply don't get it. I really don't. I've tried downloading some characters, just to look at their script, and I can't see where I should even begin. So if anyone out there, has free time, I'd be forever grateful.And if you even want something for your troubles, we can try and figure something out.Thank you very much for reading! Link to comment https://forums.kleientertainment.com/forums/topic/49115-custom-character-in-need-of-scripting-help/ Share on other sites More sharing options...
QuickShot010 Posted January 14, 2015 Share Posted January 14, 2015 (edited) For the speech:local common_postinit = function(inst) inst.soundsname = "wendy"end For the low damage, high speed:local master_postinit = function(inst) inst.components.combat.damagemultiplier = 0.5 inst.components.locomotor.walkspeed = (TUNING.WILSON_WALK_SPEED * 1.4) inst.components.locomotor.runspeed = (TUNING.WILSON_RUN_SPEED * 1.4end For the start inventory:local start_inv = { "healingsalve",} You should really concider using google, as this is the really basics of character modding.All this code goes inside your (charactername).lua Edited January 14, 2015 by QuickShot010 Link to comment https://forums.kleientertainment.com/forums/topic/49115-custom-character-in-need-of-scripting-help/#findComment-601832 Share on other sites More sharing options...
xEms Posted January 14, 2015 Author Share Posted January 14, 2015 For the speech:local common_postinit = function(inst) inst.soundsname = "wendy"end For the low damage, high speed:local master_postinit = function(inst) inst.components.combat.damagemultiplier = 0.5 inst.components.locomotor.walkspeed = (TUNING.WILSON_WALK_SPEED * 1.4) inst.components.locomotor.runspeed = (TUNING.WILSON_RUN_SPEED * 1.4end For the start inventory:local start_inv = { "healingsalve",} You should really concider using google, as this is the really basics of character modding.All this code goes inside your (charactername).luaThank you so much! And yeah it might be somewhat basic for you, since you're probably good at it, but I honestly don't know how this sort of coding works. I normally just do coding that is for simple stuff like layouts on profiles and such. It sure looks different from this. I'll try and learn more of it, I just got a bit frustrated from this. But thanks a lot again, for helping me out! Link to comment https://forums.kleientertainment.com/forums/topic/49115-custom-character-in-need-of-scripting-help/#findComment-601860 Share on other sites More sharing options...
QuickShot010 Posted January 14, 2015 Share Posted January 14, 2015 Thank you so much! And yeah it might be somewhat basic for you, since you're probably good at it, but I honestly don't know how this sort of coding works. I normally just do coding that is for simple stuff like layouts on profiles and such. It sure looks different from this. I'll try and learn more of it, I just got a bit frustrated from this. But thanks a lot again, for helping me out!Hey, i started out just like you! Keep on doing what you are doing and try to look into the files of the base game and characters. You will find alot of useful stuff in there. When you really cant figure something out you can always post here Good luck! Link to comment https://forums.kleientertainment.com/forums/topic/49115-custom-character-in-need-of-scripting-help/#findComment-601872 Share on other sites More sharing options...
xEms Posted January 15, 2015 Author Share Posted January 15, 2015 Hey, i started out just like you! Keep on doing what you are doing and try to look into the files of the base game and characters. You will find alot of useful stuff in there. When you really cant figure something out you can always post here Good luck!I'm glad to hear that I'm not totally bad at it then I'll do my best! Thank you so much for the kindness you're giving me! Link to comment https://forums.kleientertainment.com/forums/topic/49115-custom-character-in-need-of-scripting-help/#findComment-602156 Share on other sites More sharing options...
Pyrobolser Posted January 15, 2015 Share Posted January 15, 2015 For the food part. I am afraid, eating absolutely every object will not be possible.You will have to copy to your mod and modify every prefab script of non eatable existing objects, and make them eatable on a category that only your character can eat.I don't know if you understand me, but to be simple every object you modify is a new file to work on in your folder. Link to comment https://forums.kleientertainment.com/forums/topic/49115-custom-character-in-need-of-scripting-help/#findComment-602195 Share on other sites More sharing options...
xEms Posted January 15, 2015 Author Share Posted January 15, 2015 For the food part. I am afraid, eating absolutely every object will not be possible.You will have to copy to your mod and modify every prefab script of non eatable existing objects, and make them eatable on a category that only your character can eat.I don't know if you understand me, but to be simple every object you modify is a new file to work on in your folder.I sort of figures, but that's sadly just how it is, I suppose, so my character won't be op.I'll try and make my character gain more strength by eating honey ham. Since that'll be a little challenge to get, since I can't take those bees at all. (Weak on hit and what not.) Link to comment https://forums.kleientertainment.com/forums/topic/49115-custom-character-in-need-of-scripting-help/#findComment-602224 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