Robots from rd_asteroid?

DeOntwerper

L1: Registered
Nov 20, 2013
46
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?
 

FissionMetroid101

L2: Junior Member
Jan 27, 2010
65
118
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.
 

DeOntwerper

L1: Registered
Nov 20, 2013
46
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.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
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.
 

DeOntwerper

L1: Registered
Nov 20, 2013
46
1
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.
I found the two entities you mentioned, however I cannot find a timer at all.
 

henke37

aa
Sep 23, 2011
2,075
515
The timer is set in the group entity.
 

DeOntwerper

L1: Registered
Nov 20, 2013
46
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.
 

Turbo Lover

Fight me under Glasgow Central Station
aa
Feb 15, 2011
333
344
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:

henke37

aa
Sep 23, 2011
2,075
515
Also don't forget the path_nodes for the bots to follow. And the extra trigger to do the point stealing.
 

Turbo Lover

Fight me under Glasgow Central Station
aa
Feb 15, 2011
333
344
And the extra trigger to do the point stealing.

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: