Jump to content

Recommended Posts

Hello everyone. I'm doing a custom character of my Irken persona, http://roxypaw.deviantart.com/art/Irkensona-Clothes-Reference-505905349

I'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!

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 by QuickShot010

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

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!

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!

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  :livid:

I'll do my best! Thank you so much for the kindness you're giving me! :love_heart:

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.

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. :p (Weak on hit and what not.)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...