How to make railguns (Quake)

Discussion in 'Plugin Development' started by MrPotatoMuncher, Mar 26, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    MrPotatoMuncher

    How can I create a railgun like the ones used in Quakecraft on hypixel server?
     
  2. Offline

    MrInspector

    Well providing some code of what you already have would be better and we could work off there. :)
     
  3. Offline

    MrPotatoMuncher

    MrInspector Ive only just started and all I have worked in is my Main class
    Code:java
    1. public class Main extends JavaPlugin implements Listener{
    2.  
    3. private String prefix;
    4. private PluginDescriptionFile desc;
    5.  
    6. public void onEnable(){
    7.  
    8. prefix = "[Game] - ";
    9.  
    10. getLogger().info(prefix + "Game by " + desc.getAuthors() + " version v" + desc.getVersion() + " has been enabled!");
    11.  
    12. PluginManager pm = Bukkit.getServer().getPluginManager();
    13. pm.registerEvents(this, this);
    14. pm.registerEvents(new Game(), this);
    15. pm.registerEvents(new PlayerLiseners(), this);
    16.  
    17. }
    18.  
    19. public void onDisable(){
    20.  
    21. getLogger().info(prefix + "Game has been disabled!");
    22.  
    23. }
    24.  
    25. }
    26.  
     
  4. Offline

    AoH_Ruthless

    MrPotatoMuncher
    Try coding it yourself and when you get stuck come back here (Hint: Use google)

    Also, I have no idea what you are asking for and I'm not going to hypixel to find out. Mind explaining?
     
  5. Offline

    MrInspector

    It's a hypixel minigame (im really good at it unlike chaseoes :>, I don't like to brag but, 28 kills in quakecraft dont lie)

    Pretty much you right click and it shoots a firework and if it hits someone it instantly kills them.
     
  6. Offline

    Garris0n

    Loogeh likes this.
  7. Offline

    MrPotatoMuncher

    help, is there like any libs or gists?
     
  8. Offline

    Mysticate

    Codenameb said that he creates the particles by sending packets. Other than that, you should be able to create a velocity for something and check if a player is in that velocity. If so, kill'em
     
  9. Offline

    MrPotatoMuncher

  10. Offline

    Garris0n

    Do some research and learn how to make it on your own. You're essentially asking somebody to code it for you.
     
    Prorockband likes this.
  11. Offline

    Prorockband

    MrPotatoMuncher It sounds like you are asking for someone to do the coding for you, in which case i think you would be better off making a plugin request. that is what it sounds like to me and also how you haven't shown any progress towards the actual code besides the startup
     
  12. Offline

    MrPotatoMuncher

  13. Offline

    Garris0n

Thread Status:
Not open for further replies.

Share This Page