Random Giant (but I'd prefer a mentor!)

Discussion in 'Archived: Plugin Requests' started by sli, Mar 7, 2011.

  1. Offline

    sli

    I'd like a plugin that spawns a giant, randomly, near a player that's on the surface. Only one giant in the world at a time by default, but making that configurable would be awesome. Configurable spawn intervals would be a nice option, too.

    Like the title says, I'd much prefer someone mentor me in building plugins, than to just have someone build the plugin. I'm a long time programmer, but not Java. It's not completely foreign to me, however, so there shouldn't be any need to teach a lot of Java. Just pointers on quirks.
     
  2. Offline

    Afforess

    First off, wrong forum. This should be in Plugin Development, not Plugin Requests.

    Lots of unanswered questions:

    How do you know when to spawn a giant?
    Where exactly should it be spawned? Near is not specific enough. 5 blocks? 10? 100?
    When does it respawn? Death?

    Java's not that hard to learn if you're familiar with C/C++. Java's basically C++ without the cool features of C, and slower, but with better built in libraries, and built in VM.
     
  3. Offline

    sli

    Well, the first half is the plugin request. I just added an alternate, secondary request.

    My initial idea is to basically check for players on the surface every X minutes, pick one at random, and spawn a giant near them. Somewhere close enough to create some peril. 10-15 blocks ought to work fine, but I prefer configurable numbers. I'd like to have only one giant in the world at a time so it doesn't get overrun with giants. So basically, in configuration form:

    Code:
    player-check-delay=1200
    number-of-giants=1
    min-distance=10
    max-distance=15
     

Share This Page