Hallo Leute !!
Habe bei 2 selbsterstellten p3d config Probleme:
1. USB Stick: Er wird mir im Arsenal und im Inventar angezeigt, kann in aufnehmen und ablegen, aber leider kann ich ihn nicht mit dem Editor oder Zeus sowie ein Medikit oder dergleichen setzen.
Code: config.cpp
- class CfgWeapons
- {
- class ItemCore;
- class InventoryItem_Base_F;
- class Usb_Stick_Item: ItemCore
- {
- author = "[TFE] Survival";
- displayName = "USB 64Gb";
- model = "\sc_usb_stick\sc_usb_stick_64.p3d";
- scope = 2;
- scopeArsenal = 2;
- scopeCurator = 2;
- simulation= "ItemMineDetector";
- picture = "\sc_usb_stick\Data\sc_usb_stick_ui_64.paa";
- UIpicture = "\sc_usb_stick\Data\sc_usb_stick_ui_64.paa";
- descriptionShort = "USB 64Gb";
- class ItemInfo: InventoryItem_Base_F
- {
- mass=0.1;
- uniformModel="\sc_usb_stick\sc_usb_stick_64.p3d";
- picture = "\sc_usb_stick\Data\sc_usb_stick_ui_64.paa";
- UIpicture = "\sc_usb_stick\Data\sc_usb_stick_ui_64.paa";
- };
- };
- };
2 Headbag: Dieses Thema wird in mehreren Foren beredet aber leider bin ich schon seit 1 Woche da dran und es funktioniert nicht. Die Kopfbedeckung spawnt immer auf Hüfthöhe (vor ner Woche war sie noch am Boden ;)) habe p3d Datei schon 1000x kontrolliert und das Script auch autocenter ist auf 0. Weis nicht was ich da sonst noch machen soll.
Code
- class CfgPatches
- {
- class sc_Headbag
- {
- units[] = {};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {};
- };
- };
- class cfgWeapons
- {
- class ItemCore;
- class HeadgearItem;
- class sc_Headbag: ItemCore
- {
- scope = 2;
- displayName = "Headbag";
- weaponPoolAvailable = 1;
- picture = "\sc_headbag\headbag_ui.paa";
- model = "\sc_headbag\sc_headbag.p3d";
- hiddenSelections[] = {"camo"};
- hiddenSelectionsTextures[] = {"\sc_headbag\headbag_co.paa"};
- hitpointName = "HitHead";
- class ItemInfo : HeadgearItem
- {
- mass = 2;
- uniformModel = "\sc_headbag\sc_headbag.p3d";
- modelSides[] = {6};
- class HitpointsProtectionInfo
- {
- class Head
- {
- hitPointName = "HitHead";
- armor = 0;
- passThrough = 1;
- };
- };
- };
- };
- };
Ich bedanke mich im schon vorraus für jede Antwort!!!
PS: falls ihr die Dateien braucht kann ich sie dem jenigen per pn zukommen lassen