WalrusMan Posted February 9, 2015 Share Posted February 9, 2015 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? Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/ Share on other sites More sharing options...
bigpak Posted February 10, 2015 Share Posted February 10, 2015 (edited) 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_SPEED3. 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 February 10, 2015 by bigpak Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611524 Share on other sites More sharing options...
boardman94 Posted February 10, 2015 Share Posted February 10, 2015 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 = 102. Just change the locomotors run speed:inst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED * 23. Sorry, I don't know the answer Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611525 Share on other sites More sharing options...
bigpak Posted February 10, 2015 Share Posted February 10, 2015 If you have any more questions, you can try posting in this topic and I might be able to help. I'm fairly new to modding and do not know everything myself yet, quite far from it. Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611526 Share on other sites More sharing options...
WalrusMan Posted February 10, 2015 Author Share Posted February 10, 2015 2. Just change the locomotors run speed:inst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED * 2Is there a space before and after the =? Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611527 Share on other sites More sharing options...
bigpak Posted February 10, 2015 Share Posted February 10, 2015 (edited) 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 February 10, 2015 by bigpak Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611529 Share on other sites More sharing options...
WalrusMan Posted February 10, 2015 Author Share Posted February 10, 2015 Yep, it makes the code look a lot cleanerSo, I need to type a space in the code? :/ Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611530 Share on other sites More sharing options...
bigpak Posted February 10, 2015 Share Posted February 10, 2015 (edited) 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 February 10, 2015 by bigpak Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611532 Share on other sites More sharing options...
boardman94 Posted February 10, 2015 Share Posted February 10, 2015 @WalrusMan, I am not 100% sure if it is required to have a space before and after Space or no space the code will run. Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611554 Share on other sites More sharing options...
WalrusMan Posted February 11, 2015 Author Share Posted February 11, 2015 So, I tried those codes and he still runs as fast as wilson and froze to death... Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611864 Share on other sites More sharing options...
bigpak Posted February 11, 2015 Share Posted February 11, 2015 (edited) 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 doinst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED * 2 Edited February 11, 2015 by bigpak Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611894 Share on other sites More sharing options...
WalrusMan Posted February 11, 2015 Author Share Posted February 11, 2015 I typed in the prefabs:inst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED * 2And he still barely outran a deerclops. Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611898 Share on other sites More sharing options...
bigpak Posted February 11, 2015 Share Posted February 11, 2015 (edited) 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 February 11, 2015 by bigpak Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-611902 Share on other sites More sharing options...
WalrusMan Posted February 11, 2015 Author Share Posted February 11, 2015 (edited) 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 February 11, 2015 by WalrusMan Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612105 Share on other sites More sharing options...
bigpak Posted February 11, 2015 Share Posted February 11, 2015 Hah, I'll take a look at it in a minute or two and see whats up, also, im laughing as I have a feeling the art will be better than mine, even if you did it with a laptop trackpad. Mine looks like it did when I was in 1st grade. *sigh* Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612108 Share on other sites More sharing options...
bigpak Posted February 11, 2015 Share Posted February 11, 2015 (edited) Alright, So I found the issue You typed in inst.components.locomotor. = TUNING.WILSO_RUN_SPEED * 2when its supposed to beinst.components.locomotor.runspeed = TUNING.WILSON_RUN_SPEED * 2Let 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 besafe. 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 February 11, 2015 by bigpak Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612111 Share on other sites More sharing options...
WalrusMan Posted February 11, 2015 Author Share Posted February 11, 2015 Thank you! I will see if it works for myself and get back to you. Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612120 Share on other sites More sharing options...
bigpak Posted February 11, 2015 Share Posted February 11, 2015 No problem, I am excited to see if I fixed it or not and see if I was of any help. First time I've really been able to actually HELP anyone. Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612122 Share on other sites More sharing options...
WalrusMan Posted February 11, 2015 Author Share Posted February 11, 2015 It didn't work... He still FROZE TO DEATH!But, I have an idea. I will just download a mod that can't freeze and dive into the files of that to see what I can find. Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612153 Share on other sites More sharing options...
bigpak Posted February 11, 2015 Share Posted February 11, 2015 (edited) Er, when I tested it he did not freeze. Are you sure you replaced the files with mine? specifically, the prefab file for the character. Edited February 11, 2015 by bigpak Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612154 Share on other sites More sharing options...
WalrusMan Posted February 11, 2015 Author Share Posted February 11, 2015 Yesss.....He takes a while to start freezing but he freezes. Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612161 Share on other sites More sharing options...
WalrusMan Posted February 11, 2015 Author Share Posted February 11, 2015 Hm.. Okay, it SHOULD work now Link to comment https://forums.kleientertainment.com/forums/topic/50785-i-need-some-mod-help/#findComment-612167 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