Jump to content
HomeFries

How do I use the high level features of ModMan?

Recommended Posts

I think I've figured out the basics of skinning the F-15, including the TGA files vs. BMP to create "decals" similar to those in SF2. This opens the possibility of creating custom nose art and canopy names for myself and other friends. However, doing so on skins other than default skins (already zipped and in path) will require a huge amount of storage (liveries) or manual entries into graphics.cfg (common files to a zip).

 

The most elegant solution is the zipfile for the skin (the tga dds files go into the livery), but I can't figure out how to get modman to make dynamic entries into cfg files. I know there are cfg and misc options in the mod maker, but there are no instructions or tutorials that I could find. The closest thing, the CDDS tutorial, seems to be obsolete with DCSW which now does the same thing with conventional zip files and native use of DDS.

 

Does anybody know how to use the cfg/misc features of modman, or if not is it still a feasible solution to bundle files in a CDDS?

 

Thanks in advance.

Share this post


Link to post
Share on other sites

For what it's worth, number Decals are 3d Model Integrated in Max with argument animations. Same with alot of other decals.

Share this post


Link to post
Share on other sites

Sorry Skate. Not to come off as a complete knucklehead, but I'm not sure of what that means, unless you're talking about assignment of the 3 digits of the serial number on the tail.

 

What I'm trying to figure out is how to use these functions in the Modman Mod Maker:

modsmaker.jpg

 

CFG (I think this is the one I want):

mm_cfg.jpg

 

Misc:

mm_misc.jpg

 

The whole idea is to have a common set of textures for a virtual squadron with specific decol files and pilot files for each member, in order to avoid having to repeat each file in each livery folder. I'm also trying to do it in a way that dosen't require manual tweaking of graphics.cfg.

Edited by HomeFries

Share this post


Link to post
Share on other sites

Liveries in a ZIP w/ DESC LUA shouldn't need to mod the CFG file. as long as the "TRUE/FALSE" part of each line is set correctly, the engine will scan that ZIP and the designated VFS_textures_Mount folders (/Bazar/Liveries/ etc) for the textures.

Edited by SkateZilla

Share this post


Link to post
Share on other sites

I was trying to get fancy. I saw that the CAW Su-25T package uses common zips and requires tweaking the graphics.cfg, and I was looking for a way to automate it. I also thought that doing this with a virtual squadron skin and using the decol/patch files in the individual liveries for the members would save on HD space and require fewer changes overall in the event that the skin was updated.

 

I wish ED would just add a single folder in the path, and every file in that folder would be read as part of graphics.cfg. This would make things much simpler for custom skins, though no question the livery system is a huge step in the right direction.

Share this post


Link to post
Share on other sites

Base Paint in one Folder.

 

Make a ZIP for each member, and only put DECALs or Changed Textures in it.

 

Make the Lines for the Common Textures in the description file read "true" (so game knows to scan outside local folder/zip, it will scan all vfs_texture mounts.).

So for common textures (ie base paint):

{"MaterialName", 0, "texturename", true]

 

then Custom name/patch/decals

{"materialname", 0/3, "texturename", false]

 

So You'd have a Folder (folder names are just examples.)

/Liveries/F-15C/HomeFriesMain.zip (with all common files that are in all squad skins). (This might have to be in a /HomeFriesMain/ folder too or in Bazar/Textures folder.)

 

then

/Liveries/F-15C/HomeFriesSqd1/member1.zip (with files specific only to his plane, and description lua with values set correctly)

/Liveries/F-15C/HomeFriesSqd2/member2.zip (with files specific only to his plane, and description lua with values set correctly)

/Liveries/F-15C/HomeFriesSqd3/member3.zip (with files specific only to his plane, and description lua with values set correctly)

 

 

So you'd have 4 zips. 1 with all the main textures for everthing. and 3 with just decals/changed textures. So common textures aren't copied 4 times. (decreases loading time, packages size, and VRAM usage).

 

Im in office so i cant say for sure the folders everything goes in, but this weekend I'll be doing something similar with one of my modules (Main skin and decals for individual skins in ZIP.

Edited by SkateZilla

Share this post


Link to post
Share on other sites

That's exactly what I would like to do, Skate. The VRAM hit is something else I thought of as well since I'm running with a 512Mb graphics card.

 

Question is whether it is possible to do this without adding a line to graphics.cfg. I've already tested this by adding a couple of ZIPs with common files to Bazar\World\Textures and adding them to graphics.cfg, then putting the personalized files in the livery folders and setting the appropriate lines to True/False.

 

The big hang up is whether there is a way to automate this for people who don't want to tweak their config files. I would rather spend the time trying to simplify the system than spend the same amount or more time helping people who are afraid to tweak their file, or have done so incorrectly.

Share this post


Link to post
Share on other sites

Bazar/World/Textures should already be mounted.

 

if not add the vfs texture call to the F-15C.LUA in the /Scripts/database/planes/

 

 

That would be the only difference in what im gonna be doing and what you're doing.

 

