Aevitas
Well-Known Member
- Joined
- Mar 2, 2010
- Messages
- 2,307
- Reaction score
- 36
Here's a quick summary of how profiles work with TankLeader 2. I'll probably elaborate on this post later on, and we might even get a profile viewer of some sorts in place, but until then this will have to do.
You'll need the HotspotLogger plugin that comes with TankLeader 2 enabled. The F11 key gives you the name of the map, the F12 key gives you the hotspot including the team you're currently on. You can pretty much copy and paste the output from this plugin into a profile and it'll work. Make sure the Log Level is set to diagnostic or normal.
For more information you can find Glommy's quick summary of profiles here: http://www.thebuddyforum.com/tankle...ofiles/122136-really-short-profile-guide.html
How do TankLeader 2 profiles work?
They're stored as XML files in the Profiles directory. There's some stuff you'll need to know up front:
How many waypoints can a profile contain?
As many as you like. However, most of the time you'll only need a handful of them, and not 20-30. TankLeader will always try to find the shortest way to your waypoint, and to the objective, so keep that in mind when recording your profiles. Common sense goes a long way!
Can we have a sample profile?
Sure, courtesy of Glommy:
What about Artillery waypoints?
Most of the time you'll only need one or two of those, and you'll only have to define some hiding spots. Artillery doesn't move like normal vehicles do, and without profiles they just camp in spawn and attempt to shoot at stuff that's not moving very fast. If you define Artillery spots in your profile, the bot will randomly select one of those to hide during the battle, and stay there for the entire duration.
In order to define a Hotspot as an Artillery point, just set the Type to Artillery, like so:
* Note: During the first release of the beta, these don't work yet. We'll implement them at a later stage. Keep an eye on the changelog.
Are Scout and TankDestroyer waypoints supported yet?
No, not yet.
Will there be some graphical tool that shows us where the waypoints are on the map?
That's something we're currently looking into and something we do want to provide to our users, but we're unsure if it's actually possible right now.
You'll need the HotspotLogger plugin that comes with TankLeader 2 enabled. The F11 key gives you the name of the map, the F12 key gives you the hotspot including the team you're currently on. You can pretty much copy and paste the output from this plugin into a profile and it'll work. Make sure the Log Level is set to diagnostic or normal.
For more information you can find Glommy's quick summary of profiles here: http://www.thebuddyforum.com/tankle...ofiles/122136-really-short-profile-guide.html
How do TankLeader 2 profiles work?
They're stored as XML files in the Profiles directory. There's some stuff you'll need to know up front:
- The "Map" tag in the profile must be set to the name the HotspotLogger plugin spits out, eg. 23_caucasus. It can NOT be the display name of a map like "Malinovka".
- The team must be either 1 or 2.
- Profile waypoints are a Queue, therefore they are first in, first out. The order you define the waypoints in in a profile is the order they will be run by the bot. As soon as the bot runs out of waypoints (or it doesn't have any), it'll try to complete the objective for that map.
How many waypoints can a profile contain?
As many as you like. However, most of the time you'll only need a handful of them, and not 20-30. TankLeader will always try to find the shortest way to your waypoint, and to the objective, so keep that in mind when recording your profiles. Common sense goes a long way!
Can we have a sample profile?
Sure, courtesy of Glommy:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Profile>
<Map>10_hills</Map>
<Hotspots>
<Hotspot Team="1" X="147.0363" Y="15.47462" Z="12.69673" Type="Normal" /><!-- 14.-->
<Hotspot Team="1" X="98.89081" Y="12.25938" Z="282.4362" Type="Normal" /><!--21.-->
<Hotspot Team="2" X="339.0369" Y="20.21" Z="106.9216" Type="Normal" /><!--15.-->
<Hotspot Team="2" X="147.0363" Y="15.47462" Z="12.69673" Type="Normal" /><!-- 14.-->
</Hotspots>
</Profile>
What about Artillery waypoints?
Most of the time you'll only need one or two of those, and you'll only have to define some hiding spots. Artillery doesn't move like normal vehicles do, and without profiles they just camp in spawn and attempt to shoot at stuff that's not moving very fast. If you define Artillery spots in your profile, the bot will randomly select one of those to hide during the battle, and stay there for the entire duration.
In order to define a Hotspot as an Artillery point, just set the Type to Artillery, like so:
Code:
Type="Artillery"
* Note: During the first release of the beta, these don't work yet. We'll implement them at a later stage. Keep an eye on the changelog.
Are Scout and TankDestroyer waypoints supported yet?
No, not yet.
Will there be some graphical tool that shows us where the waypoints are on the map?
That's something we're currently looking into and something we do want to provide to our users, but we're unsure if it's actually possible right now.






