Mob difficulty increases with distance from spawn.

Discussion in 'Archived: Plugin Requests' started by kyfwana, Jul 1, 2013.

  1. Offline

    kyfwana

    Category: Hostile Mobs.

    Suggested Names:
    MobsGetHarder


    Description: I want the health and attack strength of hostile mobs to increase the farther players go from their spawn point(s). It would be nice if the xp those mobs drop also increases in the same way.

    IMPORTANT NOTE: Creeper damage to terrain should not increase.

    Desired configuration settings:

    Name | Default Value. | Description
    ----------------------------------------------------
    1) minDistance: | 2000 | Within this distance (in blocks), mobs will have normal health,power, and xp.
    2) Cap: | 3.0 | The maximum amount mob's health, power, and xp can increase.
    3) scalingDistance: | 4000 | Controls how mob difficulty scales according to distance (in blocks)

    These three configuration variables should be configurable separately for Health, Attack, and Xp. Allowing increases to those properties to scale independently.

    ----------------------------------------------------

    Desired Commands:
    None that I can think of at the moment.

    Plugin Function:

    The following equation describes how the plugin should compute the health, attack power, and xp of each new mob that spawns.

    Mob power = 1 + (Distance From Spawn - MinDistance) / ScalingDistance
    Example: 1 + (distance from spawn=8000 - MinDistance=2000) / ScalingDistance=4000 = 2.5

    The above example equation computes to an answer of 2.5. If a hostile mob were to spawn under those conditions it's health, attack power, and xp drop will be 2.5 times the default values for those properties. Note that if this equation returns results less than 1, the mobs should spawn with their default properties. And if this equation returns results greater than the cap, which is defined in the config file, the cap should be used to select mob power rather than the result from the equation.

    I want this plugin to be compatible with essentials group manager. Note that different groups can have different spawn points. Note that in cases where there are more than one player in an area that the plugin should compute mob difficulty based on the nearby player with the closest spawn point.

    ----------------------------------------------------
    And that's it! Thank you for taking the time to read this.

    In case you're wondering what purpose this plugin would serve, I'll answer that here. 1) It will promote cooperation between players whom will be able to explore farther in groups where they would not survive on their own. 2) It will create a constant source of challenge for even experienced players. They can always try venturing farther out. 3) It will make the server world smaller in file size because players will find it harder to survive travelling way way out.

    Maybe a MOD can help with this. My thread is invisible to me when I am not logged in. Is it invisible to everyone else as well? I see no sign of a support sub-forum anywhere.

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

    timtower Administrator Administrator Moderator

    Maybe it isn't on the first page? Cause I can see it, and if you want help from an mod: Report the post, they will check it out
     
  3. Offline

    UltiFix

    This seems like a nice idea, luck to you in finding a creator.
     
  4. Offline

    UltiFix

    Did you ever find a developer?
     
  5. Offline

    Lorinthio

    If you still need it I am actually developing a whole plugin set and a piece of it does this. If you would like I can export this part of it and get it to you. (Currently it increases their health, but augmenting damage won't take long. I'm planning on making it random based on their Level, I give to them)

    The general equation for the mob if you're curious or interested is
    Level = Distance from (0, 0, 0) / 50 < ==== Level raises for every 50 blocks you leave spawn
    Health = 20 + (Level / 2) + (Level / 10)

    Then I'll make it a random number for damage based on their level such as...

    ZOMBIE
    Damage modifier = (Level / 10)
    Zombie mindamage = modifier + 3
    Zombie maxdamage = modifier + 6


    If you're interested let me know!
     
  6. Offline

    foggy34

    I think that's a good idea. All u would have to do is check the coords of the event...compare it to spawn coords and change dam. Value based on distance.
    If u don't make this I might try...
     
  7. Offline

    Lorinthio

    I already made it just showing some concept code =)
     

Share This Page