Animal ID numbers

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

  1. Escarli

    Escarli Lieutenant

    Joined:
    Dec 13, 2019
    Messages:
    55
    Likes Received:
    56
    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,471
    Likes Received:
    13,567
    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:
    5,376
    Likes Received:
    11,024
    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:
    330
    Likes Received:
    164
    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 Lieutenant

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

Share This Page