Robots from rd_asteroid?

Discussion in 'Mapping Questions & Discussion' started by DeOntwerper, Aug 14, 2014.

  1. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    Heya there,

    I am wanting to make a custom map with elements of the robots from rd_asteroid. How would I generally go about this?
     
  2. FissionMetroid101

    FissionMetroid101 L2: Junior Member

    Messages:
    65
    Positive Ratings:
    108
    Your best bet would be to decompile rd_asteroid and pry the entities out of there. Since they aren't added to the list that mappers can use, it's really the only way to get ahold of them. Also be warned, they have a lot of outputs that go unused, and is likely to be slightly changed as the beta testing continues. You can download it here.
     
  3. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    Thank you for the link.

    After spending an hour or two looking at the map in Hammer...I am still scratching my head as to how the robots actually spawn.
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    They spawn at the tf_robot_destruction_robot_spawn entities automatically. After all robots specified as being part of a tf_robot_destruction_spawn_group die, the respawn timer (set in the group ent) starts. If another group is killed, all groups have their timer re-set to the time for the most recently killed group. Group number specifies the order in which they unlock.
     
  5. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    I found the two entities you mentioned, however I cannot find a timer at all.
     
  6. henke37

    aa henke37

    Messages:
    1,856
    Positive Ratings:
    430
    The timer is set in the group entity.
     
  7. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    I have just one group (the first group - 5 core robots) in my map. However I have both the group entity and spawn entity within the map.

    I reset the timer to 10 yet the robots don't spawn.
     
  8. Turbo Lover

    aa Turbo Lover Fight me under Glasgow Central Station

    Messages:
    333
    Positive Ratings:
    317
    For RD you need three entities: tf_logic_robot_destruction; here's where you'd set things like the amount of points needed to win and the amount of robots that can be active at any one time. tf_robot_destruction_spawn_group; which controls bot respawn time and what team they're on. And tf_robot_destruction_robot_spawn which is placed at the spot you want robots to spawn and controls robot health and how many points they drop. These entities are required on top of things like team_round_timers, tf_gamerules, whatever else your map needs. You need all three entities for robots to spawn.

    To recreate the bot tiers Asteroid has, you will need to create six tf_robot_destruction_spawn_groups - three for each team, one for each type - and six tf_robot_destruction_spawns - one for each tf_robot_destruction_spawn_group.
     
    Last edited: Aug 18, 2014
  9. henke37

    aa henke37

    Messages:
    1,856
    Positive Ratings:
    430
    Also don't forget the path_nodes for the bots to follow. And the extra trigger to do the point stealing.
     
  10. Turbo Lover

    aa Turbo Lover Fight me under Glasgow Central Station

    Messages:
    333
    Positive Ratings:
    317
    Point stealing isn't a required part of any RD map. In fact, it's one of the elements we should strive for experimentation with, by coming up with alternatives - like YM's take on the mechanic in Spacebase. We haven't seen an RD map without a core stealing mechanic either, it'd be very interesting to see how such a map plays.
     
    Last edited: Aug 18, 2014