+Gepard Posted February 14, 2009 Posted February 14, 2009 I thought some skyscrapers would be nice for some terrains. because i found no one i made some myself. So far, so good. But i have a small problem. It is impossible to collide with them. You can simply fly through the building without damaging the plane. Has someone an idea how to fix it? [TargetType131] Name=Hochhaus8 FullName=Hochhaus ModelName=Hochhaus8.lod TargetType=CITY_BUILDING ActiveYear=0 TargetValue=1000.0 UseGroundObject=FALSE DamagePoint=100.0 ArmorValue=30000.0 ArmorType=1 RepairRate=0.10 StartDetectChance=0 StartIdentifiedChance=0 IncreaseDetectChanceKey=0 MaxVisibleDist=18000.0 CollisionMesh=Hochhaus8.lod DestroyedEffect=LargeShortStructureCollapse DestroyedModel= Quote
Fubar512 Posted February 14, 2009 Posted February 14, 2009 You need to give them "hit boxes". You can do so by simply defining min and max extents, as you would with any other object (planes, ships, tanks, etc.) Quote
Gunrunner Posted February 14, 2009 Posted February 14, 2009 (edited) Changing the TargetType to one with a collision box ? IIRC you can't collide with CITY_BUILDINGs even though the entries suggest otherwise. PS : Fubar's faster and more useful :-) Edited February 14, 2009 by Gunrunner Quote
Fubar512 Posted February 14, 2009 Posted February 14, 2009 Upon researching it a bit further, it seems that the collision data for a terrain object, would be contained in a separate collision mesh. Simply having the model .lod pull double-duty obviously doesn't cut it. Quote
Wrench Posted February 14, 2009 Posted February 14, 2009 things like the WoV bridges, as I know that for sure having extracted them for use on SoCal, have a ***COL.LOD. Wrench kevin stein Quote
+Gepard Posted February 15, 2009 Author Posted February 15, 2009 Tja, i tried to make hit boxes. Either i'm to stupid to do it or it does not work at this way. Also the idea, that you cant collide with City_Building seems to be not correct. I put the stock City_Building2 for test reasons on the map and tried to collide with it. It was 100% successfull. So i thought that a collision_mesh would be the right solution.I tried following way: I made a copy of Hochhaus8.lod, renamed it into Hochhaus8_Col.lod and the i changed the entry in the targettypes into CollisionMesh=Hochhaus8.lod And i failed! At the moment i'm really helpless. Has someone an idea? Quote
Erwin_Hans Posted February 15, 2009 Posted February 15, 2009 I guess........ There will be a new Taiwan Haixia version? Quote
+Gepard Posted February 15, 2009 Author Posted February 15, 2009 If i can get this damn Skyscrappers run properly, then yes. But i cant. And i dont know why. Other objects, like the Coolingtowers in my Deutschland terrain are without problems. No collision_mesh is set, but you can collide with them. And this f.... skyscrapers ... I hate them! Quote
Wrench Posted February 15, 2009 Posted February 15, 2009 I want skyscrapers!!! Maybe asking TK??? Since I know too damn little about building stuff in MAX, maybe he'd know something Wrench kevin stein Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.