Started by
Puz3les
on
Topic category: Advanced modding
Hey all, I've been working on a lightsaber mod in MCreator, hoping to add Kylo Ren's crossguards into the game. I've managed to import all the textures correctly (I have a hilt texture, then one for the main blade, then eveything together with the crossguards) but I need some help. How would I go about modding the 'ignite' feature, where the player presses a button and the blade ignites? Also, if it's possible, could I add a lightsaber noise over this?
Thanks :)
Edited by Puz3les on Fri, 04/24/2020 - 11:50
Well, you could set a variable for each kind of lightsaber to say it's off. You'd need two items for each, the unignited hilt and the ignited version. Then you can set a keybind to say if you have this unignited hilt and you press this button, take that item and give them an ignited one. Then another keybind to say if they have the ignited version, take it and give them the unignited hilt. You can go back and forth. :)
@#1 Really appreciate your comment man. I don't have any experience in coding and whatnot, so would you know how to do this?
Thanks!
Yeah, I know exactly how to do it. :) It takes a while and it's hard to explain. Do you have the textures already? I could make a random-texture version of what I'm thinking, upload the mcr to my profile as a mod, you could download it and change the textures. I'm not quite sure how to do the sound. You'd probably have to record it, go find the sounds in your MCreator158 (what I'll be using) folder and put it in there. Then when you type in the sound you should be able to put that in for the sound ID, but I don't know how to navigate the MCreator folder very well. Look that part up on youtube. Otherwise, I'll start making that mcr file and you can download it. :D
@#2 That's awesome! You're really helping a buddy out with his assignment :P
I have the sound files already, but the sound ID in Mcreator is kinda funky and it will only let me select from presets already in the vanilla game :/
Kylo Ren's lightsaber ignite is kinda tricky. I have seperate files so the first blade pops up, and a seperate for the crossguards after. I'm trying to replicate it in the trailer, but if I can get just a standard lightsaber to work, we can go from there :)
@#2.1 I'm working on it. It's not quite working yet tho
@#2.1.1 That's okay. Take your time and message me back if you get any solutions :)
@#2.1.1.1 Fixed it. I'm Stupid. Easy fix XD
@#2.1.1.1.1 Great! :P
@#2.1.1.1.1.1 Yeah. It's gonna be on right click it changes on or off. :P
@#2.1.1.1.1.1.1 That'll be sweet. Let me know when it's ready :D
@#2.1.1.1.1.1.1.1 Well, I need to find a bug. It's not letting me right click to switch back from on to off. That might have to be a keybind. But off to on is right-click. :)
@#2.1.1.1.1.1.1.1 Okay, setting it so you turn it on with right click but off is a keybind, that's the only way it'll work. Also, each saber (I'm just making 4 right now, let me know if you want more colors: blue, green, purple, and red) requires an empty hilt, so you may need art for that too. It also requires two of its corresponding color crystals, which are a diamond with a resource of the color around it. Blue is a diamond with 4 lapis (one in the middle of each side), green is slimeballs, purple is enderpearls, and red is redstone. You can always change this later though. :)
@#2.1.1.1.1.1.1.1.2 so many replys
@#2.1.1.1.1.1.1.1.2.1 indeed