Αplion 1122 Posted August 6, 2012 I've made a Leo2A6 MBT and it seems to be ok into O2. My problem is that so far when I've imported into game I was unable to see the model (it is selectable as a unit). Then I put the MBT grouped with a soldier unit and I found that my model actually is placed far away to the sky !! Here is an image ... http://img.photobucket.com/albums/v648/aplion/ArmA2OA2012-08-0614-35-01-63.jpg I don't think that this is model.cfg or config.cpp problem as when I'm stating another p3d to my config model line (from my older projects), its working fine. So something must be wrong with my p3d ... note that the MBT consists by 12375 points - 12561 faces and 14 sections. There is no problem when view it through O2 Buldozer. Have also my model.cfg and config.cpp just in case you want to have a look. MODEL class CfgSkeletons { class LEO2A6HEL_MBT_Skeleton { isDiscrete=0; skeletonInherit=""; skeletonBones[]= { "podkoloL1","", "podkoloL2","", "podkoloL3","", "podkoloL4","", "podkoloL5","", "podkoloL6","", "podkoloL7","", "podkoloL8","", "podkoloL9","", "podkoloL10","", "kolL2","", "kolL1","", "koloL1","podkoloL1", "koloL1","podkoloL2", "koloL2","podkoloL3", "koloL3","podkoloL4", "koloL3","podkoloL5", "koloL4","podkoloL6", "koloL5","podkoloL7", "koloL5","podkoloL8", "koloL6","podkoloL9", "koloL7","podkoloL10", "podkoloP1","", "podkoloP2","", "podkoloP3","", "podkoloP4","", "podkoloP5","", "podkoloP6","", "podkoloP7","", "podkoloP8","", "podkoloP9","", "podkoloP10","", "kolP2","", "kolP1","", "koloP1","podkoloP1", "koloP1","podkoloP2", "koloP2","podkoloP3", "koloP3","podkoloP4", "koloP3","podkoloP5", "koloP4","podkoloP6", "koloP5","podkoloP7", "koloP5","podkoloP8", "koloP6","podkoloP9", "koloP7","podkoloP10", "poklop_driver","", "otocvez","", "otochlaven","otocvez", "bullets","otochlaven", "optic","otochlaven", "zasleh","otochlaven", "poklop_gunner","otocvez", "poklop_commander","otocvez", "otocvelitele","otocvez", "otochlavnevelitele","otocvelitele", "ammo_belt","otochlavnevelitele", "zasleh_1","otochlavnevelitele", "L_prot","", "pas_L","", "P_prot","", "pas_P","", "zbytek","", "otocvez","" }; }; }; class CfgModels { class LEO2A6HEL_MBT { sectionsInherit=""; sections[]= { "damage","telo","ammo_belt", "zasleh_1","zasleh","L svetlo","P svetlo","brzdove svetlo","zadni svetlo", "otochlaven","otocvez","otocvelitele","otochlavnevelitele","poklop_commander","poklop_gunner","poklop_driver", "vez","pas_L","telo","pas_P","L_prot","P_prot","f_prot","motor","zbran","gun","zbytek", "kolL2","koloL7","koloL6","koloL5","koloL4","koloL3","koloL2","koloL1","kolL1","pasoffsetL", "podkoloL1","podkoloL2","podkoloL3","podkoloL4","podkoloL5","podkoloL6","podkoloL7","podkoloL8","podkoloL9","podkoloL10", "koloL1B","koloL2B","koloL3B", "kolP2","koloP7","koloP6","koloP5","koloP4","koloP3","koloP2","koloP1","kolP1","pasoffsetP", "podkoloP1","podkoloP2","podkoloP3","podkoloP4","podkoloP5","podkoloP6","podkoloP7","podkoloP8","podkoloP9","podkoloP10", "koloP1B","koloP2B","koloP3B" }; skeletonName="LEO2A6HEL_MBT_Skeleton"; class Animations { class damage_kolL2 { type="hide"; selection="kolL2"; source="damage"; damageValue=1.0; }; class damage_L_prot { type="hide"; selection="L_prot"; source="damage"; damageValue=1.0; }; class damage_pas_L { type="hide"; selection="pas_L"; source="damage"; damageValue=1.0; }; class damage_kolL1 { type="hide"; selection="kolL1"; source="damage"; damageValue=1.0; }; class damage_koloL2 { type="hide"; selection="koloL2"; source="damage"; damageValue=1.0; }; class damage_koloL4 { type="hide"; selection="koloL4"; source="damage"; damageValue=1.0; }; class damage_koloL5 { type="hide"; selection="koloL5"; source="damage"; damageValue=1.0; }; class damage_kolP2 { type="hide"; selection="kolP2"; source="damage"; damageValue=1.0; }; class damage_P_prot { type="hide"; selection="P_prot"; source="damage"; damageValue=1.0; }; class damage_pas_P { type="hide"; selection="pas_P"; source="damage"; damageValue=1.0; }; class damage_koloP1 { type="hide"; selection="koloP1"; source="damage"; damageValue=1.0; }; class damage_koloP2 { type="hide"; selection="koloP2"; source="damage"; damageValue=1.0; }; class damage_koloP4 { type="hide"; selection="koloP4"; source="damage"; damageValue=1.0; }; class damage_koloP6 { type="hide"; selection="koloP6"; source="damage"; damageValue=1.0; }; class damage_poklop_commander { type="hide"; selection="poklop_commander"; source="damage"; damageValue=1.0; }; class damage_poklop_gunner { type="hide"; selection="poklop_gunner"; source="damage"; damageValue=1.0; }; class damage_poklop_driver { type="hide"; selection="poklop_driver"; source="damage"; damageValue=1.0; }; class zbytek { type="hide"; selection="zbytek"; source="damage"; damageValue=1.0; }; class mainTurret { type="rotationY"; source="mainTurret"; selection="otocvez"; axis="OsaVeze"; animPeriod=0; memory=1; minValue="rad -360"; maxValue="rad +360"; angle0="rad -360"; angle1="rad +360"; }; class mainGun { type="rotationX"; source="mainGun"; selection="otochlaven"; axis="OsaHlavne"; animPeriod=0; memory=1; minValue="rad -360"; maxValue="rad +360"; angle0="rad -360"; angle1="rad +360"; }; class obsTurret { type="rotationY"; source="obsTurret"; selection="otocvelitele"; axis="osa_velitele"; animPeriod=0; memory=1; minValue="rad -145"; maxValue="rad +145"; angle0="rad -145"; angle1="rad +145"; }; class obsGun { type="rotationX"; source="obsGun"; selection="otochlavnevelitele"; axis="osa_hlavnevelitele"; animPeriod=0; memory=1; minValue="rad -10"; maxValue="rad +20"; angle0="rad -20"; angle1="rad +20"; }; class hatchCommander { type="rotation"; source="hatchCommander"; selection="poklop_commander"; axis="osa_poklop_commander"; animPeriod=0; sourceAddress="clamp"; memory=1; minValue=0; maxValue=1; angle0=0; angle1="rad +180"; }; class hatchGunner { type="rotation"; source="hatchGunner"; selection="poklop_gunner"; axis="osa_poklop_gunner"; animPeriod=0; sourceAddress="clamp"; memory=1; minValue=0; maxValue=1; angle0=0; angle1="rad 180"; }; class erpL1 { type="rotationX"; source="wheelL"; selection="kolL1"; axis=""; memory=1; sourceAddress="loop"; minValue=0; maxValue=1; angle0=0; angle1="rad -360"; }; class erpL2:erpL1 { selection="koloL1"; }; class erpL3:erpL1 { selection="koloL2"; }; class erpL4:erpL1 { selection="koloL3"; }; class erpL5:erpL1 { selection="koloL4"; }; class erpL6:erpL1 { selection="koloL5"; }; class erpL7:erpL1 { selection="koloL6"; }; class erpL8:erpL1 { selection="koloL7"; }; class erpL9:erpL1 { selection="kolL2"; }; class erpL10:erpL1 { selection="koloL1B"; }; class erpL11:erpL1 { selection="koloL2B"; }; class erpL12:erpL1 { selection="koloL3B"; }; class erpP1:erpL1 { selection="kolP1"; }; class erpP2:erpL1 { selection="koloP1"; }; class erpP3:erpL1 { selection="koloP2"; }; class erpP4:erpL1 { selection="koloP3"; }; class erpP5:erpL1 { selection="koloP4"; }; class erpP6:erpL1 { selection="koloP5"; }; class erpP7:erpL1 { selection="koloP6"; }; class erpP8:erpL1 { selection="koloP7"; }; class erpP9:erpL1 { selection="kolP2"; }; class erpP10:erpL1 { selection="koloP1B"; }; class erpP11:erpL1 { selection="koloP2B"; }; class erpP12:erpL1 { selection="koloP3B"; }; class armot_erpL1 { type="translationY"; source="damper"; selection="podkoloL1"; axis=""; memory=1; sourceAddress="clamp"; minValue=0; maxValue=1; angle0=-10; angle1=10; }; class armot_erpL2:armot_erpL1 { selection="podkoloL2"; }; class armot_erpL3:armot_erpL1 { selection="podkoloL3"; }; class armot_erpL4:armot_erpL1 { selection="podkoloL4"; }; class armot_erpL5:armot_erpL1 { selection="podkoloL5"; }; class armot_erpL6:armot_erpL1 { selection="podkoloL6"; }; class armot_erpL7:armot_erpL1 { selection="podkoloL7"; }; class armot_erpL8:armot_erpL1 { selection="podkoloL8"; }; class armot_erpL9:armot_erpL1 { selection="podkoloL9"; }; class armot_erpL10:armot_erpL1 { selection="podkoloL10"; }; class armot_erpP1:armot_erpL1 { selection="podkoloP1"; }; class armot_erpP2:armot_erpL1 { selection="podkoloL2"; }; class armot_erpP3:armot_erpL1 { selection="podkoloP3"; }; class armot_erpP4:armot_erpL1 { selection="podkoloP4"; }; class armot_erpLP:armot_erpL1 { selection="podkoloP5"; }; class armot_erpP6:armot_erpL1 { selection="podkoloP6"; }; class armot_erpP7:armot_erpL1 { selection="podkoloP7"; }; class armot_erpP8:armot_erpL1 { selection="podkoloP8"; }; class armot_erpP9:armot_erpL1 { selection="podkoloP9"; }; class armot_erpP10:armot_erpL1 { selection="podkoloP10"; }; }; }; class LEO2A6HEL:LEO2A6HEL_MBT{}; }; CONFIG #define true 1 #define false 0 #define private 0 #define protected 1 #define public 2 #define TEast 0 #define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 #define VSoft 0 #define VArmor 1 #define VAir 2 #define ReadAndWrite 0 #define ReadAndCreate 1 #define ReadOnly 2 #define ReadOnlyVerified 3 class WeaponFireGun; // External class reference class WeaponCloudsGun; // External class reference class WeaponFireMGun; // External class reference class WeaponCloudsMGun; // External class reference class CfgPatches { class LEO2A6HEL_MBT { units[] = {"Leopard2A6HEL"}; requiredVersion = 0.1000; weapons[] = {}; requiredAddons[] = {"CAData", "CACharacters", "CAWeapons", "CASounds","GREEK_SOLDIERS"}; }; }; class CfgFactionClasses { class LEO2A6 { displayName = "LEO Vehicles"; priority = 8; side = 1; }; }; class CfgVehicleClasses { class LEO2A6_TANK { displayName = "Greek Army LEO2A6"; }; }; class CfgVehicles { /*extern*/ class Land; class LandVehicle : Land { class NewTurret; // External class reference class ViewOptics; // External class reference class ViewPilot; // External class reference class HeadLimits; // External class reference class AnimationSources; }; class Tank : LandVehicle { class HitHull ; class HitLTrack; class HitRTrack ; class HitEngine ; class Turrets { class MainTurret : NewTurret { class HitTurret; class HitGun ; class Turrets { class CommanderOptics : NewTurret { class ViewOptics ; class ViewGunner ; }; }; }; }; class AnimationSources; class ViewOptics ; }; class LEO2A6HEL:Tank { scope=2; displayName="Leopard 2A6"; vehicleClass="LEO2A6_TANK"; faction = "GREECE"; model="Leo2A6HEL\Leo2A6HEL.p3d"; picture = "Leo2A6HEL\ico\leo2a6_ca.paa"; Icon = "Leo2A6HEL\ico\leo2a6map_ca.paa"; mapSize = 11; crew = "GREEK_SOLDIER_Crew"; side = 1; nameSound = "Abrams"; accuracy = 0.700000; fuelCapacity = 955; armor = 900; armorStructural = 6.0; cost = 4000000; maxSpeed = 75; driverForceOptics = 1; class Exhausts { class Exhaust1 { position = "vyfuk start"; direction = "vyfuk konec"; effect = "ExhaustsEffect"; }; class Exhaust2 { position = "vyfuk1 start"; direction = "vyfuk1 konec"; effect = "ExhaustsEffect"; }; }; soundEngine[] = {"\ca\Tracked\Data\Sound\M1A1_engine", 562.341370, 0.850000}; soundEnviron[] = {"\ca\Tracked\Data\Sound\M1A1_treads2", 56.234135, 1}; soundGetOut[] = {"\ca\Tracked\Data\Sound\tank_door", 0.010000, 1}; soundGetIn[] = {"\ca\Tracked\Data\Sound\tank_door", 0.010000, 1}; typicalCargo[] = {"GREEK_SOLDIER_Crew", "GREEK_SOLDIER_Crew", "GREEK_SOLDIER_Crew"}; class HitHull { armor = 0.90; material = 60; name = "telo"; visual = "telo"; passThrough = 1; }; class HitLTrack { armor = 0.15; material = 59; name = "pas_L"; visual = "pas_L"; passThrough = 0; }; class HitRTrack { armor = 0.15; material = 58; name = "pas_P"; visual = "pas_P"; passThrough = 0; }; class HitEngine { armor = 0.40; material = 57; name = "motor"; visual = "motor"; passThrough = 1; }; class HitFrontProtector { armor = 0.50; material = 61; name = "f_prot"; visual = "f_prot"; passThrough = 0; }; class HitRGlass { armor = 0.05; material = 63; name = "P_svetlo"; visual = ""; passThrough = 0; }; class HitLGlass { armor = 0.05; material = 62; name = "L_svetlo"; visual = ""; passThrough = 0; }; class HitL_prot { armor = 0.40; material = 65; name = "L_prot"; visual = "L_prot"; passThrough = 0; }; class HitP_prot { armor = 0.40; material = 64; name = "P_prot"; visual = "P_prot"; passThrough = 0; }; class Turrets: Turrets { class MainTurret: MainTurret { gunnerAction = "Abrams_Gunner"; gunnerInAction = "Abrams_Gunner"; weapons[] = {"L7A3","MG3_coax"}; soundServo[] = {"\ca\Weapons\Data\Sound\gun_elevate", 0.003162, 1.000000}; magazines[] = {"40Rnd_105mmHEAT","15Rnd_105APDS","5000XMG3_762","6XHWM_Smoke","6XHWM_Smoke"}; opticsZoomMin = 0.00000; opticsZoomMax = 5.10000; gunnerOpticsModel = "\ca\Tracked\optika_tank_gunner"; memoryPointGunnerOptics = "gunnerview"; class HitTurret { armor = 0.90; material = 56; name = "vez"; visual = "vez"; passThrough = 1; }; class HitGun { armor = 0.60; material = 55; name = "gun"; visual = "gun"; passThrough = 0; }; class HitComGun { armor = 0.2; material = 54; name = "zbran"; visual = "zbran"; passThrough = 0; }; class Turrets: Turrets { class CommanderOptics: CommanderOptics { gunBeg = "gun_muzzle"; gunEnd = "gun_chamber"; minElev = -10; maxElev = 20; initElev = 0; minTurn = -145; maxTurn = 145; initTurn = 0; weapons[] = {"MG3_veh"}; magazines[] = {"MG3_762V","MG3_762V","MG3_762V","MG3_762V","MG3_762V"}; outGunnerMayFire = 1; inGunnerMayFire = 1; memoryPointGunnerOptics = "commanderview"; gunnerName = "$STR_POSITION_COMMANDER"; gunnerAction = "Abrams_CommanderOUT"; gunnerInAction = "Abrams_Commander"; gunnerOpticsModel = "\ca\Tracked\optika_tank_gunner"; }; }; }; }; class AnimationSources { }; class userActions { class smokeL { onlyForPlayer = 1; showWindow = 1; priority = 4.7; displayNameDefault = "<img image='Leo2A6HEL\ui\leo_deploy_smoke.paa' size='3' shadow='false' />"; displayName="Deploy Smoke"; position="kulas"; radius=2; condition="(player == gunner this)"; statement="[this] exec ""Leo2A6HEL\scripts\smoker.sqs"""; }; }; driverAction = "Abrams_Driver"; driverInAction = "Abrams_Driver"; threat[] = {1, 1, 0.300000}; class EventHandlers { killed = "(_this select 0) exec ""Leo2A6HEL\scripts\Leodestruct.sqs"""; init = "(_this select 0) exec ""Leo2A6HEL\scripts\leo_init.sqs"""; }; class Damage { tex[] = {}; mat[] = {}; }; class Library { }; class DestructionEffects { class Fire1 { simulation = "particles"; type = "BarelDestructionFire"; position = "destructionEffect1"; intensity = 0.15; interval = 1; lifeTime = 3; }; class LightExp { simulation = "light"; type = "ObjectDestructionLight"; position = "destructionEffect1"; intensity = 0.001; interval = 1; lifeTime = 0.5; }; class Smoke1 { simulation = "particles"; type = "Vehexpldode"; position = "destructionEffect1"; intensity = 0.5; interval = 1; lifeTime = 0.04; }; class Sound { simulation = "sound"; type = "Fire"; position = "destructionEffect1"; intensity = 1; interval = 1; lifeTime = 2; }; class Smokelongtimed { simulation = "particles"; type = "BarelDestructionSmoke"; position = "destructionEffect1"; intensity = 0.25; interval = 1; lifeTime = 3.2; }; }; }; }; In case more info needed in order to help me on that please let me know. Thanks in advance. Share this post Link to post Share on other sites
Αplion 1122 Posted August 6, 2012 (edited) Well ... problem solved placing the autoCenter=0 at Geometry LOD properties ... Edited August 7, 2012 by Aplion Share this post Link to post Share on other sites
Αplion 1122 Posted August 7, 2012 (edited) Well ... problem solved placing the autoCenter=0 at Geometry LOD properties ... Well that "flying tank" problem solved as I said, but now I'm facing another major issue ... my tank geometry seems to work fine only when a vehicle or man try to pass through it but when I'm using the vehicle seems to have no geometry as there is no collision with any object on its way (static or not). Any thoughts will be much appreciated. Edited August 7, 2012 by Aplion Share this post Link to post Share on other sites
Αplion 1122 Posted August 8, 2012 I'm attaching a photo just to make more clear which my problem is ... http://img.photobucket.com/albums/v648/aplion/ArmA2OA2012-08-0812-47-46-15.jpg Share this post Link to post Share on other sites
[aps]gnat 28 Posted August 8, 2012 Screen shot of your geometry lod? Structure->Topology->Find Components? Share this post Link to post Share on other sites
Αplion 1122 Posted August 8, 2012 Gnat;2203452']Screen shot of your geometry lod?Structure->Topology->Find Components? Here is the screenshot mate ... http://prntscr.com/dfi8a I've made everything regarding Structure->Topology->Find Components and I've tried also Structure->Convexity->Component Convex Hull ... same results ... Share this post Link to post Share on other sites
Sealife 22 Posted August 8, 2012 (edited) Make sure all components have mass Check by clicking individually oh and I think damage engine is ofp days , not quite sure what modern equivalent is ,if there's a need at all , I think simulation damage type covers it in cpp these days Edited August 8, 2012 by Thromp Share this post Link to post Share on other sites
Αplion 1122 Posted August 8, 2012 Make sure all components have mass Check by clicking individually I did that already mate ... Just a thought ... when I was imported the model from 3ds max as a 3ds file ... during import (by my mistake) I was set the Master Scale to 1 : 1000 instead of 1 : 1 and after that I was scaled up in O2 the model to the appropriate size. Note that by that mistake I made, every time I'm trying to use Structure->Center All ... the model is just disappearing from the scene and I can't find it (I'm forcing to use "undo"). On the other side when I'm trying to import the model as OBJ there is no problem with Structure->Center All and the model seats in the center of the scene. Do you think that this has something to do with my problems (first was a "flying tank" and now the geometry issue) ? Share this post Link to post Share on other sites
[aps]gnat 28 Posted August 8, 2012 Imported models CAN have problems. Suggest export to Universal BIStudio TXT, then Import again. Share this post Link to post Share on other sites
Αplion 1122 Posted August 8, 2012 Gnat;2203621']Imported models CAN have problems. Suggest export to Universal BIStudio TXT' date=' then Import again.[/quote']I just did that without success ... still my model have the same geometry problem ... Share this post Link to post Share on other sites
Sealife 22 Posted August 8, 2012 Hmm if it disappears when structure all you may have imported some rogue verts somewhere Copy the main tank into an edit lod , go back to original lod , delete the main tank and then find components see if there is something somewhere making it broken. You could also try in game to get bounding box return and see if it makes sense for size of tank. Also check binaries log and arma .rpt for sign of. Strange convex component in component 0x . Share this post Link to post Share on other sites
Αplion 1122 Posted August 8, 2012 Hmm if it disappears when structure all you may have imported some rogue verts somewhere Copy the main tank into an edit lod , go back to original lod , delete the main tank and then find components see if there is something somewhere making it broken. I did that and there was some rogue verts ... but even deleted them nothing change ... You could also try in game to get bounding box return and see if it makes sense for size of tank. I'm not sure what you mean by that and I don't know how to do it also :) is it possible to guide me ? Also check binaries log and arma .rpt for sign of. Strange convex component in component 0x . I've no strange convexes in components but when I'm applying the rvmats for my textures then I'm getting this error almost for every point of my model "Warning: p:\leo2a6hel\leo2a6hel.p3d:0 Error while trying to generate ST for points: 2253, 2249, 2251" ... But note that even without the rvmats (and this error) the geometry problem is still occurs. ---------- Post added at 18:07 ---------- Previous post was at 16:55 ---------- Finally the problem fixed .... probably it was a bad import from max to o2 ... I re-imported it but this time as OBJ instead of 3DS ... so far so good as its is not flying :) and the geometry seems to work as it should. Thank you all for the help and I'll keep this thread alive just in case of more problems may occur during process ... after I'll have the model complete and decent into game maybe I'll write a tutorial for other modders :) Share this post Link to post Share on other sites
wld427 1705 Posted August 13, 2012 removed... congrats on fixing your issues Share this post Link to post Share on other sites