Jump to content
TeardownMods

elboydo

Members
  • Content Count

    32
  • Joined

  • Last visited

  • Days Won

    2

Files posted by elboydo

  1. Elboydo's Armed Vehicle Framework (AVF)

    Description:
     
    A framework that enables people to create their own armed vehicles with ease and minimal configuration. 
     
    Vehicles will be able to mount an array of weapons from simple machine guns to artillery launchers with ease, each with their own weapon zoom, ammo capacities, and ammo types. Including penetration mechanics. 
     
    This will work with any AVF compatible vehicle in any loaded map, provided that they are configured correctly.
     
    Player enabled overrides allow users to modify almost any available weapon parameter to their needs. 

    INSTALLATION:
    ensure you have the latest experimental version of teardown (5.5 at this time), this will not work on any version <5.1.  copy the AVF folder into your documents/teardown/mods/ folder.  ensure that you activate it as a global mod in the mod tree, this will ensure any AVF compatible vehicle will function as intended. See fig below A demo map is included, called "AVF DEMO" this map has a template tank to help you in making your own vehicles / testing AVF. 

     
     
     
    quick install video:  
     
     
    CONTROLS:
    fire                                     = "lmb", sniper Mode                   = "rmb", elevate Gun                    = "c", depress Gun                  = "x", change Weapons         = "r", change Ammunition   = "f", deploy Smoke                = "g", lock Angle                       = "j", lock Rotation                  = "k",  
     
     

    Demo video of functionality:
     
     
     
     
    A demo map is now included to help you  in making vehicles with a custom tank setup with its own custom lua script. 
     
     
    Simple vehicle config: 
     
    To prepare your armed vehicle, this framework follows this simple concept: A vehicle has a body, a body has a chassis, and a body also may have a turret joint connected to a turret. 
     
    A vehicle body and / or a turret may then be connected to a gun joint, so long as a gunjoint is connected to your guns barrel then this script can find it. 
     
    a gun joint typically being a vertical hinge that goes up and down. 
     
    Quick config for a vehicle is as follows:
     
    add inside tags=""
    vehicle -> cfg=vehicle
    body -> component=body
    vox  (for vehicle body) -> component=chassis
    vox (for turret) -> component=turret turretGroup=mainTurret
    joint (for turret joint) ->component=turretJoint
    vox (for gun) -> component=gun weaponType=2A46M group=primary  
    vox (for gun joint) -> component=gunJoint
     
     
    This will define a simple tank using a 2A46M tank gun. 
     
    The logic for this mod is as follows: You have a vehicle with a body. That body would have a main chassis, this chassis then may have joints connecting to guns, called gunJoints, and then joints connected to turrets, called "turretJoints", these "turretJoints" then may have further "turretJoints" and more importantly "gunJoints". 

     
    In theory, you would never need to edit any lua with this code. It is purely XML configs on any compatible vehicle. Through simple XML tags. 
     
     
    While Custom gun sights and sounds may be needed but it's best to embed them within the LEVEL and have a pointer to them in your xml tags.

    If you have any custom sights, or sounds, or pre-configed weapons you would like added to the base mod then i would happily include them if you give me the basic info / files, provided you can ensure they would work in normal situations through xml config. 



    There also is included a custom lua config file which you can utilize by wrapping an editor instance of your vehicle in the script and then modifying the values in there with named keywords to add extra weapons to fit your vehicle. 
     
    This was largely made in a day, i may still be hungover, a better description of using this will be provided with potential video application later on when i get round to it.  If you have an questions or notice any issues then please don't hesitate t contact me. 



    CUSTOM MAPS USING AVF 
     
     
     
     
     
     
     
     
     

    3,907 downloads

       (7 reviews)

    16 comments

    Updated

  2. T-90 MBT

    A functional T-90 tank that includes accurate model recreation and tank weapons. 
     
     
    Many thanks to @spexta for their fantastic work in modelling this tank. 
     
     
     V0.5.1 requirements:
     
    AVF required:
     
     
     
     
     
    V0.5.1 INSTALL : 
     
    Extract contents of T90 standalone and then copy the t90 standalone folder to your documents/teardown/mods folder
     
    load the map by selecting it in your mods folder and pressing play. 

    1,707 downloads

       (1 review)

    4 comments

    Updated

  3. T72

    A full sized T72 tank with functional turret and working cannon. 
     
    V0.5.1 reqiurements:
     
    AVF required:
     
     
     
     
     
    V0.5.1 INSTALL : 
     
    Extract contents of T72 standalone and then copy the t72 standalone folder to your documents/teardown/mods folder
     
    load the map by selecting it in your mods folder and pressing play. 
     
     
     

    pre 0.5 Install: 
    A demo vehicle map is included, just backup your original create/ vehicle files then paste the vehicle.xml and vehicle folder into the create folder. 
     
     
    Tanks support both mouse control with left click to fire and mouse + space bar control, mouse to handle rotation and space for fire. 
    Manage gun elevation with short clicks and turret rotation with holding the mouse.

    Defined file structure (for quickstart install)
    create vehicle scripts <all files ending with>.vox except hud.lua <all files ending with>.vox vehicle.xml data ui hud.lua
    Demo video:
     
     


    Soon to come: Shell penetration
     
     

    2,287 downloads

       (8 reviews)

    1 comment

    Updated

  4. BMP w working turret

    A full sized BMP vehicle with functional turret and working doors / hatches. 
     
     
     V0.5.1 requirements:
     
    AVF required:
     
     
     
     
     
    V0.5.1 INSTALL : 
     
    Extract contents of BMP standalone and then copy the BMP  standalone folder to your documents/teardown/mods folder
     
    load the map by selecting it in your mods folder and pressing play. 
     
    v.4 install below 

    Install: 

    A demo vehicle map is included, just backup your original create/ vehicle files then paste the vehicle.xml and vehicle folder into the create folder. 

    There also is a scripts folder controlling turret scripts and bmp.vox + bmp.xml, paste the scripts folder and bmp.vox into your level folder, then add the lines of code in the bmp.xml to the level xml. 
     
    Defined file structure (for quickstart install)
     
    create vehicle scripts bmp1_armed.lua mountedGun.lua <all files ending with>.vox vehicle.xml data ui hud.lua
     

    3,220 downloads

       (7 reviews)

    7 comments

    Updated

  5. Abu Zayeet Ballistic Range

    About / Prelude: 
    In the mountains to the East of Lockelle lies the Abu Zayeet  Ballistic Range. A military training facility filled with explosive and destructive weapons and plenty of targets to destroy. 
     

    Installation: 
    Place folder inside "documents/teardown/mods" and select play in the mod manager menu.
    Requires: 
    While the map functions on its own, the vehicles will only properly function if you had AVF enabled, It is suggested to keep to the latest version of AVF:
     
    Contributors:
    @spexta for large sections of map construction / layout. 
    @TalbotUncharted3 for their excellent mega prop pack to help populate the map 

     
    To do: 
    Add more vehicles / weapons improve kill houses provide alternative times of day Add more props / more dynamic props    Add background effects / audio  add other changes if suggested  

    1,516 downloads

       (8 reviews)

    3 comments

    Updated

  6. Technical playground - working turrets and guns

    A selection of three technicals with weapons. 

    including: 
    MG technical
    SPG9 technical
    ZU-23 technical
     
    Type 63 artillery technical 
     
    Grad launcher technical 
     
     V0.5.1 reqiurements:
     
    AVF required:
     
     
     
     
     
    V0.5.1 INSTALL : 
     
    Extract contents of technical playground v5 and then copy the technical playground  folder to your documents/teardown/mods folder
     
    load the map by selecting it in your mods folder and pressing play. 
     
     
     
     
    v4 info below
     
    Script and xml files included. 

    Install: 

    A demo vehicle map is included, just backup your original create/ vehicle files then paste the vehicle.xml and vehicle folder into the create folder. 

    There also is a scripts folder controlling turret scripts and technical.vox + technical.xml for all vehicles (spg and mg are same file), paste the scripts folder and technical .vox files into your level folder, then add the lines of code in the relevant technical .xml to the level xml. 
     
     
     
    videos
     
     
     
     
     
     

    1,382 downloads

       (4 reviews)

    4 comments

    Updated

  7. Physical Throwables

    Physical Throwables

    This mod introduces several different grenades that all physically exist in world for the player to pick up and use. 

    Grenades include: 
     
    Molotov cocktail - Starts burning and spreads fire to nearby burnable items for period of time Smoke Grenade  - Produces large plume of smoke to cover player movement Frag Grenade      - Individual frag creates small explosion after countdown Cluster Grenade  - Bundled explosives create one large explosion followed by multiple exploding submunitions White Phosphorous - Bundled grenade holds a bursting charge that sends several small voxels that will burn uncontrollably for a period of time flying down over your target Usage: 
    Pick grenade up with right click, press "e" to arm, move yourself somewhere where the grenade is not.  
     
    Install:
    Backup your castle.xml + castle folder and then place the contents of the zip folder in your teardown/create folder. 

    File Structure:
    create castle scripts all .lua files all .vox files castle.xml Demo video:
     
     

    1,412 downloads

       (3 reviews)

    1 comment

    Updated

  8. Binoculars

    A simple mod that enables Binoculars in Teardown.  Binoculars can be activated by pressing "b" and then zooming in and out with the middle mouse button. 
     
     
    Install:
    To install, unzip the binoculars.zip file and place the binoculars folder into your Mydocuments/teardown/mods folder. you should then see a "Binoculars" file in your in game mod menu, click enable and they will function on pressing the b button in game. 
     
    Customisation:

    Multiple Different sets of lenses for the binoculars can be enabled through the mods options menu, of different colours and cleanliness. 
     
     
    Many thanks to My Cresta for their help in making this mod work and inspiration to try out player based scoping mechanics. 
     

    244 downloads

       (2 reviews)

    2 comments

    Updated

  9. elboydos vehicle and mounted gun Script - script only

    A mod that enables player controlled turrets through both physics based control and in vehicle control - includes extensions to change fire rate, type, and ammo capacities. 


    Excerpt from Readme: 





    ELBOYDOS MOUNTED GUN AND PLAYER CONTROLLED TURRET SCRIPT
    Author : elboydo
    published 11-11-2020
    i dunno, i may extend this readme later. 
    ____________________________________________________________

    To install::
    Place files within create folder here to your create folder in teardown/create

    To enable weapon usage, copy the hud.lua file to teardown/data/ui

    IF YOU DON'T WANT TO MESS WITH YOUR HUD.LUA DUE TO OTHER MODS: 
        copy this line into the "draw()" method in hud.lua
        if UiIsMousePressed() then
            SetBool("mouse.pressed",true)
        else
            SetBool("mouse.pressed",false)
        end
        SetInt("mouse.wheel", UiGetMouseWheel()) 
    if you have these methods already in your hud.lua then happy days, the mods should work fine.

    FAILURE TO COPY THE HUD.LUA FILE WILL MEAN WEAPONS WON'T WORK AND ASKING WHY WEAPONS WON'T WORK DUE TO NOT DOING THIS 
             MAY RESULT IN PANDAS HAVING THEIR FAVOURITE TOYS TAKEN AWAY FROM THEM
     

    Setting configs:
    A default config for a mounted gun has been included in this script. description to modify for your vehicular setups as follows: 
    Always include "#include mountedGun.lua" to enable mounted gun functionality. 

    config values: 

    --[[
     Vehicle config
    ]]
    vehicle = {
        mainName                 = <VEHICLE NAME> ,
        Vehiclename             = <VEHICLE BODY NAME>,
          CannonName                 = <VEHICLE TURRET / GUN NAME> ,
          CannonJointName         = <VEHICLE TURRET JOINT NAME>,
          Create                     = "elboydo",
          barrelOffset             = <Y OFFSET FROM TURRET TO SPAWN MUNITIONS>
          manualControl            = <ONLY ENABLE PHYSICS BASED CONTROL - FALSE BY DEFAULT, SET TO TRUE TO BLOCK IN VEHICLE TURRET CONTROL>
    }
    --[[
     Mounted gun config
    ]]
    weaponFeatures = {
        armed                     = <TRUE/FALSE     - VEHICLE CAN USE WEAPONS>
        timeToFire                 = <INT             - PERIOD OVER WHICH TO FIRE A BURST>,
        magazineCapacity         = <INT             - TOTAL NUMBER OF SHOTS PER BURST>,
        reloadTime                 = <INT             - TIME AFTER BURST TO RELOAD WEAPON>,
        hasRockets                 = <BOOL         - CAN THE GUN  FIRE ROCKETS>,
        hasRocketCapacity        = <BOOL         - DOES THE GUN HAVE A FINITE ROCKET SUPPLY,
        rocketCapacity             = <INT             - TOTAL NUMBER OF ROCKETS THE VEHICLE CAN HAVE>,
        rocketStartingAmmo         = <INT             - NUMBER OF ROCKETS THE GUN  SPAWNS WITH>,
        startRockets            = <BOOL         - DOES THE GUN SPAWN WITH ROCKETS LOADED>,  
        hasMG                     = <BOOL         - CAN THE GUN USE AN MG>,
        hasMGCapacity            = <BOOL         - DOES THE MG HAVE A FINITE MG ROUND SUPPLY>,
        MGCapacity                 = <INT             - TOTAL NUMBER OF MG ROUNDS THE GUN CAN HAVE>,
        MGStartingAmmo             = <INT             - NUMBER OF MG ROUNDS THE GUN SPAWNS WITH>,
        displayWeaponDetails    = <BOOL         - DISPLAY EXTRA WEAPON DETAILS ABOUT AMMO LEFT SHOWS ON THE GUN ITSELF>,
        rocketExtraconsumption     = <INT             - DOES FIRING ROCKETS USE EXTRA MUNITIONS (ONLY IMPACTS BURST LENGTH NOT ROCKET AMMMO)>,
        rocketReloadPenalty     = <INT             - EXTRA TIME ADDED TO RELOAD TIME PER ROCKET FIRED>,
        ammoBoxMGName             = <STRING         - NAME OF PROP ACTING AS MG AMMO BOX FOR CHOOSING MUNITION>,
        ammoBoxRocketName         = <STRING         - NAME OF PROP ACTING AS ROCKET AMMO BOX FOR CHOOSING MUNITIONS>
    }

    733 downloads

       (4 reviews)

    0 comments

    Updated

  10. ZSU-23-4

    A functional ZSU-23-4 AA Vehicle that includes accurate model recreation and AA weapons. Both high ROF HE and AP rounds with tracer 
     
     
    Many thanks to @spexta for their fantastic work in modelling this tank. 
     
     
     V0.5.1 requirements:
     
    AVF required:
     
     
     
     
     
    V0.5.1 INSTALL : 
     
    Extract contents of ZSU-23-4 Standalone and then copy theZSU-23-4 Standalone folder to your documents/teardown/mods folder
     
    load the map by selecting it in your mods folder and pressing play. 

    398 downloads

       (1 review)

    1 comment

    Updated

×
×
  • Create New...

How to Disable AdBlock - And why you should do it?

I have disabled AdBlocker. Refresh the page.