Jump to content

Recommended Posts

You would put this in your characters lua file to make it immune to  freezing 

if inst.components.freezable theninst:RemoveComponent("freezable")end 

In the characters lua file you would add this:

inst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED

3. You would use FMOD Designer from the modtools. Try this guide as an example or something to go along with

 

http://forums.kleientertainment.com/topic/27803-tutorial-adding-custom-sound-to-your-custom-character/

Edited by bigpak

I have questions to help me make my character mod.

1. How do I make the character invincible to cold?

2. How do I make the character faster?

3. How do I make custom sounds for the character?

 

1. The way the wearbever works is it sets the min temp to 10:

inst.components.temperature.mintemp = 10

2. Just change the locomotors run speed:

inst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED * 2

3. Sorry, I don't know the answer

Yep, it makes the code look a lot cleaner, that is the way I have always done it. I see most people do the same. I am not 100% sure if it is required to have a space before and after, but I just use it as it makes it look a lot cleaner and easier to read.

Edited by bigpak

Yes, you would type

 

inst.components.locomotor.runspeed = TUNING.WILSON * 2

 

Alternatively, you could copy and paste the code I provided above.

 

 

If I knew half the stuff I knew now when I started, I would have had such an easier time.

Edited by bigpak

Yes, he will run just as fast if you do not edit it or multiply it. let me look into the freezing. How fast do you want him to run? how many times as fast rather. To get him to run twice as fast as wilson, you would do

inst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED * 2 
Edited by bigpak

Can you please upload your mod so I can take a look at it? Please upload it to filedropper.com or mediafire or some file sharing site.

 

EDIT: Make sure to zip it up!

 

if you can upload it, I can take a look and pretty much fix any errors hopefully, and go ahead and add some lines to show you what each thing does.

 

hello?

Edited by bigpak

Here's the download link!

http://www.mediafire.com/download/4jyp36om55pr6cq/TheWalrusMann.zip

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Also, I know the art in the mod is bad. I made it using a laptop without a mouse and I don't have anybody to do the art better.

Edited by WalrusMan

Alright, So I found the issue

 

You typed in 

inst.components.locomotor. = TUNING.WILSO_RUN_SPEED * 2

when its supposed to be

inst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED * 2

Let me test it out and see if I got it working, and I'll take a look into the freezing aswell.

 

P.S. The art is 10x better than mine, now I'm jealous :c

 

EDIT: Ok, I got the runspeed working, let me work on the freezing now.

 

EDIT2:  I think I got freezing to work, let me test in RoG and see if it changes anything there, just to be

safe.

 

 

 

EDIT3: Freezing is now fixed, let me comment some stuff so you can learn, this is how I learned was from others helping me and teaching me what each thing did, note: still learning.

 

Alright, the fixed zip is attatched to this post, loved the art, post if you have any more questions, Good luck!

WalrusMann fixed.zip

Edited by bigpak

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...