Jump to content

Recommended Posts

Posted

Looking at this mod CFT_Mod_3.0.2 (digitalcombatsimulator.com) and wondering if theres a way to install ONLY the ground assets. I was actually trying to find a way to show the crew ladder and covers etc and stubbled upon this mod that actually does this function by adding another "pylon" to make the assets visible. this is what im after...any chance someone would be willing to help me out with this? it said something about it modded the lua file (which i cant find to save my life) and also in the read me it mentioned being able to choose what mods you wanted to add...unfortunately there are no instructions even to install this mod, let alone choose which ones you want. can someone more experienced with modding give me a hand or point me in the right direction?

Posted

The mod is installed the root folder of DCS.  OvGME is best, but whatever method you want is fine, but I suggest backing up the files that get replaced.  The mod installs models, textures and modified and new LUA files to add the assets and make them useable.

To make a version that only adds the ground assets is of course possible but would require another version to be maintained.  Every time there are changes to the F-16C.lua located in X:\DCS World OpenBeta\CoreMods\aircraft\F-16C the mod needs to be updated.  Just with the demands of daily life I'm trying to limit the number of mods I have to maintain 😉

The method used was to add additional pylons as you mentioned.  There's no harm in having the full mod and leaving the other pylons blank.

However, if you don't want to see all of the other stuff on your F-16 and ONLY want the ground assets, that LUA file is where you'd make your changes.  Open up the LUA file in a text editor (I suggest Notepad++ which is free) and search for "pylons".

You'll see a section around line 632 (in the current version) that looks like this:

    Pylons = {
        pylon(1, 0, -2.2, 0.002, -4.739,
            {
                arg = 308,
                arg_value = 0,
                use_full_connector_position = true,
                connector = "Pylon1",
            },
            tips, 1
        ),

and so on down the list of pylons.

As you scroll down you'll see pylon 13 - pylon 17.  The ground stuff is on pylon 17.

You could then remove all the lines for pylon 13 down to 17 and make 17 the new 13 by replacing the number 17 in that section with 13's.

 

        pylon(13, 0, 0, 0, 0,
            {
                DisplayName = _("GND"),
            },
            {
                { CLSID = "{Crew_Ladder}", arg_value = 0.0, required ={{station =13, loadout={"{Crew_Ladder}"}}}},                        --NIGHTSTORM                
                { CLSID = "{RampStart}", arg_value = 0.0, required ={{station =13, loadout={"{RampStart}"}}}},                            --NIGHTSTORM                
                { CLSID = "{Parked}", arg_value = 0.0, required ={{station =13, loadout={"{Parked}"}}}},                                --NIGHTSTORM    
            }, 13

Save it and test.  If it worked, the F-16 will show up and it will ONLY have the GND pylon to the left of smoke.  If it didn't work, you'll get an A10 where should've had an F16 and that means something on one of the lines got deleted or put in the wrong place.

You can also comment out the sections above by using --[[   whatever you want commented out followed by ]]

Everything between those --[[ and ]] will show up grey and is ignored.  Then you can replace the pylon 17 section with what I pasted above.  Just back up the F16.lua file and try it out.  As long as you have the backup you can always go back.

  • 1 year later...
Posted

hey all, been a while sinceive been in DCS lol but i just recently picked up where i left off...and this project is my number one priority right now in DCS. 

So, little update, ive got the pylons to show however the only option is to remove payload. what else do i need to add to the lua?? I can just install the mod and it works fine, however, with the lastest updates to the Viper, the tires sit low in the pavement with the SUFA installed...Basically i want the factory dcs f16 but with the ground assets of the CFT SUFA mod. 

F16 MOD.jpg

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...