our Module uses /Mods/Aircraft/F-100D/Textures/ to store textures with a VFS Mount for each skin folder, plus a folder with a folder for main self_illuminated, a folder for main diffuse/spec/bump maps.

 

 

So, Items that dont change on any of the Liveries are in the /F-100D/Textures/MainDiffuse/ folder, and String in Livery desc. lua is set to true.

those items are bump maps, canopy glass, etc etc.

 

/self_illuminated is the folder where I store the TGAs for Lights, Afterburner etc.

Edited by SkateZilla

Share this post


Link to post
Share on other sites

Bazar/World/Textures should already be mounted.

 

if not add the vfs texture call to the F-15C.LUA in the /Scripts/database/planes/

Now that's an interesting idea: adding ta tweaked F-15C.lua to the modman package. Solves the graphics.cfg problem.

 

In the existing graphics.cfg, a number of files have path lines, many of which are in Bazar\World\Textures. I was under the impression that the files themselves had to be in the path line, as opposed to a folder being in the path and having all of its contents in the path as well.

 

Like you, I'm at work, so I can't take a look right now, but this is definitely something to build on.

Share this post


Link to post
Share on other sites

If Bazar/World/Textures/ is mounted, then you only need to place your commonfiles.zip there, or maybe /Textures/F-15C/ if it exists.

Share this post


Link to post
Share on other sites

Skate, you're a genius!

 

I thought that the path commands in graphics.cfg pointed to zip files. In fact, they point to folders, and DCS recognizes a zip file as a folder.

 

Here's what I did to test:

  1. Extracted bazar\textures\f-15.zip to the folder bazar\textures\f-15. Removed f-15.zip. Ran mission with default skins and tested SAT.
  2. Removed files from F-15 folder and reinserted f-15.zip. Added custom skins to F-15 folder. Ran mission with combination of default skins and custom skins. Tested SAT.
  3. Renamed files in F-15 folder from *.bmp.dds and *.tga.dds to *.dds. Ran same mission with combination of default and custom skins. Tested SAT.

 

What this means is that we can have our cake and eat it too!

 

Even with the existence of a F-15.zip file, DCSW will continue to read files from both the zipfile and the folder named in the path. There is no need to extract the existing zipfiles, nor add files to them. This is great for maintaining compatibility with the autoupdater.

Likewise, we can create the F-15 folder in ModMan and add common files without having to add a path to graphics.cfg.

Finally, since ModMan can't handle the multiple-extension DDS files that are required for the zipfile, being able to have "regular" named DDS files in the folders allows for the use of ModMan to keep track of our common files.

 

Bottom line: packaging aircraft fleets like this will save a lot of space, loading time, VRAM, et al, yet we can still maintain a compact delivery using the RAR/Zip feature in ModMan.

Share this post


Link to post
Share on other sites

these lines/scanning methods are kinda new from what i was told, older lomac/fc2, and dcs KA-50, you had to mod the Graphics.CFG,

 

ED Added the ability to declare/use folder mounts scanning to allow user to have custom skins without being booted from servers for failing integrity checks (modded .CFG) (or something along those lines.)

 

I think the Engine scans over 100 folders during startup for Declare LUAs and stuff.

 

at one point i had BMPs all over the place, and they kept being picked up by game, when i didnt want them too, lol.

 

Now when i run 3 screens, my left is completely filled with Debug Data..

 

 

 

As for Decal Layer on A-10C not working, Dunno why, as I didnt see a Decal Layer option in materials list in Max,

 

I know I'm gonna need both Decals and Damage/Bulletholes Layers soon.

