Teardown

Teardown

1,241 ratings
Armed Vehicles Framework (AVF)
18
6
6
10
5
4
4
2
4
3
3
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Global, Spawn
Category: Gameplay
File Size
Posted
Updated
22.189 MB
Feb 18, 2021 @ 3:18pm
Feb 8, 2024 @ 2:59am
61 Change Notes ( view )

Subscribe to download
Armed Vehicles Framework (AVF)

Description
Armed Vehicle Framework (AVF)

The Armed Vehicle Framework, also called AVF, is a teardown framework that enables player controlled turrets and weapons on vehicles or static weapons.

Features

  • Simple system that uses xml tags to enable in game vehicles / static weapons to shoot

  • Global mod that Works on any vehicle on any map that fits the AVF xml tag structure

  • Easily used in game to fire multiple weapons on any vehicle

  • Full ballistics model - bullet drop, realistic penetration mechanics, spalling / shrapnel.

  • Range of cannons, machine guns, artillary, and rockets to choose from, each with different aesthetics and effects.

  • Support for countermeasures such as smoke launchers and ERA blocks.

  • A range of weapon payloads, including high explosive, armour piercing high explosive, HEAT rounds, HESH shells, kinetic or AP rounds, incendiary shells, etc.

  • Modifiable control scheme

  • Full config to setup your own custom weapon parameters

Usage:

Activate this mod in the mod manager window then play any map that has AVF supporting vehicles. This mod will detect any AVF compatible vehicles and make their weapons functional.


Modders resources:




The idelogy of AVF is the following: Vehicles have bodies, bodies have components, a component can be a chassis, turret, gun, etc. like a gun has a gun joint to attatch it to the vehicle, as a turret also has a turret joint to connect it to the vehicle. These joints can be any type you like, so long as they are configured correctly.


Vehicles are configured as follows with xml config values, showing an example of a vehicle with 2 guns, one on a turret, one attatched to the vehicle itself. (This can be done on raw code or editor, I'd suggest in the editor)


Do note, the below is purely a pseudocode to define the structure

<vehicle [field:tags] cfg=vehicle/> <body [field:tags] component=body/> <vox [type:vox] = mainVehicle.vox [field:tags] component=chassis/> <vox [type:vox] = hullGun.vox [field:tags] component=gun weaponType=PKT group=secondary <vox [type:joint] [field:tags]component=gunJoint/> </vox> <vox [type:vox] = turret.vox [field:tags]component=turret turretGroup=mainTurret <vox [type:joint] [field:tags]component=turretJoint/> <vox [type:vox] = turretGun.vox [field:tags] component=gun weaponType=L30A1 group=primary <vox [type:joint] [field:tags]component=gunJoint/> </vox> </vox>


Notes

If you want weapons that don't aim on the vehicle then you can just attach them with however many joints to keep them stationary.

Stationary / static weapons can also be achieved by creating a vehicle to represent the above structure but just not giving it wheels or anything. You may want to put the player location tag to allow aiming though. If you find your static weapon moves in an annoying way then i just joint them to the ground, they are static after all!



List of weapons

To Be Completed



Issues / Contact

For the time being if you have any questions or issues then feel free to leave a comment below or message me in the teardown discord server.


Thanks


Many thanks to the following users during development

  • Rubikow: much guidance in early lua coding / weapon setup.


  • Spexta - much assistance and inspiration for concepts to be implemented in this mod.


  • My Cresta - generally cool dude who was nice to chat to about concepts.


  • Cheejins - Really cool dude who aided in the newer camera fixes.


  • TTFH, for their fantastic vehicle camera improvements

Popular Discussions View All (12)
76
May 20 @ 2:10pm
Bug reports
el Boydo
24
Sep 8, 2024 @ 3:14am
Suggestions
el Boydo
9
Feb 8, 2024 @ 2:12pm
broken
Ties
310 Comments
acefal1990 Apr 19 @ 4:14pm 
bloo and blak is the only thing i see pls help me ):
norway Apr 16 @ 9:29am 
i am struggeling to get the tanks to move
akropolis Apr 13 @ 1:55am 
after each shot from the vehicle, the projectile path appears
jsbarrow2 Apr 12 @ 12:35pm 
@torstoves that happens to me to
私募ea后入啥比重生 Apr 6 @ 7:14am 
I have downloaded the mod but he told me that I didn't find this mod in the creative workshop
Kujo Mar 22 @ 3:52am 
hey i don´t know why but every time i enter a armed Vehicle it just freaks out and destroys itself, its like this for a while now and i don´t know what to do
ARandomIdiot Mar 18 @ 10:04pm 
I disabled all mods that realistically would intervene and all mods in general, except AVF, and got the result both times that torstoves had. ALTHOUGH, when TABs was disabled, it decreased by a lot. Used to, I believe both mods wouldn't conflict, so maybe check recent updates, and contact the creator of TAB's? I'll post something in the workshop discussions there.
el Boydo  [author] Mar 15 @ 2:47pm 
I'm not sure if that is linked to this mod.
torstoves Mar 8 @ 8:48am 
can you fix the bug where when you exit a vehicle the screen becomes white
irwin goodman Mar 4 @ 3:15pm 
most impactful teardown mod oat ngl:steamhappy: