How to make ai tank work in editor?


The ai doesnt use their tanks even if there are only vehicle respawns. What am i doing wrong?

Bot profile of Sandbox may not have tank squads. You may need to add custom profiles with tanks for bots.

1 Like

in order to make AI tanks,

  • the easier way:
    ( from what i’m getting ) is through adding them in the profiles.

  • the hard way ( and less optimal way is),
    you make them through entities as a template.

the benefits of the first, as said, it’s easy.
but you will not have control over them.

the second is hard, but time consuming. however you can create custom paths or make them stand still.
and… unfortunately, they will look at the position 0. so you have to keep that in mind before creating a map. otherwise you’ll have your map completely broken similar to my spartanovka german medium difficulty where t34s are unable to engage enemies, or battle of foy. where the enemy are giving you the back.

but it implies digging through alot of tanks code just to edit few strings and their weapons to accommodate AI tanks as units similar to soldiers.

2 Likes

I have no experience in coding. How do i make custom profiles work? I only want AI with custom profiles

I’m not in the mood to make an AI tank only profile. But i will make one eventually because i’m also interested i getting AI tanks to work in sandbox editor.

well, use players profile from the sea preadator onto bots.
( just don’t forget to only use 2 factions that you are interested in, and make sure to change any " berlin_allies " or " moscow_axis " into ger, usa, ussr or jap

those do have vehicles.

and you can change their vehicle in this line:

image

first, the cur vehicle.

            "curVehicle" : {
               "gametemplate" : "",
               "guid" : "_25267516453"
            },

first the name of the tank in the template.
second, the same thing ,but with random numbers.

and, then you’ll have to set the class of the vehicle;

"vehicleType" : "tank"
image

APC & Bikes are also still part of tanks
but i don’t think in this moment in time they can drive those.

if not, you can just lunch your missions without editing the tanks or profiles.
since base vanilla AI profiles should have access to Tanks.
you can’t just edit what they’ll bring.

hence, might make your mission non historical accurate.

1 Like

I tried with the vanilla ai squads but they never spawned with tanks. Maybe the AI profiles havent been updated yet to have tank squads

well, you have to try your own mod over the callisto test server.

not the current live version of the game.

P.s. editor bots profile are outdated and do not contain tanks.
you’ll have to be over custom games of the callisto test server.

2 Likes

But i think they already implemented the test server things on live server. Such as the 4 new battlepass weapons, my zombie mod is running fine and i already can play with them. Also, the tank AI is updated that the tanks will shoot each other even under a roof (they never did before the latest update, and sometimes they will think for seconds even not under roof)

i’ll play a custom game in vanilla and see if tanks shows up.

but i don’t think it’s out yet.

they would have announced it.

could be wrong though.

I made a universal carrier work in my zombie mod - it spawns like a regular tank (without the apc property cuz zombies dont spawn with team spawners) and the besal mg shoots (not the boys atr though)
They can definitely drive them but just not implemented.
I am the first in this community to ever include custom zombie tanks in my map so i am very familiar of their behaviour and what they can do

By the way, you can make almost every hatch machine gun work by giving the commander directTurretControl:b=yes and make the mg in turretNames:array instead of hatchTurretNames:array

I am sure they messed up something, because the bug report forum was spammed with “cant gain xp” yesterday, literally 20+ of them. They might have copied the whole test server onto live server including a broken xp system that will show xp gained but wont upload to their data center/storage

as predicted, AI tanks are not in the current live yet.

that’s your answer.

you’re using it in the zombie Mode.

where it was originally created.

tanks do not work as of yet in default mods / vanilla.

1 Like

oh i see

But its strange that they applied part of the test server stuff though. I have a habit of updating my mod earlier than release with test server editor. But this is the first time that the test server stuff got added before release