Jump to content

Optical_Tyranno

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral
  1. The issue with the science icon being replaced by cargo is because of SubCategories_Cargo.cfg. It also creates a subcategory named "Science" using "stockIcon_cargo". I'm assuming that because it has the same name as the stock category, it calls the wrong one. Renaming it to something else fixes it.
  2. Yes, but then I somehow borked it a minute later. I swear I had it working with categories, but was unable to get it functioning using categories again. The code below does work, but calls out robotics parts individually by name. FilterByFunction.cfg CATEGORY { name = Filter by Function type = stock value = replace SUBCATEGORIES { list = 0,Pods list = 1,Fuel Tanks list = 2,Engines list = 3,Command and Control list = 4,Structural list = 5,Robotics list = 6,Coupling list = 7,Payload list = 8,Aerodynamics list = 9,Ground list = 10,Thermal list = 11,Electrical list = 12,Communications list = 13,Science list = 14,Cargo list = 15,Utility } } SubCategories_Stock.cfg SUBCATEGORY { name = Pods icon = stockIcon_pods FILTER { CHECK { type = category value = Pods } } } SUBCATEGORY { name = Fuel Tanks icon = stockIcon_fueltank FILTER { CHECK { type = category value = FuelTank, Propulsion } } } SUBCATEGORY { name = Engines icon = stockIcon_engine FILTER { CHECK { type = category value = Engine } } } SUBCATEGORY { name = Command and Control icon = stockIcon_cmdctrl FILTER { CHECK { type = category value = Control } } } SUBCATEGORY { name = Structural icon = stockIcon_structural FILTER { CHECK { type = category value = Structural } } } SUBCATEGORY { name = Robotics icon = serenityIcon_robotics FILTER { CHECK { type = name value = hinge_01, hinge_01_s, hinge_03, hinge_03_s, hinge_04, piston_01, piston_02, piston_03, piston_04, rotor_01, rotor_02, rotor_03, rotoServo_00, rotoServo_02, rotoServo_03, rotoServo_04 } } } SUBCATEGORY { name = Coupling icon = stockIcon_coupling FILTER { CHECK { type = category value = Coupling } } } SUBCATEGORY { name = Payload icon = stockIcon_payload FILTER { CHECK { type = category value = Payload } } } SUBCATEGORY { name = Aerodynamics icon = stockIcon_aerodynamics FILTER { CHECK { type = category value = Aero } } } SUBCATEGORY { name = Ground icon = stockIcon_ground FILTER { CHECK { type = category value = Ground } } } SUBCATEGORY { name = Thermal icon = stockIcon_thermal FILTER { CHECK { type = category value = Thermal } } } SUBCATEGORY { name = Electrical icon = stockIcon_electrical FILTER { CHECK { type = category value = Electrical } } } SUBCATEGORY { name = Communications icon = stockIcon_communication FILTER { CHECK { type = category value = Communications } } } SUBCATEGORY { name = Science icon = stockIcon_science FILTER { CHECK { type = category value = Science } } } SUBCATEGORY { name = Cargo icon = stockIcon_cargo FILTER { CHECK { type = category value = Cargo } } } SUBCATEGORY { name = Utility icon = stockIcon_utility FILTER { CHECK { type = category value = Utility } } }
  3. I fixed the issue of stock categories not working as replacers. I deleted every single config file except for SubCategories_Stock and FilterByFunction. Still didn't work. So I sorted the filter by functions to Squad default. Then I went through SubCategories_Stock, figuring it might be some kind of load order issue, and sorted those to the same order as defined in FilterByFunction. It was then that I realized that... SubCategories_Stock doesn't define the subcategory "Payload." I added it in and everything works as it should in replacing stock categories.
×
×
  • Create New...