Shoot Arrow Event Problems

Started by DutchTristan on Mon, 03/06/2017 - 19:10

Topic category: Help with MCreator modding

Last seen on 18:24, 18. Aug 2019
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Shoot Arrow Event Problems
Mon, 03/06/2017 - 19:10

Hey everyone!!!

 

I have a little problem with the Shoot Arrow Event... I am trying to make a Harry Potter Mod using commands to do the spells. I have Avada Kadavra (The killing curse), And I try to Shoot an arrow with power 100. I just have the problem that when it shoots the arrow, after it shoots like 1 block, and then it disapears. If you know how to fix this problem, please react to this topic. If you know a better alternative to the Avada Kadavra curse than an arrow, Also please let me know... I'd love to know.

 

Thanks alot!!!

Last seen on 23:21, 14. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
This is so coincidental! I
Tue, 03/07/2017 - 00:26

This is so coincidental! I also am working on Harry Potter mod.  As for the Arrow problem I am not too sure since my projectiles are all custom coded.  But, it could be lag, try to look in gun code for how it shoots the arrow.  Also, try reducing the number and see if it works.  If not it could be a bug. 

Last seen on 14:35, 27. Jun 2019
Joined Dec 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
The reason the arrow
Tue, 03/07/2017 - 00:45

The reason the arrow "disapears" is because it is going forward at power 100. The power level also controls how far and fast it goes. For example, power 0.5 would pretty much fall down 2 blocks in front of you, while power 100 is gone the moment you shoot it.

Last seen on 18:24, 18. Aug 2019
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:The reason the arrow
Tue, 03/07/2017 - 08:05

@#2 So what do I do?? How do I make sure that the arrow does so much damage that it's a instant kill, and flies far enough?

Last seen on 14:35, 27. Jun 2019
Joined Dec 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:The reason the arrow
Tue, 03/07/2017 - 20:49

@#2.1 Without codeing you could make a gun element and change the bullet damage to be very high. Rather then using summon arrow event. That way you could have custom models and even animated textures for your spells.

Last seen on 18:24, 18. Aug 2019
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:RE:The reason the arrow
Wed, 03/08/2017 - 14:28

@#2.1.1 But then I would need ammo, right?

 

Last seen on 14:35, 27. Jun 2019
Joined Dec 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:RE:RE:The reason the arrow
Wed, 03/08/2017 - 22:04

@#2.1.1.1 simple set the wand durability to 0 in code editor. Then in the elemant editor set the ammo to the gun itself. Than back in the code editor delete the method that removes the ammo (in this case the gun) from your inventory

Last seen on 18:24, 18. Aug 2019
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:RE:RE:RE:The reason the arrow
Sun, 03/12/2017 - 08:50

@#2.1.1.1.1 uh... How?? I'm really bad at coding...