ricki 0 Posted August 11, 2007 Hi there! I made a little model, still without textures... and would like to make it usable like a "backpack". Therefor i need a config to have this thing shown in the slot for launcher weapons. I did this so far: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> //MY ADDON CONFIG FILE #define private 0 #define protected 1 #define public 2 #define true 1 #define false 0 #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 class CfgPatches { class MY_Addon //my Addon Name { units[] = {"MY_NewUnit"}; //my new Unit weapons[] = {"MY_wpn_ico"}; //my new wpn definded as weapon 4 Launcher Slot only as icon requiredVersion = 1.00; requiredAddons[] = {"CAData","CACharacters","CAWeapons"}; }; }; //------------------------------------- class CfgWeapons { class Default; // External class reference class Pistol; // External class reference class PistolCore; // External class reference class RifleCore; // External class reference class MGunCore; // External class reference class LauncherCore; // External class reference class GrenadeCore; // External class reference class CannonCore; // External class reference class MY_wpn_ico: LauncherCore { scope = 2; model = "\MyAddon\thing"; //path of model - do not show maybe: model = ""; modelOptics = ""; displayName = "My_Thing_No_1"; picture = "\MyAddon\data\Ico\My_wpn.paa"; magazines[] = {"this"}; cursorAim = ""; sound[] = {"", 0, 1}; showSwitchAction = 1; canLock = 0; useAsBinocular = 0; useActionTitle = "Deploy Thing"; forceOptics = 0; primary = 0; value = 20; optics = 0; reloadTime = 0.000000; opticsZoomMin = 0.085000; opticsZoomMax = 0.085000; class Library { libTextDesc = "some text about my thing"; }; }; }; Next thing is, i just want to have it as an icon in the slot for launcher weapons. The "thing-model" should not appear on the back of my grunt. There should be an action like "Deploy thing" and my grunt (this is probably done by script) deploys the thing onto the ground. After that more actions should become available. So my main problem is to get the config for the "thing-icon" in the gear screen working. Thanks in advance if someone could help me out. regards ricki Share this post Link to post Share on other sites