My Addon Isnt Working, = |
My Addon Isnt Working, = |
Jan 2 2009, 15:39
Post
#1
|
|
Junior Member Group: Members Posts: 10 Joined: 17-August 08 From: Australia, Adelaide Member No.: 3,939 |
Hi, All
I have a issue with this mod I made. I made the config file, etc and pack it into a .pbo file, etc then i get into ArmA and it doesnt appear in cars under west ? The model is fully working but the config file is not working so if anyone can correct/ repair my config file that would be very nice of you here is the config below. Thanks, Calypso class CfgPatches { class R_4WD_Addon { units = {"R_4WD"}; weapons = {}; requiredVersion = 1.000000; }; }; class CfgSkeletons { class Car; class 4WD : Car { isDiscrete = 1; skeletonInherit = ""; skeletonBones[]= { "volant", "", "levy predni tlumic", "", "pravy predni tlumic", "", "levy dalsi tlumic", "", "pravy dalsi tlumic", "", "levy predni zatoc", "levy predni tlumic", "pravy predni zatoc", "pravy predni tlumic", "levy dalsi zatoc", "levy dalsi tlumic", "pravy dalsi zatoc", "pravy dalsi tlumic", "levy prostredni tlumic", "", "pravy prostredni tlumic", "", "levy zadni tlumic", "", "pravy zadni tlumic", "", "levy predni", "levy predni zatoc", "pravy predni", "pravy predni zatoc", "levy dalsi", "levy dalsi zatoc", "pravy dalsi", "pravy dalsi zatoc", "levy prostredni", "levy prostredni tlumic", "pravy prostredni", "pravy prostredni tlumic", "levy zadni", "levy zadni tlumic", "pravy zadni", "pravy zadni tlumic", "ukaz_rychlo", "", "ukaz_rychlo2", "", "ukaz_rpm", "", "OtocVez", "", "OtocHlaven", "OtocVez", "fuel_01", "", "fuel_1", "", "prop_01", "", "prop_02", "", "prop_2", "", "prop_1", "", "damageHide", "", "damageVez", "OtocVez", "damageHlaven", "OtocHlaven" }; }; }; class CfgModels { class Default { sections[] = {""}; sectionsInherit = ""; }; class Car: Default {}; class R_4WD { sectionsInherit = "Car"; sections[]= { "ammo", "sklo predni p", "sklo predni l", "zadni svetlo", "brzdove svetlo", "spz", "karoserie", "motor", "zbran", "vez", "zbytek", "levy predni", "levy prostredni", "levy zadni", "pravy predni", "pravy prostredni", "pravy zadni", "clan", "clan_sign", "zasleh", "P svetlo", "L svetlo", "palivo" }; skeletonName = "4WD"; class Animations { 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 damageHide { type="hide"; source="damage"; selection="damageHide"; }; class IndicatorSpeed { animPeriod=0; type="rotation"; source="speed"; selection="ukaz_rychlo"; axis="osa_rychlo"; memory=0; minValue=0.000000; maxValue=16.670000; angle0=0.000000; angle1=2.879793; }; 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 { animPeriod=0; type="rotation"; source="rpm"; selection="ukaz_rpm"; axis="osa_rpm"; memory=0; minValue=0.000000; maxValue=1.000000; angle0=0.000000; angle1=2.967060; }; class DrivingWheel { type="rotation"; source="drivingWheel"; selection="volant"; begin="osaVolantZac"; end="osaVolantKon"; memory="false"; animPeriod=0; minValue=-1; maxValue=1; angle0=-8; angle1=8; }; class TurnFrontWheelR { type="rotationY"; source="drivingWheel"; selection="pravy predni zatoc"; axis="pravy predni"; memory="false"; animPeriod=0; sourceAddress="loop"; minValue="rad -180"; maxValue="rad +180"; angle0="rad +90"; angle1="rad -90"; }; class TurnFrontWheelL: TurnFrontWheelR { selection="levy predni zatoc"; axis="levy predni"; }; class TurnFrontWheelR2: TurnFrontWheelR { selection="pravy dalsi zatoc "; axis="pravy dalsi"; }; class TurnFrontWheelL2: TurnFrontWheelR { selection="levy dalsi zatoc "; axis="levy dalsi"; }; class FrontWheelR { type="rotationX"; source="wheel"; selection="pravy predni"; axis=""; memory="true"; animPeriod=0; sourceAddress="loop"; minValue=0; maxValue=1; angle0=0; angle1="rad -360"; }; class FrontWheel2R: FrontWheelR { selection="pravy dalsi"; }; class BackWheelR: FrontWheelR { selection="pravy zadni"; }; class BackWheel2R: FrontWheelR { selection="pravy prostredni"; }; class FrontWheelL: FrontWheelR { selection="levy predni"; }; class FrontWheel2L: FrontWheelR { selection="levy dalsi"; }; class BackWheelL: FrontWheelR { selection="levy zadni"; }; class BackWheel2L: FrontWheelR { selection="levy prostredni"; }; class FrontWheelDamperR { type="translationY"; source="damper"; selection="pravy predni tlumic"; axis=""; animPeriod=0; minValue=-1000; maxValue=1000; }; class FrontWheelDamper2R: FrontWheelDamperR { selection="pravy dalsi tlumic"; }; class BackWheelDamperR: FrontWheelDamperR { selection="pravy zadni tlumic"; }; class BackWheelDamper2R: FrontWheelDamperR { selection="pravy prostredni tlumic"; }; class FrontWheelDamperL: FrontWheelDamperR { selection="levy predni tlumic"; }; class FrontWheelDamper2L: FrontWheelDamperR { selection="levy dalsi tlumic"; }; class BackWheelDamperL: FrontWheelDamperR { selection="levy zadni tlumic"; }; class BackWheelDamper2L: FrontWheelDamperR { selection="levy prostredni tlumic"; }; class damageVez: damageHide { selection="damageVez"; }; class damageHlaven: damageHide { selection="damageHlaven"; }; }; }; }; class CfgVehicles { class All {}; class AllVehicles: All {}; class Land: AllVehicles {}; class LandVehicle : Land { class NewTurret; class ViewPilot; }; class Car: LandVehicle { class HitEngine {armor=0.4;material=60;name="motor";visual="motor";passThrough=1;}; class HitRGlass {armor=0.3;material=-1;name="sklo predni P";passThrough=0;}; class HitLGlass {armor=0.3;material=-1;name="sklo predni L";passThrough=0;}; class HitBody {armor=1;material=51;name="NEkaroserie";visual="karoserie";passThrough=1;}; //disabled points from models class HitFuel {armor=0.3;material=51;name="palivo";passThrough=1;}; class HitLFWheel {armor=0.15;material=-1;name="Levy predni tlumic";visual="Levy predni";passThrough=0;}; class HitRFWheel {armor=0.15;material=-1;name="Pravy predni tlumic";visual="Pravy predni";passThrough=0;}; class HitLF2Wheel {armor=0.15;material=-1;name="Levy dalsi tlumic";visual="Levy dalsi";passThrough=0;}; class HitRF2Wheel {armor=0.15;material=-1;name="Pravy dalsi tlumic";visual="Pravy dalsi";passThrough=0;}; class HitLMWheel {armor=0.15;material=-1;name="Levy prostredni tlumic";visual="Levy prostredni";passThrough=0;}; class HitRMWheel {armor=0.15;material=-1;name="Pravy prostredni tlumic";visual="Pravy prostredni";passThrough=0;}; class HitLBWheel {armor=0.15;material=-1;name="Levy zadni tlumic";visual="Levy zadni";passThrough=0;}; class HitRBWheel {armor=0.15;material=-1;name="Pravy zadni tlumic";visual="Pravy zadni";passThrough=0;}; dammageHalf[]= { "\ca\wheeled\data\jepp4x4_glass.paa","\ca\wheeled\data\jepp4x4_glassB.paa", "\ca\wheeled\data\jeep_kab_sklo1.paa","\ca\wheeled\data\jeep_kab_sklo1B.paa", "\ca\wheeled\data\jeep_kab_sklo2.paa","\ca\wheeled\data\jeep_kab_sklo2B.paa", "\ca\wheeled\data\scud_sklo.paa","\ca\wheeled\data\scud_skloB.paa", "\ca\wheeled\data\scud_sklo2.paa","\ca\wheeled\data\scud_sklo2B.paa", "\ca\wheeled\data\scud_sklo3.paa","\ca\wheeled\data\scud_sklo3B.paa", "\ca\wheeled\data\scud_sklo4.paa","\ca\wheeled\data\scud_sklo4B.paa" }; dammageFull[]= { "\ca\wheeled\data\jepp4x4_glass.paa","\ca\wheeled\data\jepp4x4_glassB.paa", "\ca\wheeled\data\jeep_kab_sklo1.paa","\ca\wheeled\data\jeep_kab_sklo1B.paa", "\ca\wheeled\data\jeep_kab_sklo2.paa","\ca\wheeled\data\jeep_kab_sklo2B.paa", "\ca\wheeled\data\scud_sklo.paa","\ca\wheeled\data\scud_skloB.paa", "\ca\wheeled\data\scud_sklo2.paa","\ca\wheeled\data\scud_sklo2B.paa", "\ca\wheeled\data\scud_sklo3.paa","\ca\wheeled\data\scud_sklo3B.paa", "\ca\wheeled\data\scud_sklo4.paa","\ca\wheeled\data\scud_sklo4B.paa" }; getInAction = GetInMedium; getOutAction = GetOutMedium; weapons[]={CarHorn}; hasGunner = 0; gunnerHasFlares = false; class Turrets { class MainTurret : NewTurret { outGunnerMayFire = 1; memoryPointGun = "machinegun"; body = ""; gun = ""; gunnerAction = "ManActTestDriverOut"; gunBeg = "usti hlavne"; //gunBeg = endpoint of the gun gunEnd = "konec hlavne"; //gunEnd = chamber of the gun soundServo[]={\ca\wheeled\Data\Sound\servo3, db-50, 1.0}; minElev = -5; maxElev = +40; minTurn = -360; maxTurn = +360; gunnerOpticsModel = "\ca\weapons\optika_empty"; hasGunner= 0; gunnerForceOptics = 0; startEngine = 0; class HitTurret {armor=0.8;material=51;name="vez";visual="vez";passThrough=0;}; class HitGun {armor=0.4;material=52;name="zbran";visual="zbran";passThrough=0;}; castGunnerShadow = false; class ViewOptics { initAngleX=0; minAngleX=-30; maxAngleX=+30; initAngleY=0; minAngleY=-100; maxAngleY=+100; initFov=0.42; minFov=0.22; maxFov=0.64; }; class ViewGunner { initAngleX=5; minAngleX=-30; maxAngleX=+30; initAngleY=0; minAngleY=0; maxAngleY=0; initFov=0.42; minFov=0.22; maxFov=0.95; }; }; }; soundEnviron[] = {"\ca\wheeled\Data\Sound\noise", db-65, 0.25}; soundCrash[] = {"\ca\wheeled\Data\Sound\crash2", db-10, 1}; soundGear[] = {"\ca\wheeled\Data\Sound\shifter_v3", db-75, 1}; supplyRadius = 1.2; driverAction = "ManActTestDriver"; cargoAction[]= {"ManActTestDriver"}; hideUnitInfo=false; class Exhausts; castDriverShadow = false; castCargoShadow = false; }; class Landrover: Car {}; class R_4WD : Car { scope=public; model="\R_4WD\R_4WD.p3d"; armorWheels=0.07; armor=160; // total armor armorStructural=30.0; // structural damage armorEngine=10.6; damageResistance = 0.01199; wheelCircumference=4.513; brakeDistance=10; turnCoef=6.330000; terrainCoef=0.000500; displayName="4WD (M134)"; class Exhausts { class Exhaust1 { position = "vyfuk start"; direction = "vyfuk konec"; effect ="ExhaustsEffectBig"; }; }; picture="\Ca\wheeled\data\ico\hilux1_civil_1_open_CA.paa"; Icon="\Ca\wheeled\data\map_ico\icomap_hilux_CA.paa"; mapSize = 7; nameSound="stryker"; irScanRangeMin=10; irScanRangeMax=4000; irScanGround = true; // IR on ground targets maxSpeed=300; weapons[]={}; magazines[]={}; crew = "SoldierWAA"; hasGunner = 1; side=TWEST; soundEngine[]={"\R_4WD\R_4WD_E.wav",1,1 }; soundGear[]={}; unitInfoType=UnitInfoShip; driverIsCommander=true; driverAction = "Hilux_Driver"; transportSoldier = 0; threat[] = {0.5, 0.5, 0.5}; class Turrets: Turrets { class MainTurret : MainTurret { body = "mainTurret"; gun = "mainGun"; outGunnerMayFire = true; gunnerInAction = "Stryker_Gunner"; castGunnerShadow = 1; viewGunnerInExternal = false; gunnerOpticsModel = "\ca\weapons\optika_D30"; gunnerForceOptics = 0; weapons[]={"M2"}; soundServo[]={\ca\wheeled\Data\Sound\servo4, db-52, 1.0}; magazines[]={"100Rnd_127x99_M2", "100Rnd_127x99_M2", "100Rnd_127x99_M2", "100Rnd_127x99_M2", "100Rnd_127x99_M2", "100Rnd_127x99_M2"}; ejectDeadGunner = false; minElev = -25; maxElev = +60; }; }; }; }; |
|
|
Jan 4 2009, 00:22
Post
#2
|
|
Group: Addon Maker Posts: 1,148 Joined: 4-November 06 Member No.: 13 |
Do you get any error messages?
Have you tried switching the vehicle's side to west instead of twest? |
|
|
Jan 4 2009, 10:54
Post
#3
|
|
Junior Member Group: Members Posts: 10 Joined: 17-August 08 From: Australia, Adelaide Member No.: 3,939 |
Do you get any error messages? Have you tried switching the vehicle's side to west instead of twest? Hi, There's absolutely no error messagers. I tried what you said but still its no where to be seen i might just rebuild a whole new config. Thanks for your help anyway |
|
|
Jan 4 2009, 11:46
Post
#4
|
|
literally the BIG BOSS of OFP Group: Addon Maker Posts: 1,532 Joined: 12-November 06 From: Bari (ITALY) Member No.: 66 |
try to control the opening brackets, if there are some not closed yet
-------------------- Visit my blog about Poker at Blogspot.com
-->TUTORIAL ON HOW TO MAKE NORMAL MAPPING IN ARMA!<-- -->MATERIAL EDITOR TUTORIAL!<-- -->DOWNLOAD MY HDT ISLAND!<-- judgement = hypocritical and slightly deluded |
|
|
Jan 4 2009, 12:15
Post
#5
|
|
Junior Member Group: Members Posts: 10 Joined: 17-August 08 From: Australia, Adelaide Member No.: 3,939 |
Hi,
Thanks for your help. I just rebuilt a whole new config and it works now |
|
|
Lo-Fi Version | Time is now: 26th April 2024 - 13:15 |