Where is teleporter ability info stored?

Discussion in 'Mod Discussions' started by stuart98, June 11, 2014.

  1. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    So far I've only found the following relating to the teleporter ability:
    "useable": {
    "range": 30,
    "type": "teleporter"
    }
    }

    Is that it? Where is all of the other data stored?
  2. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I see a teleporter object with the energy_demand, and empty teleportable objects on commanders, bots, and vehicles.

    I wouldn't be surprised if a lot of stuff was special cased. The ramp and portal information might be in the model bones.
  3. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    You inspired me to do some hacking with teleportable air (which has some glitches, but works) Units also need the command_caps ORDER_Use; this field is often overridden as a whole in derived units, and you'd have to add it to a factory as well for automatic routing.
  4. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Have you tried naval being teleported?

    I'm keenly interested in this because this is the key to two problems:

    The orbital launcher that loads units and sends them in astreauses.
    The unit cannon loading units and sending them in unselectable transports to a destination.
  5. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    You have to make the teleporter buildable on water, but it works. There are some bad collision/pathing issues, especially with the large ships which can pretty much take up the entire portal and tend to go sideways if there is a traffic jam. And of course I was ordering each portal to loop back on itself, so there were traffic jams on both teleporters.
    tatsujb likes this.
  6. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    naval and air added to gate SOON™ ?

Share This Page