1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

30k doodad limit

Discussion in 'Patch & Reforged Discussion' started by GhostWolf, Jul 6, 2018.

  1. GhostWolf

    GhostWolf

    Joined:
    Jul 29, 2007
    Messages:
    4,840
    Resources:
    2
    Tools:
    1
    Tutorials:
    1
    Resources:
    2
    Why is there a 30k doodad limit?

    The amount of doodads is hardly relevant - the amount of visible doodads is relevant.

    In other words, density matters, not the absolute values.

    30k doodads for a 480x480 map isn't the same as a 32x32 map.

    To make things worse, in custom maps you can never know at what distance the camera will be.
    In some maps it's very close, in some maps it's very far.

    I attached two maps with the same amount of doodads, spread over the maximum density allowed in these sizes, just to prove the point.
    The small map destroys WE.
    The big map cannot have a proper density of doodads even if it wanted to.

    So what's a proper solution? there isn't any. You can't calculate the density if you don't know the camera settings, which are completely arbitrary, and putting an arbitrary maximum is meaningless.

    At the end the map maker and testers and players will know if the map runs good or not, regardless of any arbitrary limits.
     

    Attached Files:

  2. Kaijyuu

    Kaijyuu

    Joined:
    Jun 2, 2004
    Messages:
    848
    Resources:
    0
    Resources:
    0
    My understanding is that placing doodads (along with everything else that's preplaced) is done during map initialization via script, and having too many doodads can lead to the script being terminated due to a timeout.
     
  3. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,683
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    If you are talking about JASS initialization from the main function, then that doesn't happen with doodads or destructables. Furthermore you cannot create a doodad with script and there are no handle types for it.
     
  4. Kaijyuu

    Kaijyuu

    Joined:
    Jun 2, 2004
    Messages:
    848
    Resources:
    0
    Resources:
    0
    Ah, must've got it mixed up with preplaced units/regions/etc.

    Dunno why the limit exists then!
     
  5. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,657
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
    To keep up with minimum requirements maybe?

    For example, all games have a minimum spec requirement.
    Maybe they have to increase that in order to support these large maps with 100k doodads? (where they could possibly be somewhat dense?)

    It is my best guess, but not a very good one.