Tank border bypass mission.
Tank border bypass mission.
The "return to battlefield" you encounter when leaving the battlefield is highly annoying, especially for custom battles. You can bypass this by making a vehicle immortal, but then there is no point to going outside the map other than to explore. This code allows you to evade the auto-bail whilst still being able to give and receive damage!
The code works by teleporting everybody back within the battlefield for 0.15 seconds every 24 seconds. This way whenever you have 1 second left to autobail, you will move within the battlefield and reset the timer, then move back to your original position. I have set up a basic mission on Poland with the standard tank spawns here. If you want to explore or fight in the forests outside the map on Poland, have a go at it! If you are a mission editor who wishes to design a battle outside the tank area on any map, simply swap to the map you wish to use.
Known issues:
If your computer renders particularly quickly, it may be possible to see where you are teleported to for a split second.
If you are using free look when the timer is reset, your view position will also be reset.
If you are in mid-air with a tank when the timer resets, you may be returned to ground level.
There is a very low chance it will still auto-bail you. So far it has only ever happened while I am tabbed out, so it may be that the timer updates less often while you are tabbed out, or I may just be lucky. Please let me know if you determine an answer to this!
There is an even lower chance that a tank will "dodge" a shot when the timer resets. This can only happen in the 0.15 second period of the reset. If you are particularly concerned with this, do not fire with 1 second left on the timer.
Your aim may be thrown off by a partial degree when the reset occurs. This is imperceptible in third person but may throw off sniping. (Once more, just don't try to snipe with 1 second left if this is a concern).
Keep in mind:
This teleport will not interfere with tank movement/momentum, aim (besides extremely slight variation), engine power, firing, receiving damage, etc.
Never gonna give you up. (Sorry but I had to in case you are actually still reading this).
I will likely be dropping more versions of this with greater safety margins or lower perceptibility of the teleport's occurrence. I will try to make each of these on a different map for people who just want to explore and do not know how to use the mission editor.
This supports up to 32 players, if there is demand for a 64 player version I may release it.