Lightsaber Mod - Igniting the blade and sound

Started by Puz3les on Tue, 09/22/2015 - 10:51

Topic category: Advanced modding

Last seen on 02:10, 24. Oct 2015
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Lightsaber Mod - Igniting the blade and sound
Tue, 09/22/2015 - 10:51

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

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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. :)

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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. :)

Last seen on 17:50, 13. Jul 2019
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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

Last seen on 02:10, 24. Oct 2015
Joined Aug 2015
User points:

Statistics:

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

@#2.1.1.1.1.1.1.1.2 Okay that's cool man! Sound is still off the table, I can't figure out a way to do it just yet. This assignment isn't due until Thursday anyway so we've got time :D 

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Mon, 09/28/2015 - 11:59

@#2.1.1.1.1.1.1.1.2.2 Assignment??? Am I condoning cheating??? XD and it's not working... Hmm.... Need to think of n alternative...

Last seen on 02:10, 24. Oct 2015
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Mon, 09/28/2015 - 12:07

@#2.1.1.1.1.1.1.1.2.2.1 Hahaha assignment of the mind :P if it doesn't work, that's okay :)

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Mon, 09/28/2015 - 16:39

@#2.1.1.1.1.1.1.1.2.2.1.1 Why would an assignment you gave yourself be due at a certain time? XD

Last seen on 02:10, 24. Oct 2015
Joined Aug 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Tue, 09/29/2015 - 02:26

@#2.1.1.1.1.1.1.1.2.2.1.1.1 ¯\_(ツ)_/¯ hahaha we are allowed some help if we can't do certain stuff, and this ignite function has been pretty annoying so far. I've managed to bind a 'consume item inventory' and a 'place item in inventory' and theoretically that could work... but it doesn't because it places the item in your second inventory slot (rather than the one in your hand) and furthermore, the durability of the item would re-set constantly and you'd have an infinite lightsaber :/

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:RE:Well, you could set a
Sun, 10/11/2015 - 22:56

@#2.1.1.1.1.1.1.1.2.2.1.1.1.1 That's what's giving me trouble. The durability would be infinite and it won't switch from off to on, only on to off.