[INACTIVE][FUN/MISC] ZombieSurvival v1.0 - Zombie Survival game mode [860]

Discussion in 'Inactive/Unsupported Plugins' started by samp20, Jun 17, 2011.

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

    samp20

    This version is inactive. It it however being continued by Graindcafe --> here <--

    ZombieSurvival - Kill as many waves as possible.

    I'm mainly creating this thread to see if there's any interest/demand for such a thing.
    Also this plugin doesn't play nicely with normal gameplay, however shouldn't be a problem with simpler plugins. This plugin is designed to change a server into zombie survival only mode.

    Creating a level is rather tricky so I'll go over all the commands now:
    /level commands:
    These are for managing levels.
    • /level new <name> creates a new level, but doesn't save it.
    • /level save saves the current level. The level will also autosave when a new game starts or another level is loaded.
    • /level load <name> attempts to load the particular level.
    • /level list lists all saved levels.
    /zspawn commands:
    These are for managing zombie spawns
    • /zspawn set <name> sets a zombie spawn at your current location.
    • /zspawn remove <name> removes the appropriate zombie spawn.
    • /zspawn jump <name> teleports you to that zombie spawn.
    /ispawn commands:
    These are for setting your initial spawn. You are teleported to it when a new game starts, or you are "dead" and a new wave starts
    • /ispawn sets the initial spawn to your current location.
    • /ispawn jump teleports you to the initial spawn.
    /dspawn commands:
    These are for setting the death spawn, you are teleported here when you die. The idea is to make a room which overlooks the map so that dead players cannot interfere with the game in progress. The simplest death spawn would be a glass roof above the entire map.
    • /dspawn sets the death spawn to your current location.
    • /dspawn jump teleports you to the death spawn.
    /zombiemode command:
    This command enables/disables the zombie survival mode. To enable it a level must be loaded.
    /zombiemode enable enables the mode, and /zombiemode disable disables it.

    How the zombie survival mode functions:
    When the mode is enabled the first wave of the current level is scheduled to start. This gives players time to prepare. The zombies them spawn randomly from any of the defined spawn points until all have been spawned. There is a maximum cap set for the number of spawned zombies at any one time, which increases every few waves, along with the zombies' health and total spawned.
    If at least one player is still alive after that wave then the next wave starts. Any "dead" players are respawned so they can rejoin the action, however they will have lost some points.
    If all players die before the end of the wave then the current game ends and the wave reached is shown.

    If there is more than one map on the server then a map vote starts which will pick 2 random maps to play. Typing /vote 1 will vote for the first map and /vote 2 will vote for the second. At the end of the vote the chosen map is loaded and the game starts after a delay.
    If only one map exists then that map will start automatically.

    The reason I'm showing this in possibly a premature stage is I'm after ideas for improvements, and possibly someone to host a test server where we can test with more than one player (please contact before you do). I will mention again that this plugin isn't designed to play nicely with the normal gameplay since it changes the server into a zombie survival only mode. Think of it as a modded server.

    Download
    Source

    Current improvement ideas:
    • zombie only doors to help with nicer/safer spawns(so they can't spawn at your location).
    • invisible walls to allow zombies to walk in from outside the map without them wandering off(i.e. falling from a 2 block high map boundary).
    • a use for money, e.g. buying items and unlocking areas
    • iconomy support?
    • permissions support?
    Changelog:
    Version 1.0:
    • Initial release
     
  2. Offline

    Baummann

    I know it's being moved but: Missing version, Description and CraftBukkit version in the title.
     
  3. Offline

    jtlcr777

    You mentioned this doesn't work well with other plugins...but maybe you can make it work well with Zombieattack? Its a plugin that lets zombies break blocks, which would go great with this plugin.
     
  4. Offline

    samp20

    I'm not too sure about breaking blocks but maybe breakable doors? Well not actually breakable, but start off with a complete door which has 100% durability, then when it gets to 0% remove the top half of the door and allow zombies to pass through it. To check the durability punch it, and to repair it right click and hold.
     
  5. Offline

    Specops343

    Have you figured out how to get a monster to go after location? Or does this plugin have them go after the living entity?
     
  6. Offline

    NinjaWAffles

    Hey, I love this. Me and my friend just got done playing in a small arena and it was great, but is it possible to make the money your earn go towards iConomy, so I could host this on a server and have kind of a Nazi Zombies thing, where players could by weapons and health. Just an idea. Thank you! :D
     
  7. Offline

    samp20

    Do you mean with pathfinding so they activley hunt you down, following the quickest route? I am considering whether it would be feasable to implement something called the A* algorithm, although might need some optimisation since the maps can be rather large.
    If you do mean go after a location can you explain the use of that please? ;)

    Yea sure, I don't think iConomy should be too difficult to implement. Is there such a plugin that lets you buy items just from signs or would you like that included too? (That reminds me also that each new game should probably reset your inventory)

    I'll have to delay these updates for a while since I'm currently finishing exams, althouh after that I'll do my best to get these things added:D
     
  8. Offline

    NinjaWAffles

    ---

    Just the simple iConomy implement would be great. Is it possible to make it where you can open Doors, that would be easy for me to build in a map, but the tricky part is, Zombies wouldn't spawn in that area until the door is bought. Just another thought. The iConomy Support would be great. Thanks.

    Edit: I have implemented my own Shop on my server, all I need is iConomy Support and this will be insane.
     
  9. Offline

    dak393

    Wow this is very impressive, nice work on it. I think I'll d/l this and make my own zombie world :D
     
  10. Offline

    Specops343

    Yes, path-finding. One of my colleagues here is trying to figure out path-finding for a somewhat similar idea in a much larger plugin, but is stuck on this, as he has only been able to get them to go after living entities.
     
  11. Offline

    br0ad456

    if this had multi world support so you could just have a zombie survival world, that would be great i would would defiantly use this!
     
  12. Offline

    samp20

    I've never thought about using multiworld before, but now you mention it, it makes a lot of sense to use it. I'm guessing your idea is to have zombie survival in one world, and normal gameplay in another. I'll add that to my todo list :D
     
  13. Offline

    br0ad456

    definatly do it, im try to set a server up like this and haveing this with multi world support would be brillent
     
  14. Offline

    samp20

    I'm just wondering, does anybody find all the commands too much to remember? I'm thinking it might be worth having a toggled edit mode and spawns etc would be created by placing blocks. Upon leaving edit mode those placed blocks will revert back to whatever was there originally, and the level will auto save, removing the need for /level save.

    default scheme could be something like:
    green wool for initial spawn​
    red wool for death spawn​
    brown wool for zombie spawn​

    Obviously there would be a config so if you were making a zombie infested bouncy castle you would be able to use contrasting blocks(maybe gold, diamond etc). Tell me what you think and if it should be included at a later date?
     
  15. Offline

    sephiroth7240


    you think this is alot to remember???. world edit..... commandbook?
     
  16. Offline

    Legolas75893

    Might add. Looks good.
     
  17. Offline

    ChrizC

  18. Offline

    tha d0ctor

    anyone have any videos or pics showing this in action?
     
  19. Offline

    NinjaWAffles

    This is a short video I made. Its not the best quality, not sure why, Youtube screwed it up, but it shows 2 waves (lol), Here's the video:

     
  20. Offline

    samp20

    Cool arena:D. by the looks of things waves seem to start off too difficult. I think the map size probably plays a big part in the difficulty, which means you would need configurable difficulties per map.

    I'm currently restructuring the code atm into two parts( two plugins actually). One plugin will manage leaving/joining of games, as well as supporting multiple games at once, and choosing which game modes you want per game as well as the levels for those game modes.

    E.g. You could create a GroundWar game which might consist of capture the flag, deathmatch, and domination game modes with appropriate levels, then have a separate Zombies game which could consist of the ZombieSurvival game mode and appropriate levels. Then players could simply type /join Zombies or /join GroundWar to join the appropriate game. To leave a game simply type /leave. I'm going to enable this with permissions too so if you wish you can deny the /join /leave commands and set a default game changing the server into a <insert game here> server.

    The other plugin is the game mode itself, in this case it's a Zombie Survival game mode, although I'll publish a tutorial on how to make your own games and link them with the game manager:D
     
  21. Offline

    CPactum

    When I try and start the game the zombies just flash up for just a moment then disappear. I have no additional plugins and I have set 4 spawns, the spawn area, death spawn, ect. any help? :\
     
  22. Offline

    samp20

    Is your server on peaceful mode? Open server.properties in notepad, then make sure spawn-monsters=true


    One other thing you ought to know (forgot to put it in plugin details) is that all mobs except those spawned by the plugin are automatically despawned.

    If that doesn't fix it feel free to ask again;)
     
    bartsmit41 likes this.
  23. Offline

    CPactum

    It is not on peaceful (that was my first thought), and the spawn is just on stone because I thought i remember some where that mobs can't spawn on glass.

    Does this have anything to do with it?

    Code:
    08:56:22 [SEVERE] Nag author: '<NoAuthorGiven>' of 'ZombieSurvival' about the f
    llowing: onPlayerJoin has been replaced with a new signature, (PlayerJoinEvent)
    Could it be that it is too light? Nvm tried that didn't work :\
     
  24. Offline

    samp20

    It's not related to that since I get the same error too (Still not sure why) and yet the rest works fine. Could you tell me what version of bukkit you're using?

    EDIT: that error was because I need to use onPlayerJoin instead of onPlayerLogin, will fix in next update(which may be a while)
     
  25. Offline

    CPactum

    I just downloaded it last night so 860. I'll try starting a new server.


    New server didn't fix it so idk
     
  26. Offline

    samp20

    Try running the server with absolutely no plugins, and check mobs spawn during the night, then install the plugin, and if they still fail to spawn from the spawnpoints then we can rule out issues with server config.
     
  27. Offline

    CPactum

    I misspelled true in the config :D whoops

    But thanks alot for your help and I'm sorry for wasting your time :\
     
  28. Offline

    morari

    This is really cool! A small group of players have been having a blast with this plugin. I really hope you continue to develop it. :)


    That said, it is a little hard to incorporate into a regular play session. Would you ever consider making a "Lite Version" of the plugin? Perhaps it could do only the following:

    -Zombies spawn at night as normal.
    -Zombies replace all other hostile mob spawns (skeleton, creeper, spider).
    -Zombies spawn at 2x the normal rate.
    -Zombies can eventually break down wooden doors?
    -Maybe use the player-skinned "monster" mob as a fast-type zombie?
     
  29. Offline

    samp20

    I probably won't make a lite version, however I am currently changing the code so that players can /join and /leave games as they wish, allowing for regular gameplay to continue as normal.
     
  30. Offline

    NinjaWAffles

    If you decide to release another version, I would love to make a Video of it. Thanks for this great plugin..

    Also, Could you make it like in Nazi Zombies, in Waves 5,10,15,20,etc... Like Skeletons spawn as the "Bonus" round.
     
Thread Status:
Not open for further replies.

Share This Page