Dear Uber: HALP

Discussion in 'Planetary Annihilation General Discussion' started by stuart98, October 25, 2014.

  1. zweistein000

    zweistein000 Post Master General

    Messages:
    1,362
    Likes Received:
    727
    Did you double check your jsons to see if there isn't an error in any file links?
  2. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    Found the issue. Working out why it is happening then how to fix it.
  3. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,356
    @stuart98 you (we) can start (continue) loving Sorian. :p
    Remy561 likes this.
  4. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    THANK YOU
  5. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,356
    I almost feel like alerting nanolathe. ;)
    websterx01 likes this.
  6. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    Did you guys change the commander weapon? What changed?
  7. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
  8. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    Ok, so you made a ballistic missile that ignores gravity. Yeah, don't think that works.

    Here is the theory:
    Basically, while trying to find a firing arc the test phase is getting stuck in an infinite loop because the projectile never hits the planes (not the air unit, but a geometric plane) that let it know it either fell short or went too far.

    The fix here is too add code to prevent you from creating a broken projectile like that.

    Also, adding:

    Code:
      "physics": {
        "add_to_spatial_db": false,
        "gravity_scalar": 5,
        "ignore_gravity": false,
        "push_class": 1,
        "radius": 1
      },
    
    to base_commander_ammo_missile.json (or anywhere above base_missile.json in the dependency chain) will fix it.
    Col_Jessep, elodea, ooshr32 and 5 others like this.
  9. Sorian

    Sorian Official PA

    Messages:
    998
    Likes Received:
    3,844
    rocket_defense_ammo.json has the same problem, just so you know.

    I added code locally to detect this and the above ammo file popped up. Better than an infinite loop.
  10. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Already fixed both.
    squishypon3 and Remy561 like this.

Share This Page