Edited by SkateZilla

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By MigBuster

      The Boeing CH-47F Chinook fondly referred to as ‘The Hook’ by US military personnel, stands today as the premier multi-mission rotary wing aircraft in use with the US Army, US Army Reserve, National Guard and 20 other nations including Canada, the United Kingdom, Netherlands, Japan, Italy, Greece, Spain, South Korea, Australia, Türkiye, India and the United Arab Emirates. Embodying a unique tandem rotor design this massive helicopter excels in all its roles, including cargo and troop transportation, sling load operations, search and rescue, casualty evacuation, special operations, and humanitarian assistance in disaster scenarios.
      Engineered for exceptional stability and control, the CH-47F twin engine, tandem rotor configuration ensures maximum agility and facilitates straightforward loading and unloading procedures. This design uniquely positions the CH-47F for operation in environments inaccessible to others. The absence of tail rotor interference permits rear ramp access on varied terrains, including unprepared or mountainous locations, capitalising on its remarkable landing capability. Furthermore, the aircraft's design facilitates high-altitude flight up to 20,000 feet, surpassing other helicopters in its weight category.
      The CH-47F is equipped with a state-of-the-art, fully integrated digital cockpit management system; the Common Avionics Architecture System (CAAS) Cockpit, in synergy with a Digital Automatic Flight Control System (DAFCS). These advanced systems enhance cargo-handling efficiency while significantly boosting mission performance and all weather situational awareness. CH-47F also offers side and rear door gunner positions, a radar warning receiver with chaff and flare dispensers for auto protection.
      With the capability to cover extensive distances swiftly, the CH-47F can be outfitted with extended range fuel tanks and is compatible with air-to-air refuelling, thus extending its operational range further than ever before. This capability underscores the aircraft’s adaptability and endurance, making it a formidable asset in any fleet.
      In total some 1'200 plus CH-47 helicopters of all variants were delivered. This icon of a war machine saw combat service in all the major theatres since its inception, notably Vietnam, Iran, Libya, The Falklands, The Balkans, Iraq and Afghanistan. 
       
      Capabilities of the CH-47F
      Tandem Rotor Design: The CH-47F features a distinctive tandem rotor system with two counter-rotating rotors. This design provides exceptional handling qualities and allows for a large lift capacity, which is crucial for carrying heavy payloads. The absence of a tail rotor also enhances safety in confined areas and simplifies maintenance, offering unhindered rear cargo and troop loading in addition to side door access. Powerful Performance: Powered by two Honeywell T55-GA-714A engines, the CH-47F offers impressive power and performance. These engines deliver up to 4,868-shaft-horsepower combined, enabling the aircraft to reach speeds over 175 mph (282 km/h) with a payload of more than 21,000 pounds (9,500kg). Cargo Handling and Versatility: The CH-47F's large cargo hold can accommodate a wide variety of loads, from standard palletized goods to vehicles and artillery, as well as the fuel cells for “Fat Cow” operations. Its rear-loading ramp and three external cargo hooks provide multiple options for loading and unloading, facilitating efficient logistics operations under diverse conditions. Advanced Avionics and Systems: The “glass-cockpit” of the CH-47F is equipped with advanced avionics, including a Rockwell Collins Common Avionics Architecture System (CAAS) cockpit, BAE Systems' Digital Advanced Flight Control System (DAFCS), night vision-compatible displays, and modern navigation systems. These enhancements improve situational awareness and flight safety, particularly in challenging environments. Crew Capacity and Configuration: Typically operated by a crew of three (two pilots and a flight engineer), the CH-47F can also carry up to 3 gunners.  Enhanced Survivability: Advanced countermeasures suite, which includes radar warning receivers and infrared countermeasures. Its rugged airframe and systems redundancy are designed to withstand significant damage. The CH-47F is an essential component of any military or humanitarian fleet, capable of performing in the most demanding situations. Its enduring design and continual updates ensure that it will remain a key player in aviation for years to come. 
      Key Features of the DCS: CH-47F for early access release:
      Highly detailed external and internal modelling, including cockpit and cargo hold Unmatched helicopter flight dynamics that only DCS can provide Fully interactive, VR-ready cockpit  Full set of features will be announced prior to early access Pre-purchase yours today!
      Don’t miss the exclusive 30% discount during the pre-purchase phase. Hurry! This offer only lasts until launch.
       
      (Text from Eagle Dynamics)
    • By Tonci87
      I´m sure you have seen it in some movie, or read it in a story. 
      Someone who has no clue about airplanes has to get in one and fly off to somewhere.
      They usually just get in and fly away, but it is really that simple?
      Since I´m new to the flightsim genre I decide to dedicate my first flight to answering that question.
      https://www.youtube.com/watch?v=VMxr0QLArPc
    • By MigBuster
       

       
      "The Heatblur Simulations F-4E Phantom II is the culmination of over 2 years of intense development, preceded by countless hours of research and built with our next-gen technology that brings many new features, leaning on all the know-how gained from our previous modules. DCS: F-4 represents some of the most immersive cold war fighter jet simulation available. Climb into the cockpit of this beast and announce yourself with thunder, as you experience the thrill of riding a primeval spirit.
      DCS: F-4 includes, and models, both the DMAS and non-DMAS equipped F-4E Phantom II variants using the powerful J-79 engines. It utilizes our next-gen components based simulation framework - the aircraft is simulated as a connection of thousands of individual components. From an instrument needle to control surfaces, each component influences the state of the aircraft and even comes with its own wear and tear. Enjoy in depth fluids and electric simulations, a dynamic flight model and many new “firsts” in DCS, when flying and fighting in the F-4! 
      With the DCS F-4 we are introducing JESTER 2.0 - a completely rebuilt and redesigned JESTER AI to help you as your WSO, with improved and updated intelligence, a new interface and new immersive features, like pro-actively asking you questions depending on the situation - changing his behavior based on your answers. Teamwork is key in the Phantom. With JESTER 2.0 you will be able to not only enjoy this multiseat fighter in multiplayer with a friend, but also in singleplayer on your own. "
       
      There are 4 options to choose from on the Heatblur store only for now - Order at your own risk.
      https://store.heatblur.com/products/dcs-f-4-phantom
       
       
       
       
    • By MigBuster


      DCS Normandy 2 map released in early access, and discount on WWII fighter modules.
       
       
       
×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..