Units can teleport on their own.

Discussion in 'Mod Discussions' started by zx0, September 7, 2015.

  1. zx0

    zx0 Well-Known Member

    Messages:
    295
    Likes Received:
    319
    Add "mass_teleporter":{} to unit's json and ORDER_MassTeleport to unit's command_caps in json and you will see a new order in game that you can use to teleport the unit.
    aevs, ace63, wondible and 3 others like this.
  2. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    You. I like you.
  3. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    lol








    secret server API mod update coming soon
  4. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I was wondering what that was - but my leading theory was return teleport through helios which didn't make the cut.
  5. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    It's hard to say where things start and end, but these properties might be worth poking at.

    phasing_duration
    phasing_health_frac
    fixup_radius
    energy_drain
    energy_cost
    target_types

    Edit: there may be other properties that use existing names; each string is only stored once.
    Last edited: September 7, 2015
    stuart98 and zx0 like this.
  6. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Apparently it was being considered for a bot (support commander?) - base_bot has an fx_offsets for type: phasing.

    p.s. Client strings had 'unit_cap' before 'target_types', but the next section looks like it was about transports, so they might both be about that.
    dom314 and stuart98 like this.
  7. zx0

    zx0 Well-Known Member

    Messages:
    295
    Likes Received:
    319
    unit_cap is used in ai_config.json, not sure what target_types should do, it seem to only accept one instace of Unittype...

Share This Page