I am currently attempting to make a mod that mods various other mods such as USAF to customize vehicle configs for my servers. I am attempting to make inventory gear in the A10s in the USAF Mod accessible from outside the plane much like all of the vanilla vehicles. I have tried numerous changes to the configs in cfgVehicles, however I cannot seem to find a single function the handles this. I have gone as far as to create my own UserAction that would allow me to access the A10s gear as the target to the action. However, when I approach the A10, and select the inventory action, I only get access to my gear and the ground. When I enter the A10 with the UserAction added I get 2 inventory options, one the works (the orgininal) and one that doesn't (the UserAction). It seems there should be a config setting that would allow a modder to toggle 'accessing the vehicle's inventory from outside the vehicle' and toggle 'accessing the vehicle's inventory from inside the vehicle'. something like "showVehicleInventoryInside" and "showVehicleInventoryOutside".
Description
Details
- Legacy ID
- 3365211693
- Severity
- None
- Resolution
- No Bug
- Reproducibility
- Always
- Category
- Modding
I am using the following config.cpp to attempt to change the A10:
class cfgPatches
{
class UwU_A10
{
author[]= { "Ultima-weapon" }; requiredVersion=0.1; requiredAddons[]= { "USAF_A10" }; units[]= { "A10_UwU", "A10_Black01_UwU", "A10_Desert01_UwU", "A10_Green01_UwU", "A10_Winter01_UwU", "A10_Hog_UwU", "A10_Panth_UwU", "A10_Shark_UwU", "A10_Black02_UwU", "A10_Black_Hog_UwU", "A10_Black_Panther_UwU", "A10_Black_Shark_UwU", "A10_Desert02_UwU", "A10_Green02_UwU", "A10_Green_Hog_UwU", "A10_Green_Shark_UwU", "A10_Winter02_UwU" }; weapons[]={}; fileName="UwU_Configs.pbo";
};
};
#define A10_CONFIG(NAME,OLDNAME,DN,TEXTURE1,TEXTURE2) \
class NAME: OLDNAME \
{ \
dlc="UwU_Mod"; \ author="Ultima-weapon"; \ scope=2; \ scopeCurator=2; \ displayName=##DN##; \ hiddenSelectionsTextures[]= \ { \ ##TEXTURE1##, \ ##TEXTURE2##, \ "", \ "" \ }; \ vehicleClass="Air"; \ armor=300; \ fuelCapacity=2000; \ maximumLoad=2000; \
};
class CfgVehicles
{
class USAF_A10;
A10_CONFIG(A10_UwU,USAF_A10,"A-10","\USAF_A10\data\a10_01_co.paa","\USAF_A10\data\a10_02_co.paa");
A10_CONFIG(A10_Black01_UwU,USAF_A10,"A-10 (Black 1)","\USAF_A10\skins\a10_01_black_co.paa","\USAF_A10\skins\a10_02_black_co.paa");
A10_CONFIG(A10_Desert01_UwU,USAF_A10,"A-10 (Desert 1)","\USAF_A10\skins\a10_01_desert_co.paa","\USAF_A10\skins\a10_02_desert_co.paa");
A10_CONFIG(A10_Green01_UwU,USAF_A10,"A-10 (Green 1)","\USAF_A10\skins\a10_01_green_co.paa","\USAF_A10\skins\a10_02_green_co.paa");
A10_CONFIG(A10_Winter01_UwU,USAF_A10,"A-10 (Winter 1)","\USAF_A10\skins\a10_01_winter_co.paa","\USAF_A10\skins\a10_02_winter_co.paa");
A10_CONFIG(A10_Hog_UwU,USAF_A10,"A-10 (Hog)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_hog.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co.paa");
A10_CONFIG(A10_Panth_UwU,USAF_A10,"A-10 (Panther)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_panth.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co.paa");
A10_CONFIG(A10_Shark_UwU,USAF_A10,"A-10 (Shark)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_shark.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co.paa");
A10_CONFIG(A10_Black02_UwU,USAF_A10,"A-10 (Black 2)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_black.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_black.paa");
A10_CONFIG(A10_Black_Hog_UwU,USAF_A10,"A-10 (Black Hog)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_black_hog.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_black.paa");
A10_CONFIG(A10_Black_Panther_UwU,USAF_A10,"A-10 (Black Panther)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_black_panth.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_black.paa");
A10_CONFIG(A10_Black_Shark_UwU,USAF_A10,"A-10 (Black Shark)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_black_shark.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_black.paa");
A10_CONFIG(A10_Desert02_UwU,USAF_A10,"A-10 (Desert 2)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_desert.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_desert.paa");
A10_CONFIG(A10_Green02_UwU,USAF_A10,"A-10 (Green 2)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_green.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_green.paa");
A10_CONFIG(A10_Green_Hog_UwU,USAF_A10,"A-10 (Green Hog)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_green_hog.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_green.paa");
A10_CONFIG(A10_Green_Shark_UwU,USAF_A10,"A-10 (Green Shark)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_green_shark.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_green.paa");
A10_CONFIG(A10_Winter02_UwU,USAF_A10,"A-10 (Winter 2)","\UwU_Configs\Vehicles\Air\A10\skins\a10_01_co_winter.paa","\UwU_Configs\Vehicles\Air\A10\skins\a10_02_co_winter.paa");
};
Load the game with the USAF Mod and the config mod, go to the editor, add an A10, preview, walk up next to the A10 and try to access the inventory from outside. Enter the A10, you will be able to access it.
This is one of several vehicles from several mods that I am attempting to do this with and have spent several days attempting to figure it out. It seems as though the configs do not have these functions built in and they are possibly elsewhere. Please help. Thanks.
Event Timeline
Hello,
thank you for your feedback and interest, howeverthis is a question rather for a modding community and forums.
https://forums.bistudio.com/forum/161-arma-3-editing/
This link might prove useful :)