dscha 147 Posted August 3, 2015 Okay, I am feeling kinda dumb atm... I must have missed something. Spawned Object in Editor -> "typeOf cursorTarget" -> Works. So far so good, it takes the name of the config.cpp. Thats fine. But: Same Model on the Map: NearestObjects -> Works. (in this case: "TestObject.p3d") NearestObjects + TypeOf -> Works (in this case: "Land_TestObject") CursorTarget -> Nope, Null-Object. Did i miss something important? Scratching my head for a few hours now. What else needs to be set up in the model.cfg / config.cpp. . Test-Model: LODs: 0.000 Geometry + GeometryPhys LOD: Property names/+entry: class: house map: Building sbsource: shadowvolume prefershadowvolume: 0 LODNoShadow: 1 Config.cpp #define _ARMA_ class CfgPatches { class PatchTestObject { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; }; }; class CfgAddons { class My_TestObject { list[]={"Land_TestObject"}; }; }; class CfgVehicleClasses { class TestingerObjects { displayName = "TestingerObjects"; }; }; class CfgVehicles { class House_F; class Land_TestObject: House_F { model = "\TestObject"; scope = 0; armor=800; vehicleClass = "TestingerObjects"; featureSize = 30; }; }; class CfgSkeletons { class Default { isDiscrete=1; skeletonInherit=""; skeletonBones[]={}; }; class TestObject_Skel: Default { isDiscrete=1; skeletonInherit=""; skeletonBones[]={}; }; }; class Rotation; class CfgModels { class Default; class TestObject: Default { skeletonName="TestObject_Skel"; sectionsInherit=""; sections[]={}; class Animations{}; }; }; Share this post Link to post Share on other sites
Ranwer135 308 Posted August 4, 2015 try setting scope to 2. That might work. Share this post Link to post Share on other sites
dscha 147 Posted August 4, 2015 Nope. It seems like, it has something to do with the Map. Tried the same Model on a different Map -> worked *strange* (just tested, a few minutes ago) EDIT: Okay, iam just confused now. Vanilla A3 Buildings -> cursorTarget works. CustomBuildings -> Don't work. Same Model on AIA Chernarus (exchanged Model) Vanilla A3 Buildings -> cursorTarget works CustomBuildings -> cursorTarget works. *scratching Head* Anyone? oO Share this post Link to post Share on other sites
dscha 147 Posted August 5, 2015 Solved. Map has been binarized wrong(?). After re-binarizing (Map), it works. Share this post Link to post Share on other sites