Israphelite Posted September 26, 2017 Author Share Posted September 26, 2017 Uh, I kinda am having trouble making a custom item. Specifically the custom torch that she can only craft. Can somebody walk me through how to make a custom torch? For instance, do I have to copy the torch files and paste it in the prefabs folder? Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958187 Share on other sites More sharing options...
Leonardo Cox Posted September 26, 2017 Share Posted September 26, 2017 using the torch prefab as a base will definitely make making a custom one easier. As for making it only for her to craft she'd need a unique tag and the recipe for that custom torch will need to specify only those with the unique tag can craft it. local require = GLOBAL.require local STRINGS = GLOBAL.STRINGS --------------------------------------------------------- --Custom Recipes local Ingredient = GLOBAL.Ingredient local torchrecipe = AddRecipe("prefabnamehere", {Ingredient("boards", 4),Ingredient("cutstone", 2)}, GLOBAL.RECIPETABS.LIGHT, GLOBAL.TECH.SCIENCE_NONE, nil, nil, nil, 1, "uniquetaghere", "images/inventoryimages/prefab.xml", "prefab.tex") Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958196 Share on other sites More sharing options...
Israphelite Posted September 26, 2017 Author Share Posted September 26, 2017 So which Torch Files should I copy, there's obviously the torch.lua, but theres ones like torchfire_common.lua, torch.zip, torchfire.lua, and other stuff. Do I copy all the ones I have listed and put them in my mod's prefabs or?.... (Gonna take a break for today, would love the info anyways though) Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958203 Share on other sites More sharing options...
Leonardo Cox Posted September 26, 2017 Share Posted September 26, 2017 just torch.lua. torchfire_common, etc. are just skin related files. Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958226 Share on other sites More sharing options...
Israphelite Posted September 27, 2017 Author Share Posted September 27, 2017 I'm back. So I copied and pasted the torch lua into prefabs, what do I do now? I dunno how to give it custom sprites or change it's recipe. Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958454 Share on other sites More sharing options...
Israphelite Posted September 27, 2017 Author Share Posted September 27, 2017 20 hours ago, DarkKingBoo said: using the torch prefab as a base will definitely make making a custom one easier. As for making it only for her to craft she'd need a unique tag and the recipe for that custom torch will need to specify only those with the unique tag can craft it. local require = GLOBAL.require local STRINGS = GLOBAL.STRINGS --------------------------------------------------------- --Custom Recipes local Ingredient = GLOBAL.Ingredient local torchrecipe = AddRecipe("prefabnamehere", {Ingredient("boards", 4),Ingredient("cutstone", 2)}, GLOBAL.RECIPETABS.LIGHT, GLOBAL.TECH.SCIENCE_NONE, nil, nil, nil, 1, "uniquetaghere", "images/inventoryimages/prefab.xml", "prefab.tex") So is this the code for just the recipe itself or is it for the recipe and having her be the only one able to craft it? Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958461 Share on other sites More sharing options...
Lumina Posted September 27, 2017 Share Posted September 27, 2017 You see the "uniquetaghere" in the recipe ? If you give a tag to your character, and put the same tag in this recipe (replace "uniquetaghere") then your character will be the only one able to craft it. Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958464 Share on other sites More sharing options...
Israphelite Posted September 27, 2017 Author Share Posted September 27, 2017 Oooooh, cool! So where do I paste this in the torch.lua files? torch.lua Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958473 Share on other sites More sharing options...
Leonardo Cox Posted September 27, 2017 Share Posted September 27, 2017 You post this recipe into the modmain.lua, not your torch. Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958515 Share on other sites More sharing options...
Israphelite Posted September 27, 2017 Author Share Posted September 27, 2017 (edited) Okay, where in the main? modmain.lua Edited September 27, 2017 by Israphelite Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958520 Share on other sites More sharing options...
Lumina Posted September 27, 2017 Share Posted September 27, 2017 Also, you are supposed to make your own torch. It should be a copy of the prefab, but with it own name. Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958523 Share on other sites More sharing options...
Israphelite Posted September 27, 2017 Author Share Posted September 27, 2017 I did, friend told me how to. Extracted the .zip and renamed the schml or whatever it is called files Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958524 Share on other sites More sharing options...
Israphelite Posted September 27, 2017 Author Share Posted September 27, 2017 Just wanna know how to make it have a custom recipe and be craftable only by Queen Metheus Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958525 Share on other sites More sharing options...
Israphelite Posted September 27, 2017 Author Share Posted September 27, 2017 Is anybody willing to code the torch for me? I can do the spriting. My friend suggested that I get somebody to code it for me. If anybody is willing I can send you the files you need and will put you in as one of the mod makers. Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958527 Share on other sites More sharing options...
Israphelite Posted September 27, 2017 Author Share Posted September 27, 2017 (edited) O-Okay, here is my Torch and Mod Main files... You may wanna take a look at them and tell me what's wrong or what I need to do... I'm worried I screwed up already... swap_torch.zip torchhopeful.scml torchhopeful.zip modmain.lua torchhopeful.lua wollax.lua wollax_none.lua Edited September 27, 2017 by Israphelite Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-958559 Share on other sites More sharing options...
Israphelite Posted October 13, 2017 Author Share Posted October 13, 2017 For Imperial. speech_wollax.lua Link to comment https://forums.kleientertainment.com/forums/topic/82348-trying-to-make-a-character-mod-need-help/page/2/#findComment-963491 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