I`m trying to make an Addon which is basicly a Blackhawk with a new Doorgun. I`ve made a Model with a M2 Machinegun on the Blackhawk Doorgunner Seat. Now i`m having trubble with some Error`s which i cannot fix. I used the BIS Sample Models and modifyed the M2_vehiclemount for the Blackhawk.
Those are the Error`s i get:
Warning Message: Cannot open object hh60pave\hh60.p3d
Error: bin\config.bin/CfgVehicles/Helicopter/Turrets/MainTurret/: Turret body mainTurret not found while initializing the model hh60pave\hh60.p3d
Error: bin\config.bin/CfgVehicles/Helicopter/Turrets/MainTurret/: Turret gun mainGun not found while initializing the model hh60pave\hh60.p3d
Warning Message: Cannot load texture ca\air\data\optika_heli_tl.paa.
Warning Message: Cannot load texture ca\air\data\optika_heli_stred.paa.
Warning Message: Cannot load texture ca\air\data\optika_heli_bl.paa.
hh60pave\hh60.p3d: No geometry and no visual shape
hh60pave\hh60.p3d: No geometry and no visual shape
This is my model.cfg:
class CfgSkeletons
{
class Helicopter;
class UH60M_skeleton_EP1: Helicopter
{
isdiscrete=0;
skeletonInherit="Helicopter";
skeletonBones[]=
{
"dampers","",
"damper_rear","",
"elevator","",
"horizont_1","",
"horizont_1b","",
"compass_1","",
"horizont_2","",
"horizont_2b","",
"compass_2","",
"rotordive","velka vrtule",
"rotor static dive","velka vrtule"
};
};
class UH60M_MG_skeleton_EP1: UH60M_skeleton_EP1
{
skeletonInherit="UH60M_skeleton_EP1";
skeletonBones[]=
{
"otocvez_1","",
"otochlaven_1","otocvez_1",
"gun_m2","otochlaven_1",
"gatling_1","otochlaven",
};
};
};
class Rotation;
class CfgModels
{
class Vehicle;
class Helicopter: Vehicle
{
class Animations
{
class IndicatorSpeed;
class IndicatorSpeed2;
class IndicatorVertSpeed2;
class IndicatorVertSpeed;
class IndicatorAltBaro;
class IndicatorAltBaro2;
class IndicatorAltRadar2;
class IndicatorAltRadar;
class HorizonDive;
class damageHide;
class RotorTilt;
};
};
class UH60M_MEV: Helicopter
{
skeletonName="UH60M_skeleton_EP1";
sectionsInherit="Helicopter";
sections[] = {"camo1", "camo2", "camo3"};
class Animations: Animations
{
class RotorTilt
{
selection="rotordive";
source="rpm";
axis="velka osa";
type="translation";
memory=1;
minValue=0.000000;
maxValue=12.0000000;
offset0=0.00000;
offset1=-6.250000;
};
class horizonDive
{
type="translation";
source="horizonDive";
selection="horizont_1";
axis="axis_horizont_1";
memory=1;
minValue=-1.000000;
maxValue=1.000000;
offset0=-0.610000;
offset1=0.610000;
};
class horizonDive_gunner:horizonDive
{
type="translation";
source="horizonDive";
selection="horizont_2";
axis="axis_horizont_2";
memory=1;
};
class horizonBank
{
type="rotation";
source="horizonBank";
selection="horizont_1";
axis="axis_r_horizont_1";
memory=1;
minValue="rad -360";
maxValue="rad +360";
angle0="rad +360";
angle1="rad -360";
};
class horizonBank_gunner:horizonBank
{
type="rotation";
source="horizonBank";
selection="horizont_2";
axis="axis_r_horizont_2";
memory=1;
};
class HorizontBudik_bank: Rotation
{
source="horizonBank";
selection="horizont";
axis="horizont_budikBank_osa";
memory=1;
minValue="rad -360";
maxValue="rad 360";
angle0="rad 360";
angle1="rad -360";
};
class HorizontBudik_dive: HorizontBudik_bank
{
source="horizonDive";
axis="horizont_budikDive_osa";
minValue="rad -40";
maxValue="rad 40";
angle0="rad -27";
angle1="rad 27";
};
class IndicatorCompass: Rotation
{
source="direction";
selection="compass_1";
axis="axis_compass_1";
memory=1;
minValue=-3.141593;
maxValue=3.141593;
angle0=-3.141593;
angle1=3.141593;
};
class IndicatorCompass_gunner: IndicatorCompass
{
source="direction";
selection="compass_2";
axis="axis_compass_2";
memory=1;
};
class IndicatorSpeed: IndicatorSpeed
{
maxValue=50.000000;
angle0=0.261799;
angle1=5.759586;
};
class IndicatorSpeed2: IndicatorSpeed2
{
maxValue=50.000000;
angle0=0.261799;
angle1=5.759586;
};
class dampers: Rotation
{
source="altRadar";
selection="dampers";
axis="dampers_axis";
maxValue=0.400000;
angle0=-0.087266;
angle1=-0.296706;
};
class dampers_rear: dampers
{
selection="damper_rear";
axis="damper_rear_axis";
angle0=0.000000;
};
class elevator: Rotation
{
source="speed";
selection="elevator";
axis="elevator_axis";
minValue=25.000000;
maxValue=27.799999;
angle0=-0.523599;
angle1=0.000000;
};
class IndicatorVertSpeed2: IndicatorVertSpeed2
{
type="rotation";
source="vertSpeed";
selection="vert_speed2";
axis="osa_vert_speed2";
memory=0;
minValue=-30.000000;
maxValue=30.000000;
angle0=3.141593;
angle1=-3.141593;
};
class IndicatorVertSpeed: IndicatorVertSpeed
{
type="rotation";
source="vertSpeed";
selection="vert_speed";
axis="osa_vert_speed";
memory=0;
minValue=-30.000000;
maxValue=30.000000;
angle0=3.141593;
angle1=-3.141593;
};
class IndicatorAltBaro: IndicatorAltBaro
{
type="rotation";
source="altBaro";
selection="nm_alt";
axis="osa_nm_alt";
memory=0;
minValue=30.000000;
maxValue=61.000000;
angle0=0.000000;
angle1=6.108653;
};
class IndicatorAltBaro2: IndicatorAltBaro2
{
type="rotation";
source="altBaro";
selection="nm_alt2";
axis="osa_nm_alt2";
memory=0;
minValue=30.000000;
maxValue=61.000000;
angle0=0.000000;
angle1=6.108653;
};
class IndicatorAltRadar: IndicatorAltRadar
{
type="rotation";
source="altRadar";
selection="alt";
axis="osa_alt";
memory=0;
minValue=0.000000;
maxValue=304.000000;
angle0=-2.268928;
angle1=4.363323;
};
class IndicatorAltRadar2: IndicatorAltRadar2
{
angle0=-2.268928;
angle1=4.363323;
};
class elevator_damage: damageHide
{
selection="elevator";
};
};
};
class UH60M: UH60M_MEV
{
skeletonName="UH60M_MG_skeleton_EP1";
sectionsInherit="UH60M_MEV";
sections[]={};
class Animations: Animations
{
//guns
class MainTurret
{
type="rotation";
source="mainTurret";
selection="OtocVez";
axis="OsaVeze";
animPeriod=0;
minValue="rad -360";
maxValue="rad +360";
angle0="rad (-360)";
angle1="rad (+360)";
};
class Turret_2: MainTurret
{
source="Turret_2";
selection="otocvez_1";
axis="OsaVeze_1";
angle0="rad (-360)";
angle1="rad (+360)";
};
class MainGun: MainTurret
{
source="mainGun";
selection="OtocHlaven";
axis="OsaHlavne";
angle0="rad (-360)";
angle1="rad (+360)";
};
class Gun_2: MainGun
{
source="Gun_2";
selection="otochlaven_1";
axis="OsaHlavne_1";
angle0="rad (-360)";
angle1="rad (+360)";
};
class MachineGun: Rotation
{
selection="gatling_1";
axis="gatling_1_axis";
angle1="-600 * 3.141592654";
source="gatling_1";
};
class MachineGun_1: MachineGun
{
selection="gatling_2";
axis="gatling_2_axis";
source="gatling_2";
};
class otocvez_damage:damageHide
{
selection="otocvez";
};
class otocvez_1_damage: otocvez_damage
{
selection="otocvez_1";
};
///Guns end
};
};
class HH60J: UH60M
{
skeletonName="UH60M_MG_skeleton_EP1";
sectionsInherit="UH60M_MEV";
sections[]={};
class Animations: Animations
{
class MainTurret
{
type="rotation";
source="mainTurret";
selection="OtocVez";
axis="OsaVeze";
animPeriod=0;
minValue="rad -360";
maxValue="rad +360";
angle0="rad (-360)";
angle1="rad (+360)";
};
class Turret_2: MainTurret
{
source="Turret_2";
selection="otocvez_1";
axis="OsaVeze_1";
angle0="rad (-360)";
angle1="rad (+360)";
};
class MainGun: MainTurret
{
source="mainGun";
selection="OtocHlaven";
axis="OsaHlavne";
angle0="rad (-360)";
angle1="rad (+360)";
};
class Gun_2: MainGun
{
source="Gun_2";
selection="otochlaven_1";
axis="OsaHlavne_1";
angle0="rad (-360)";
angle1="rad (+360)";
};
class MachineGun: Rotation
{
selection="gatling_1";
axis="gatling_1_axis";
angle1="-600 * 3.141592654";
source="gatling_1";
};
class MachineGun_1: MachineGun
{
selection="gun_m2";
axis="gatling_2_axis";
source="gun_m2";
};
class otocvez_damage:damageHide
{
selection="otocvez";
};
class otocvez_1_damage: otocvez_damage
{
selection="otocvez_1";
};
};
};
};