VXR 9 Posted January 4, 2013 I have been busy working on a YPR-765 for Arma 2, the model and texture is nearly completed so I decided to get the vehicle ingame already. When not beeing used to coding, only did some back in Arma 1 I ran into several problems. Soul_Assassin also had a look at the #1 problem but there was nothing to be found that could cause the problem. #1 Tracks not animated. For some reason the tracks wont run, the wheels do turn. #2 The wheels/tracks do not have suspension. Mentioning this problem because I do not know if this could be related to #1. The turret is not animated yet. (not a real problem at this time as I see #1 as the biggest problem for now.) The vehicles does not have any weapons defined. (a to do for later). Modelname: NLD_YPR_PRI.p3d Config.cpp http://pastebin.com/vmdRW6Yn Model.cfg http://pastebin.com/K2SsaVvx Share this post Link to post Share on other sites
superrat 10 Posted January 8, 2013 (edited) use mine just change model name : in yours in you havent defined whole thing class CfgSkeletons { class Default; class Vehicle; class otm60_bones { isDiscrete=1; skeletonInherit = ""; skeletonBones[]= { "kolL1", "", "kolL2", "", "kolL3", "", "kolL4", "", "kolL5", "", "kolL6", "", "kolL7", "", "kolL8", "", "kolP1", "", "kolP2", "", "kolP3", "", "kolP4", "", "kolP5", "", "kolP6", "", "kolP7", "", "kolP8", "", "podkoloL1", "", "podkoloL2", "", "podkoloL3", "", "podkoloL4", "", "podkoloL5", "", "podkoloL6", "", "podkoloL7", "", "podkoloL8", "", "podkoloP1", "", "podkoloP2", "", "podkoloP3", "", "podkoloP4", "", "podkoloP5", "", "podkoloP6", "", "podkoloP7", "", "podkoloP8", "", "koloL1", "podkoloL1", "koloL2", "podkoloL2", "koloL3", "podkoloL3", "koloL4", "podkoloL4", "koloL5", "podkoloL5", "koloL6", "podkoloL6", "koloL7", "podkoloL7", "koloL8", "podkoloL8", "koloP1", "podkoloP1", "koloP2", "podkoloP2", "koloP3", "podkoloP3", "koloP4", "podkoloP4", "koloP5", "podkoloP5", "koloP6", "podkoloP6", "koloP7", "podkoloP7", "koloP8", "podkoloP8", "ukaz_rychlo", "", "ukaz_rychlo2", "", "ukaz_rpm", "", "ukaz_radar", "", "hodinova", "", "minutova", "", "kompas", "", "ukazsmer", "", "damageHide", "", "podkoloL1_hide", "podkoloL1", "podkoloL2_hide", "podkoloL2", "podkoloL3_hide", "podkoloL3", "podkoloL4_hide", "podkoloL4", "podkoloL5_hide", "podkoloL5", "podkoloL6_hide", "podkoloL6", "podkoloL7_hide", "podkoloL7", "podkoloL8_hide", "podkoloL8", "podkoloP1_hide", "podkoloP1", "podkoloP2_hide", "podkoloP2", "podkoloP3_hide", "podkoloP3", "podkoloP4_hide", "podkoloP4", "podkoloP5_hide", "podkoloP5", "podkoloP6_hide", "podkoloP6", "podkoloP7_hide", "podkoloP7", "podkoloP8_hide", "podkoloP8", "OtocVez", "", "OtocHlaven", "OtocVez", "poklop_driver", "", "OtocHlavenVelitele", "OtocVelitele", "poklop_commander", "OtocVelitele", "poklop_gunner", "OtocVez", "damageVez", "OtocVez" }; }; }; class CfgModels { class Default { sections[]={""}; sectionsInherit=""; }; class 1 { sectionsInherit = ""; sections[] = {"L svetlo", "P svetlo", "PasOffsetP", "PasOffsetL", "zbytek","stopa ll","stopa lr","stoparl", "stopa rr","otochlaven","otocvez","cerveny pozicni","telo"}; skeletonName = "otm60_bones"; class Animations { class damageHide { type="hide"; source="damage"; selection="damageHide"; }; class HatchDriver { type="rotation"; source="hatchDriver"; selection="poklop_driver"; axis="osa_poklop_driver"; animPeriod=0; angle0=0; angle1="rad -100"; }; class IndicatorSpeed { type="rotation"; source="speed"; selection="ukaz_rychlo"; axis="osa_rychlo"; memory="false"; animPeriod=0; minValue=0; maxValue=16.670000; angle0=0; angle1="rad -240"; }; class IndicatorSpeed2 { type="rotation"; source="speed"; selection="ukaz_rychlo2"; axis="osa_rychlo2"; memory="false"; animPeriod=0; minValue=0; maxValue=16.670000; angle0=0; angle1="rad -240"; }; class IndicatorRPM { type="rotation"; source="rpm"; selection="ukaz_rpm"; axis="osa_rpm"; memory="false"; animPeriod=0; minValue=0; maxValue=1; angle0=0; angle1="rad -340"; }; class Radar { type="rotation"; source="time"; selection="ukaz_radar"; axis="osa_radar"; memory="false"; minValue=0; maxValue=2; sourceAddress="loop"; angle0=0; angle1="rad 360"; }; class IndicatorTurret { type="rotation"; source="turretDir"; selection="ukazsmer"; axis="osa_ukazsmer"; memory="false"; animPeriod=0; minValue=0; maxValue=6.283185; angle0=0; angle1="rad 360"; }; class WatchHour { type="rotation"; source="clockHour"; selection="hodinova"; axis="osa_time"; memory="false"; animPeriod=0; angle0=0; angle1="rad 360"; }; class WatchMinute { type="rotation"; source="clockMinute"; selection="minutova"; axis="osa_time"; memory="false"; animPeriod=0; angle0=0; angle1="rad 360"; }; class Wheel_kolL1 { type="rotationX"; source="wheelL"; selection="kolL1"; axis=""; memory="false"; animPeriod=0; angle0=0; angle1="rad -360"; sourceAddress="loop"; }; class Wheel_koloL1: Wheel_kolL1 { selection="koloL1"; }; class Wheel_podkoloL1 { type="translationY"; source="damper"; selection="podkoloL1"; axis=""; memory="false"; animPeriod=0; minValue=-1000; maxValue=1000; }; class Wheel_kolP1: Wheel_kolL1 { source="wheelR"; selection="kolP1"; }; class Wheel_koloP1: Wheel_koloL1 { source="wheelR"; selection="koloP1"; }; class Wheel_podkoloP1: Wheel_podkoloL1 { selection="podkoloP1"; }; class Wheel_kolL2: Wheel_kolL1 { selection="kolL2"; }; class Wheel_kolL3: Wheel_kolL1 { selection="kolL3"; }; class Wheel_kolL4: Wheel_kolL1 { selection="kolL4"; }; class Wheel_kolL5: Wheel_kolL1 { selection="kolL5"; }; class Wheel_kolL6: Wheel_kolL1 { selection="kolL6"; }; class Wheel_kolL7: Wheel_kolL1 { selection="kolL7"; }; class Wheel_kolL8: Wheel_kolL1 { selection="kolL8"; }; class Wheel_kolP2: Wheel_kolP1 { selection="kolP2"; }; class Wheel_kolP3: Wheel_kolP1 { selection="kolP3"; }; class Wheel_kolP4: Wheel_kolP1 { selection="kolP4"; }; class Wheel_kolP5: Wheel_kolP1 { selection="kolP5"; }; class Wheel_kolP6: Wheel_kolP1 { selection="kolP6"; }; class Wheel_kolP7: Wheel_kolP1 { selection="kolP7"; }; class Wheel_kolP8: Wheel_kolP1 { selection="kolP8"; }; class Wheel_koloL2: Wheel_koloL1 { selection="koloL2"; }; class Wheel_koloL3: Wheel_koloL1 { selection="koloL3"; }; class Wheel_koloL4: Wheel_koloL1 { selection="koloL4"; }; class Wheel_koloL5: Wheel_koloL1 { selection="koloL5"; }; class Wheel_koloL6: Wheel_koloL1 { selection="koloL6"; }; class Wheel_koloL7: Wheel_koloL1 { selection="koloL7"; }; class Wheel_koloL8: Wheel_koloL1 { selection="koloL8"; }; class Wheel_koloP2: Wheel_koloP1 { selection="koloP2"; }; class Wheel_koloP3: Wheel_koloP1 { selection="koloP3"; }; class Wheel_koloP4: Wheel_koloP1 { selection="koloP4"; }; class Wheel_koloP5: Wheel_koloP1 { selection="koloP5"; }; class Wheel_koloP6: Wheel_koloP1 { selection="koloP6"; }; class Wheel_koloP7: Wheel_koloP1 { selection="koloP7"; }; class Wheel_koloP8: Wheel_koloP1 { selection="koloP8"; }; class Wheel_podkoloL2: Wheel_podkoloL1 { selection="podkoloL2"; }; class Wheel_podkoloL3: Wheel_podkoloL1 { selection="podkoloL3"; }; class Wheel_podkoloL4: Wheel_podkoloL1 { selection="podkoloL4"; }; class Wheel_podkoloL5: Wheel_podkoloL1 { selection="podkoloL5"; }; class Wheel_podkoloL6: Wheel_podkoloL1 { selection="podkoloL6"; }; class Wheel_podkoloL7: Wheel_podkoloL1 { selection="podkoloL7"; }; class Wheel_podkoloL8: Wheel_podkoloL1 { selection="podkoloL8"; }; class Wheel_podkoloP2: Wheel_podkoloP1 { selection="podkoloP2"; }; class Wheel_podkoloP3: Wheel_podkoloP1 { selection="podkoloP3"; }; class Wheel_podkoloP4: Wheel_podkoloP1 { selection="podkoloP4"; }; class Wheel_podkoloP5: Wheel_podkoloP1 { selection="podkoloP5"; }; class Wheel_podkoloP6: Wheel_podkoloP1 { selection="podkoloP6"; }; class Wheel_podkoloP7: Wheel_podkoloP1 { selection="podkoloP7"; }; class Wheel_podkoloP8: Wheel_podkoloP1 { selection="podkoloP8"; }; class podkoloL1_hide_damage: damageHide { selection="podkoloL1_hide"; }; class podkoloL2_hide_damage: damageHide { selection="podkoloL2_hide"; }; class podkoloL3_hide_damage: damageHide { selection="podkoloL3_hide"; }; class podkoloL4_hide_damage: damageHide { selection="podkoloL4_hide"; }; class podkoloL5_hide_damage: damageHide { selection="podkoloL5_hide"; }; class podkoloL6_hide_damage: damageHide { selection="podkoloL6_hide"; }; class podkoloL7_hide_damage: damageHide { selection="podkoloL7_hide"; }; class podkoloL8_hide_damage: damageHide { selection="podkoloL8_hide"; }; class podkoloP1_hide_damage: damageHide { selection="podkoloP1_hide"; }; class podkoloP2_hide_damage: damageHide { selection="podkoloP2_hide"; }; class podkoloP3_hide_damage: damageHide { selection="podkoloP3_hide"; }; class podkoloP4_hide_damage: damageHide { selection="podkoloP4_hide"; }; class podkoloP5_hide_damage: damageHide { selection="podkoloP5_hide"; }; class podkoloP6_hide_damage: damageHide { selection="podkoloP6_hide"; }; class podkoloP7_hide_damage: damageHide { selection="podkoloP7_hide"; }; class podkoloP8_hide_damage: damageHide { selection="podkoloP8_hide"; }; class damageVez: damageHide { selection="damageVez"; }; class MainTurret { type="rotationY"; source="mainTurret"; selection="OtocVez"; axis="OsaVeze"; animPeriod=0; minValue="rad -360"; maxValue="rad +360"; angle0="rad -360"; angle1="rad +360"; }; class MainGun: MainTurret { type="rotationX"; source="mainGun"; selection="OtocHlaven"; axis="OsaHlavne"; }; class obsTurret { type="rotationY"; source="obsTurret"; selection="OtocVelitele"; axis="OsaVelitele"; animPeriod=0; minValue="rad -360"; maxValue="rad +360"; angle0="rad -360"; angle1="rad +360"; }; class ObsGun: ObsTurret { type="rotationX"; source="obsGun"; selection="OtocHlavenVelitele"; axis="OsaHlavneVelitele"; }; class HatchCommander { type="rotation"; source="hatchCommander"; selection="poklop_commander"; axis="osa_poklop_commander"; animPeriod=0; angle0=0; angle1="rad -90"; }; class HatchGunner { type="rotation"; source="hatchGunner"; selection="poklop_gunner"; axis="osa_poklop_gunner"; animPeriod=0; angle0=0; angle1="rad 100"; }; class IndicatorSpeed1: IndicatorSpeed { maxValue="100 / 3.6"; angle1="rad -270"; }; class IndicatorSpeed21: IndicatorSpeed2 { maxValue="100 / 3.6"; angle1="rad -270"; }; class IndicatorRPM1: IndicatorRPM { angle1="rad -290"; }; class IndicatorCompass { type="rotation"; source="direction"; selection="kompas"; axis="osa_kompas"; memory="false"; minValue=-3.141593; maxValue=3.141593; angle0=0; angle1="rad -360"; }; class OtocVelitele_hide: damageHide { selection="OtocVelitele"; }; class poklop_gunner_damage: damageHide { selection="poklop_gunner"; }; class poklop_driver_damage: damageHide { selection="poklop_driver"; }; }; }; }; Edited January 8, 2013 by Max Power php tags Share this post Link to post Share on other sites
max power 21 Posted January 8, 2013 Use code or php tags, pl0x :) Share this post Link to post Share on other sites