Lightsaber Mod - Igniting the blade and sound

Started by Puz3les on

Topic category: Advanced modding

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lightsaber Mod - Igniting the blade and sound
Fri, 04/24/2020 - 11:50 (edited)

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
Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, you could set a
Tue, 09/22/2015 - 18:56

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

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Well, you could set a
Wed, 09/23/2015 - 10:22

@#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!

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:Well, you could set a
Thu, 09/24/2015 - 12:33

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

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:Well, you could set a
Fri, 09/25/2015 - 09:23

@#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 :)

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:Well, you could set a
Fri, 09/25/2015 - 16:11

@#2.1 I'm working on it. It's not quite working yet tho

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:Well, you could set a
Fri, 09/25/2015 - 16:14

@#2.1.1 That's okay. Take your time and message me back if you get any solutions :)

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:RE:Well, you could set a
Sat, 09/26/2015 - 01:02

@#2.1.1.1 Fixed it. I'm Stupid. Easy fix XD

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Sat, 09/26/2015 - 14:43

@#2.1.1.1.1 Great! :P

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Sat, 09/26/2015 - 16:48

@#2.1.1.1.1.1 Yeah. It's gonna be on right click it changes on or off. :P

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Sun, 09/27/2015 - 11:54

@#2.1.1.1.1.1.1 That'll be sweet. Let me know when it's ready :D

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Sun, 09/27/2015 - 17:20

@#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. :)

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Sun, 09/27/2015 - 18:02

@#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. :)

Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Sun, 09/27/2015 - 19:51

@#2.1.1.1.1.1.1.1.2  so many replys

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Mon, 09/28/2015 - 00:14

@#2.1.1.1.1.1.1.1.2.1 indeed