Add new keyboard input event ?(to make a gameplay)

Discussion in 'Plugin Development' started by nico910, Mar 16, 2011.

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

    nico910

    hi all,
    Is it possible to add easily a new keyboard input event ?
    i m making a soccer mod, and the player need minimum to shoot,passe and tackle by pressing a key with pressure time measure.
    how to implement properly a new gameplay events ?
    Thanks for your help.
     
  2. Offline

    Edward Hand

    This isn't possible without modifying the client.
     
  3. Offline

    nico910

    it's sure,
    and bukkit also apparently ? [​IMG]
     
  4. Offline

    Drakia

    It would require both Bukkit and Minecraft modifications
     
  5. Offline

    nico910

    Ok, thanks, i will try it ;)
     
  6. Offline

    NathanWolf

    I'd love to see this, if we ever get client mod support!

    Right now, "shift" is about the only keyboard button I get to play with.
     
  7. Offline

    Edward Hand

    There's always using the scroll-wheel (see my PaintingSwitch plugin). You could make it so that how fast you scroll determines how fast you kick the ball.
     
  8. Offline

    darknesschaos

    but that requires the player to have a scroll wheel.
     
  9. Offline

    Edward Hand

    You can simulate scrolling by just running your fingers along the number keys
     
Thread Status:
Not open for further replies.

Share This Page