What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Profiles for TankLeader 2

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:
  • 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.
 
THX Aevitas,

I lack informative output so I enjoy read easy as U write.

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.

Graphical tool is really nice, but even with it I see Hotspot planing and mapping in .jpg or .pdf good alternative.

If there is graphical tool what can be used to watch maps to see why Bot turns around like I explain in Lakeville, that tool will be usefull... many times problem with that kind tools is that user must educate himself to use it and that takes time... so old Tools are some times most effective and reporting probs, finding bypass and using patience is my best option here.

:p, oh Im rushing other things on because I can make difference between "Rock and Bush"...


Glommy
 
Hello!

I've made some profiles for my Arty. At start my Arty turns the right way of waypoint but stays in place and doesn't move. hlep?

Code:
 <?xml version="1.0" encoding="utf-8"?>
<Profile>
<Map>23_westfeld</Map>
<Hotspots>  
<Hotspot Team="1" X="-403.7751" Y="6.632314" Z="-402.3939" Type="Artillery" />
<Hotspot Team="2" X="455.8507" Y="-0.2400336" Z="489.6927" Type="Artillery" />
<Hotspot Team="2" X="493.2237" Y="-2.093432" Z="497.5105" Type="Artillery" />
</Hotspots>
</Profile>
 
Last edited:
Hello!

I've made some profiles for my Arty. At start my Arty turns the right way of waypoint but stays in place and doesn't move. hlep?

Code:
 <?xml version="1.0" encoding="utf-8"?>
<Profile>
<Map>23_westfeld</Map>
<Hotspots>  
<Hotspot Team="1" X="-403.7751" Y="6.632314" Z="-402.3939" Type="Artillery" />
<Hotspot Team="2" X="455.8507" Y="-0.2400336" Z="489.6927" Type="Artillery" />
<Hotspot Team="2" X="493.2237" Y="-2.093432" Z="497.5105" Type="Artillery" />
</Hotspots>
</Profile>


Really nice that you take your time to create. Your profile seems to properly done, but if you read this "sticky" you see that "type=artillery" is not yet active, :(.

Dont delete your Profile, its good to use when Tl2Beta updates activate "Artillery" hotspots...

I recorded few spots to 23_westfeld, if you "release" that profile(below), USE BIG letter to say that "type=Artillery" is not active (so arty stays Base), but tanks "type=Normal" Hotspot, can be used.

You can create 23_westfeld -threat where we can create more profiles, I try my best to help (I later delete my post and move them to guide ;) ), oh, I will add to your map threat one picture, so you see <!-- 2 --> meaning... :cool:


Code:
<?xml version="1.0" encoding="utf-8"?>
<Profile>
<Map>23_westfeld</Map>
<Hotspots>  
<Hotspot Team="1" X="479.5144" Y="39.0305" Z="77.83593" Type="Normal" /><!-- 2 -->
<Hotspot Team="1" X="-403.7751" Y="6.632314" Z="-402.3939" Type="Artillery" />
<Hotspot Team="2" X="492.7051" Y="53.33275" Z="-201.8208" Type="Normal" /><!-- 3 -->
<Hotspot Team="2" X="455.8507" Y="-0.2400336" Z="489.6927" Type="Artillery" />
<Hotspot Team="2" X="493.2237" Y="-2.093432" Z="497.5105" Type="Artillery" />
</Hotspots>
</Profile>

ps. nicely planed Arty spot... maybe their place stay secret untill others see how to test them. :p
 
Last edited:
oh I see:) Me and my friend have created arty spots for all active maps so can't w8 for that update :D
 
[WaypointManager] Loaded 2 waypoints for team 2 on 05_prohorovka.
Targeting changed to Default Artillery Targeting
Artillery is ready comrade.
And he just sits there and doesn't move to the waypoint.


<?xml version="1.0" encoding="utf-8"?>
<Profile>
<Map>05_prohorovka</Map>
<Hotspots>
<Hotspot Team="2" X="179.5309" Y="11.75832" Z="-336.8687" Type="Artillery" /><!-- 0 -->
<Hotspot Team="2" X="212.4756" Y="11.88508" Z="-401.1737" Type="Artillery" /><!-- 1 -->
</Hotspots>
</Profile>
 
[WaypointManager] Loaded 2 waypoints for team 2 on 05_prohorovka.
Targeting changed to Default Artillery Targeting
Artillery is ready comrade.
And he just sits there and doesn't move to the waypoint.


<?xml version="1.0" encoding="utf-8"?>
<Profile>
<Map>05_prohorovka</Map>
<Hotspots>
<Hotspot Team="2" X="179.5309" Y="11.75832" Z="-336.8687" Type="Artillery" /><!-- 0 -->
<Hotspot Team="2" X="212.4756" Y="11.88508" Z="-401.1737" Type="Artillery" /><!-- 1 -->
</Hotspots>
</Profile>

Im sorry to say but Current build support only type "Normal" tanks. Build normal Profile around current profile and... need spots?

Look below "RED" marked snippets. That what I show below is for commenting .xml, when Future TL2Beta support hopefully Arty then just move snippets back... :confused:

Code:
<?xml version="1.0" encoding="utf-8"?>
<Profile>
  <Map>05_prohorovka</Map>
     <Hotspots>  
 [COLOR="#FF0000"]<!--[/COLOR] <Hotspot Team="2" X="179.5309" Y="11.75832" Z="-336.8687" Type="Artillery" /> 0 -->
[COLOR="#FF0000"]<!--[/COLOR] <Hotspot Team="2" X="212.4756" Y="11.88508" Z="-401.1737" Type="Artillery" /> 1 -->
     </Hotspots>
</Profile>
 
Is there anything new added? I want to make my tanks to move to a bush and camp there and do no turning. Also maybe set some are to look at, so that tank would not look behind it but move the turret to aim a little to left or right, or move the hull a little for destroyers.
 
Back
Top