Animal ID numbers

Discussion in 'Planets & Playfields' started by Escarli, Jun 28, 2020.

  1. Escarli

    Escarli Rear Admiral

    Joined:
    Dec 13, 2019
    Messages:
    1,313
    Likes Received:
    1,330
    I'm working on populating a new starter playfield I've designed and the current version I have has a lot of animal/mob spawns from passive dino's to wandering Talon.

    When I do the command ents I notice they all use ID numbers, which makes me think about how they work. When the planet is generated are all the mobs spawned in at that time or do they simply get generated when the player enters the biome?

    Is there a danger of having too many mobs causing a lack of id numbers? If so is there a way I can check this?

    Hopefully this post makes sense to folks! :)
     
    #1
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,397
    Likes Received:
    12,004
    The biggest issue is performance. I don't think you'd run out of ID numbers anytime soon.
     
    #2
    Fenra369, Escarli and Germanicus like this.
  3. Fractalite

    Fractalite Rear Admiral

    Joined:
    Aug 10, 2016
    Messages:
    4,451
    Likes Received:
    8,946
    They only seem to spawn at a certain radius, but then once spawn they seem to persist. The trick is they only show up on the screen out to XXX amount of meters. i.e. render distance is different than their presence. They do seem to de-spawn after a certain amount of time, but I do not know how that works.
     
    #3
    Escarli likes this.
  4. Fenra369

    Fenra369 Commander

    Joined:
    Apr 5, 2016
    Messages:
    340
    Likes Received:
    139
    I have been able to spawn an extreme number of entities in a Zirax-filled planet with no issue (save performance). There doesn't appear to be an upper limit of ent ID that have been reached tbh
     
    #4
    Escarli likes this.
  5. Escarli

    Escarli Rear Admiral

    Joined:
    Dec 13, 2019
    Messages:
    1,313
    Likes Received:
    1,330
    Cool nice one cheers folks :)
     
    #5
    Germanicus likes this.

Share This Page