fuzzysquirrel 10 Posted February 27, 2011 (edited) I've been working on a building and for some reason the Geometry does not work. Its 36 Components all Convex and Closed. The Geo has 274 points and 204 Faces. Its Mass is 36000, 1000 for each component. I'm pretty sure its the geo but then I'm not sure because ingame if you dont focus on the building it just disappears and comes back when you look at it. It did work when I just started working on it but now after no changes it does not work. I've tried multiple masses, merging points, and redoing about half the geo but it doesn't work, so I'm lost. I'll post the Confg.cpp, Model.cfg and If you wanna look at the model pm me and I'll give you the MLOD. Model.cfg =============== class CfgSkeletons { class Default; // External class reference class Strategic; // External class reference class buildingBones : Strategic { isDiscrete = 1; skeletonInherit = ""; skeletonBones[] = {"garage_door","", "garage_doorswitch","", "door1", "", "door1switch", "door1", "door2", "", "door2switch", "door2",}; }; }; class Rotation; // External class reference class CfgModels { class Default { sections[] = {""}; sectionsInherit = ""; }; class Strategic : Default {}; class building : Strategic { sectionsInherit = ""; sections[] = {}; skeletonName = "buildingBones"; class Animations { class door1 { source = "slow_func"; type = "rotation"; animPeriod = 2; selection = "door1"; axis = "door1axis"; angle0 = 0; angle1 = 0.029; }; class door2 { source = "slow_func"; type = "rotation"; animPeriod = 2; selection = "door2"; axis = "door2axis"; angle0 = 0; angle1 = 0.029; }; }; }; }; =============== Config.cpp =============== class CfgVehicleClasses { class il_Buildings { displayName = "Buildings"; }; }; class CfgPatches { class il_Buildings { units[] = {"building"}; weapons[] = {}; requiredVersion = 0; requiredAddons[] = {}; }; }; class CfgVehicles { class House; class building : House { vehicleClass = "il_Buildings"; displayName = "Building"; model = "\building\building.p3d"; scope = 2; icon = "\Ca\buildings\Icons\i_Fortress_02_CA.paa"; mapSize = 10; nameSound = "Building"; accuracy = 0.2; animated = 1; transportFuel = 10000000; cost = 0; armor = 10000000000; class AnimationSources { class slow_func { source = "user"; animPeriod = 2; initPhase = 0; }; }; class UserActions { class Opendoor1 { displayName = "Open Door"; position = "door1switch"; radius = 2; onlyforplayer = 0; condition = "this animationPhase ""door1"" < 0.5"; statement = "this animate [""door1"",1]; this say ""dooropen"""; }; class Closedoor1 { displayName = "Close Door"; position = "door1switch"; radius = 2; onlyforplayer = 0; condition = "this animationPhase ""door1"" >= 0.5"; statement = "this animate [""door1"",0]; this say ""doorclose""; this setDammage 0"; }; class Opendoor2 { displayName = "Open Door"; position = "door2switch"; radius = 2; onlyforplayer = 0; condition = "this animationPhase ""door2"" < 0.5"; statement = "this animate [""door2"",1]; this say ""dooropen"""; }; class Closedoor2 { displayName = "Close Door"; position = "door2switch"; radius = 2; onlyforplayer = 0; condition = "this animationPhase ""door2"" >= 0.5"; statement = "this animate [""door2"",0]; this say ""doorclose""; this setDammage 0"; }; }; }; }; =============== http://i440.photobucket.com/albums/qq121/Fuzzy_Squ1rrel/geo.png Note, It loads in game fine, and the animations work fine, its just the geo and the weird disappearing but it has. FIXED Edited February 27, 2011 by FuzzySquirrel Fixed the issue Share this post Link to post Share on other sites
JDog 11 Posted February 27, 2011 I'll take a look at it if you send it my way, dunno how much help just seeing the config/model.cfg will be for a geometry issue. Share this post Link to post Share on other sites
fuzzysquirrel 10 Posted February 27, 2011 I'll take a look at it if you send it my way, dunno how much help just seeing the config/model.cfg will be for a geometry issue. I fixed it, Geo wasn't detailed enough so I redid it all. Thanks for offering though. Share this post Link to post Share on other sites
JDog 11 Posted February 28, 2011 What do you mean it wasn't "detailed enough?", never heard of that. Usually things are TOO detailed never the other way around. One single cube is detailed enough for geometry lol. Share this post Link to post Share on other sites