Filled Arrow View (Closed)

Discussion in 'Archived: Plugin Requests' started by PureGermanity, Jun 8, 2014.

?

Can you make this plugin for me?

  1. I am making this plugin for you!

    100.0%
  2. I am working on this plugin for you!

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. Offline

    PureGermanity

    Dear very kind plugin makers,

    Plugin category: Mechanics

    Suggested name: ArrowView

    What I would like: I would like to have a plugin that "tracks" an arrow in 3rd person view, as if you were looking at yourself in f3 or 3rd person view. This should be possible, by holding shift while the arrow is in the air, or as you are pulling back the bow and then let go, it should immediately track the arrow, by just holding the shift key.

    As soon as the player let's go of the shift key he should just go back to the view he was in, whether it was 3rd or 1st person view. The view should stop, and go back to the previous one the player was in, 1 second after the arrow has hit the ground.

    If anything is not clear, then please inform me!

    Ideas for commands: None needed!

    Ideas for permissions: arrow.view

    When I'd like it by: ASAP

    Thanks in the future! :D
     
  2. Offline

    Alster551

    I dont think this is possible, even if it is it would be very glitchy.
     
    timtower likes this.
  3. Offline

    Mirkwood-elf

    I am not a programmer, but SOMEBODY, make this plugin!

    it would be awesome just like the way you view kill shots in Skyrim!
     
  4. Offline

    PureGermanity


    It only works as a mod now I guess, in single player!
     
  5. Offline

    unrealdesign

    It would be possible. You would have to get the vector for the arrow; so the force of the fling, the pitch, and the yaw. After that you could calculate the positions the arrow would go through. From there you would find the location the arrow would be at every tick and tp the players view to that location every tick. It would be somewhat glitchy, but honestly not to bad. The only problem would be you would be TPing a player through the air the whole time, so even if you made him invisible for this period, after he shot he would be invisible for as long as the arrow was in the air and then tp'd back to his original location.
     
  6. Offline

    PureGermanity

    I would not have a problem with that, it would just be cool
     
  7. Offline

    unrealdesign

    But if the players were sniping, even if they were about to hit a player, if a player shoots an arrow, they would be invincible because they would vanish while the arrow was in the air.
     
  8. Offline

    Deleted user

    unrealdesign
    You could have the player ride the arrow

    EDIT:
    What about this.

    Allow the player to fly, and set them to flying.

    Every tick, push the arrow's location into a queue and tp the player to the location that's popped.

    The player won't fall, and he'll be following the path of the arrow
     
  9. Offline

    PureGermanity

    I see your point, not trying to say it is wrong, but it would be a cool experience, for I guess any player!
     
  10. Offline

    unrealdesign

    Ahh yes I forgot about this feature. I haven't really coded much in bukkit since mid beta so I don't remember all the new fancy things you can do. But it would still make the player invisible and invincible while he is shooting his arrow, so if you're shooting each other, it'd be pointless.

    Edit: What I can try is, put a NPC where the player shot it and set it's name and skin to whoever shot the arrow. Then if they get hit, do that damage to the player once his arrow has landed.
     
  11. Offline

    PureGermanity

    Well that sounds even more cool man, thanks for the suggestion!
     
  12. Offline

    Deleted user

    PureGermanity
    I'll give it a shot and let you know how it goes
     
  13. Offline

    PureGermanity

    Well, I could also use the plugin for just shooting mobs, not only players
     
  14. Offline

    Mirkwood-elf

    yes, PureGermanity, I think it would be nice when my kingdom goes to war, and I want to remember those special moments...

    This would be a great plugin for many!
     
  15. Offline

    PureGermanity

    :D I hope Gandalf helps :D

    And zombiekiller753 could you please make sure the version is 1.7.2-R0.3???
     
  16. Offline

    Deleted user

    PureGermanity

    It should be version-independent (works on all versions)
     
  17. Offline

    Mirkwood-elf


    Exactly. I have upgraded to 1.7.9, and wouldn't want to miss out on all the fun!
     
    PureGermanity likes this.
  18. Offline

    Deleted user

    PureGermanity

    Works pretty good so far :D

    PureGermanity
    Added toggle

    PureGermanity
    Yep. Submitted to BDO as well. I'll post a link soon

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 9, 2022
  19. Offline

    unrealdesign

  20. Offline

    PureGermanity

  21. Offline

    Deleted user

    unrealdesign
    It doesn't work too well. Holding sneak immediately ejects you. If you do manage to unpress it on time, you get shot by yourself?
    EDIT:
    Also, it's showPlayer, not canSee
    + not version independent :p
     
  22. Offline

    PureGermanity

    Okay I'll test it anyway, Thanks! :D


    unrealdesign I get an error log, once I shot my arrow, and also I agree to what zombiekiller753 said! Hope you fix it, and once again,

    Thanks in the future! :D

    [22:58:34 WARN]: [ArrowView] Task #2 for ArrowView v1.0 generated an exception
    java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_7_R3/entity/CraftArrow
    at org.fragzone.bukkit.arrowview.java.ArrowListener$1.run(ArrowListener.java:106) ~[?:?]
    at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:587) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_7_R3.entity.CraftArrow
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_05]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_05]
    ... 8 more

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
  23. Offline

    timtower Administrator Administrator Moderator

    PureGermanity Lol, it is version dependent.
    Code:
    [FONT=Menlo][SIZE=11px]Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_7_R3.entity.CraftArrow
    [/SIZE][/FONT]
     
  24. Offline

    PureGermanity


    unrealdesign might you be able to tell me which one? Or can you timtower?

    zombiekiller753 have you uploaded yours yet?
     
  25. Offline

    timtower Administrator Administrator Moderator

  26. Offline

    PureGermanity

    Ok, timtower should I just update the server and my Minecraft?

    EDIT:Ok I will check in the new version if it works properly...
     
  27. Offline

    timtower Administrator Administrator Moderator

    Option 1, or wait till the dev responds
     
  28. Offline

    Deleted user

    PureGermanity
    I'm working on pitch and yaw, but it's frustrating.
    The overall idea is done though. Just the fine-tuning now to make it server-compatible and not test-server-styled plugin
     
  29. Offline

    PureGermanity

    Ok, so now I tested the plugin on 1.7.9-R0.2 , and it works, but I would need it for 1.7.2-R0.3, and also might it be possible for the player to turn invisible for the time he is flying?


    Ok, thanks anyway once again :D

    EDIT: Might you be able to post the link for the plugin? Just so I can see when it is officially available?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 8, 2016
  30. Offline

    unrealdesign

    Yeah I never said mine would be version independent haha. I just did it real fast like I normally do. I'll take time before I work in a like 20 minutes to fix it.

    It's version 1.7.9 I think. That's what I was using to test it and it worked.


    So yeah, I can finish it later tonight if his isn't done. As for it it taking you off when you hold shift for to long might not be fixable, but I can try.
     

Share This Page