[TF2] MvM Tank support for Mappers/Vscripters #1533
+114
−551
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request adds 3 inputs & 1 output usable for Vscripters and Mappers to decide how a tank should act.
normally we need to use Hacky ways to force the Tank to do specific things, the most common one is setting the path.
This also fixes a major problem with Tanks falling thru invisible textures (grates,glass, anything transparent really), which usually can be fixed by using static props, either visible or with low fade distances!!!
This also includes a Spawnflag for disabling the glow.
Collision Fix
tf_mvm_tank_collisionmask - 1 Fix, 0 - Legacy/Vanilla - Reason for the Convar is some legacy maps may break if the map creator uses the old collision system (for some reason).
2025-09-15.21-36-19.mp4
SetPath
Tell him where to go, you can also clear his path by passing nothing.
2025-09-15.22-40-46.mp4
ForceDeploy
2025-09-15.22-42-24.mp4
CanDeploy
Gives permission for the tank if it can Deploy or not.
2025-09-15.22-57-39.mp4
OnBombDeployed
Usually set by popfiles, but this is for manually map/vscript spawned ones!
For Example: When the bomb gets Deployed, All players will bleed for 5 seconds.
2025-09-15.22-47-02.mp4
I am not hoping much but, this would be a great addition for the recent MvM Blogpost...
this would go great along:
Deploy sound Stop fix
Tank Wavebar improvement