Jump to content
Sign in to follow this  
lonewolf_campi

P51D & M26 : need help Config file!

Recommended Posts

Hi all!

Im a bit new to Arma modding. So i really need some help.

Back in Arma I i managed to make a tank work but now in arma 2 i can't make it work.

Im not sure if it is a config file problem or a model problem.

So far i modeled a p51 and an M26 All i could do was making them appear and be recognized as their respective classes, but animations and sounds don't work.

So, my question is: is 3d model configuration still the same as in ARMA I? (memory points, selections, etc)

Second, can some one post a working config file for a plane and a tank?

When i open a BI config file i don't see any skeletons configuration.

I use an ARMA I config file and all i can achive is making the unit apear as a static "moving" object.

If i do not binarize it the game keeps telling me "some input after end of file"

well anyway... can someone help me out please?

th.7b71c533ad.jpg th.559b1fd531.jpg th.37fea3c258.jpg

Share this post


Link to post
Share on other sites

Nice oldies, there, but i have no clue on what to do

Share this post


Link to post
Share on other sites

I appreciate your addons,but i suggest you change mustang's nose to blue instead of black.:D

Share this post


Link to post
Share on other sites

He's asking for help, not suggestions!

Share this post


Link to post
Share on other sites

hi ,

same problem to import arma 1 addons to arma 2 "some input after end of file"

delete this }; on the end of your config.cpp;)

plane must be reconfigured in config test this config.cpp on change name into config file to your name model ;)

// some basic defines

#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 true 1

#define false 0

// type scope

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class 3lb_f22

{

units[] = {3lb_f22};

requiredVersion = 0.1;

};

};

class CfgMovesBasic

{

class DefaultDie;

class ManActions

{

AH1Z_Pilot = "AH1Z_Pilot";

AH1Z_Gunner = "AH1Z_Gunner";

AH6_Pilot = "AH6_Pilot";

AH6_Gunner = "AH6_Gunner";

MH6_Cargo01 = "MH6_Cargo01";

MH6_Cargo02 = "MH6_Cargo02";

MH6_Cargo03 = "MH6_Cargo03";

UH60_Pilot = "UH60_Pilot";

UH60_Gunner = "UH60_Gunner";

UH60_Cargo01 = "UH60_Cargo01";

UH60_Cargo02 = "UH60_Cargo02";

AV8B_Pilot = "AV8B_Pilot";

KA50_Pilot = "KA50_Pilot";

Mi17_Pilot = "Mi17_Pilot";

Mi17_Gunner = "Mi17_Gunner";

Mi17_Cargo01 = "Mi17_Cargo01";

Mi17_Cargo02 = "Mi17_Cargo02";

Camel_Pilot = "Camel_Pilot";

Para_Pilot = "Para_Pilot";

usec_maule_pilot = "usec_maule_pilot";

usec_maule_pax = "usec_maule_pax";

};

}

class CfgSkeletons

{

class 3lb_f22_skel

{

isDiscrete = 1;

skeletonInherit = "";

skeletonBones[] = {

"fold_gear_F", "",

"roll_wheel_F", "fold_gear_F",

"fold_gear_R", "",

"roll_wheel_R", "fold_gear_R",

"fold_gear_L", "",

"roll_wheel_L", "fold_gear_L",

"gear_door_F_L", "",

"gear_door_F_R", "",

"gear_door_R_U", "",

"gear_door_R_D", "",

"gear_door_L_U", "",

"gear_door_L_D", "",

"aileron_L", "",

"aileron_R", "",

"flap_L", "",

"flap_R", "",

"elev_R", "",

"elev_L", "",

"Thrust_U", "",

"Thrust_D", "",

"rudder_1", "",

"rudder_2", "",

"wb_L_U", "",

"wb_L_D", "",

"wb_R_U", "",

"wb_R_D", "",

"wb_DL_B", "",

"wb_DL_S", "",

"wb_DR_B", "",

"wb_DR_S", "",

"wb_m61", "",

"f22_canopy", "",

"mph",

"",

"mph_3",

"",

"horizont_1",

"",

"horizont_2",

"",

"horizont_3",""

};

};

};

class CfgModels

{

class Default {};

class Vehicle: Default {};

class 3lb_f22: Vehicle

{

sectionsInherit="Vehicle";

sections[]= {"aim9x_1","aim9x_2","aim120c_1","aim120c_2","aim120c_3","aim120c_4","aim120c_5","aim120c_6","zbytek","f22_canopy"};

skeletonName = "3lb_f22_skel";

class Animations

{

class roll_wheel_F

{

type = "rotationX";

memory = 1;

sourceAddress = "loop";

source = "wheel";

selection = "roll_wheel_F";

axis = "";

minValue = 0;

maxValue = 1;

angle0 = 0;

angle1 = "rad -360";

};

class roll_wheel_R : roll_wheel_F

{

selection = "roll_wheel_R";

};

class roll_wheel_L : roll_wheel_F

{

selection = "roll_wheel_L";

};

class fold_gear_F

{

type = "rotation";

memory = 1;

sourceAddress = "clamp";

source = "gear";

selection = "fold_gear_F";

axis = "axis_fold_gear_F";

minValue = 0;

maxValue = 0.700000;

angle0 = 0;

angle1 = "rad -100";

};

class fold_gear_R : fold_gear_F

{

selection = "fold_gear_R";

axis = "axis_fold_gear_R";

angle0 = 0;

angle1 = "rad -105";

};

class fold_gear_L : fold_gear_F

{

selection = "fold_gear_L";

axis = "axis_fold_gear_L";

angle0 = 0;

angle1 = "rad -105";

};

class gear_door_F_L

{

type = "rotation";

memory = 1;

sourceAddress = "clamp";

source = "gear";

selection = "gear_door_F_L";

axis = "axis_gear_door_F_L";

minValue = 0.500000;

maxValue = 1;

angle0 = 0;

angle1 = "rad +50";

};

class gear_door_F_R

{

type = "rotation";

memory = 1;

sourceAddress = "clamp";

source = "gear";

selection = "gear_door_F_R";

axis = "axis_gear_door_F_R";

minValue = 0.500000;

maxValue = 1;

angle0 = 0;

angle1 = "rad -50";

};

class gear_door_R_U : gear_door_F_R

{

selection = "gear_door_R_U";

axis = "axis_gear_door_R_U";

angle0 = 0;

angle1 = "rad +73";

};

class gear_door_R_D : gear_door_F_R

{

selection = "gear_door_R_D";

axis = "axis_gear_door_R_D";

angle0 = 0;

angle1 = "rad -110";

};

class gear_door_L_U : gear_door_F_L

{

selection = "gear_door_L_U";

axis = "axis_gear_door_L_U";

angle0 = 0;

angle1 = "rad -73";

};

class gear_door_L_D : gear_door_F_L

{

selection = "gear_door_L_D";

axis = "axis_gear_door_L_D";

angle0 = 0;

angle1 = "rad +110";

};

class aileron_L

{

memory = 1;

type = "rotation";

sourceAddress = "clamp";

source = "aileron";

selection = "aileron_L";

axis = "axis_aileron_L";

minValue = -1;

maxValue = 1;

angle0 = "rad -25";

angle1 = "rad +25";

};

class aileron_R : aileron_L

{

selection = "aileron_R";

axis = "axis_aileron_R";

};

class flap_L

{

memory = 1;

type = "rotation";

sourceAddress = "clamp";

source = "flap";

selection = "flap_L";

axis = "axis_flap_L";

minValue = -1;

maxValue = 1;

angle0 = "rad +20";

angle1 = "rad -20";

};

class flap_R : flap_L

{

selection = "flap_R";

axis = "axis_flap_R";

angle0 = "rad -20";

angle1 = "rad +20";

};

class elev_L

{

memory = 1;

type = "rotation";

sourceAddress = "clamp";

source = "elevator";

selection = "elev_L";

axis = "axis_elev_L";

minValue = -1;

maxValue = 1;

angle0 = "rad +20";

angle1 = "rad -20";

};

class elev_R : elev_L

{

selection = "elev_R";

axis = "axis_elev_R";

};

class Thrust_U

{

memory = 1;

type = "rotation";

sourceAddress = "clamp";

source = "elevator";

selection = "Thrust_U";

axis = "axis_thrust_U";

minValue = -1;

maxValue = 1;

angle0 = "rad +20";

angle1 = "rad -20";

};

class Thrust_D

{

memory = 1;

type = "rotation";

sourceAddress = "clamp";

source = "elevator";

selection = "Thrust_D";

axis = "axis_thrust_D";

minValue = -1;

maxValue = 1;

angle0 = "rad +20";

angle1 = "rad -20";

};

class rudder_L

{

memory = 1;

type = "rotation";

source="rudder";

selection="rudder_1";

axis="rudder_1_axis";

minValue=-1.000000;

maxValue=1.000000;

angle0=0.375246;

angle1=-0.375246;

};

class rudder_R : rudder_L

{

selection="rudder_2";

axis="rudder_2_axis";

};

class f22_canopy

{

type = "rotation";

selection = "f22_canopy";

axis = "axis_f22_canopy";

memory = 1;

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad 30";

};

class wb_L_U

{

type="rotation";

selection="wb_L_U";

axis="axis_wb_L_U";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad 65";

};

class wb_L_D

{

type="rotation";

selection="wb_L_D";

axis="axis_wb_L_D";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad -65";

};

class wb_R_U

{

type="rotation";

selection="wb_R_U";

axis="axis_wb_R_U";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad -65";

};

class wb_R_D

{

type="rotation";

selection="wb_R_D";

axis="axis_wb_R_D";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad 65";

};

class wb_DL_B

{

type="rotation";

selection="wb_DL_B";

axis="axis_wb_DL_B";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad 85";

};

class wb_DL_S

{

type="rotation";

selection="wb_DL_S";

axis="axis_wb_DL_S";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad -85";

};

class wb_DR_B

{

type="rotation";

selection="wb_DR_B";

axis="axis_wb_DR_B";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad -85";

};

class wb_DR_S

{

type="rotation";

selection="wb_DR_S";

axis="axis_wb_DR_S";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad 85";

};

class wb_m61

{

type="rotation";

selection="wb_m61";

axis="axis_wb_m61";

minValue = 0;

maxValue = 1;

angle0 = "rad 0";

angle1 = "rad -85";

};

class HorizonDive

{

type="rotationX";

source="horizondive";

selection="horizont_1";

axis="horizont_1_axis";

memory=0;

minValue=-0.785398;

maxValue=0.785398;

angle0=-0.785398;

angle1=0.785398;

};

class Horizon2Dive: HorizonDive

{

selection="horizont_2";

axis="horizont_2_axis";

};

class Horizon3Dive: HorizonDive

{

selection="horizont_3";

axis="horizont_3_axis";

minValue="rad -90";

maxValue="rad 90";

angle0=-1.570796;

angle1=1.570796;

};

class HorizonBank

{

type="rotation";

source="horizonBank";

selection="horizont_1";

axis="HorizontBank_1_axis";

memory=0;

minValue=-6.283190;

maxValue=6.283190;

angle0=-6.283185;

angle1=6.283185;

};

class Horizon2Bank: HorizonBank

{

selection="horizont_2";

axis="HorizontBank_2_axis";

};

class Horizon3Bank: HorizonBank

{

selection="horizont_3";

axis="horizontBank_3_axis";

};

class IndicatorSpeed

{

type="rotation";

source="speed";

selection="mph";

axis="mph_axis";

memory=1;

minValue=14.600000;

maxValue=153.500000;

angle0=-0.261799;

angle1=-6.021386;

};

class IndicatorSpeed3

{

type="rotation";

source="speed";

selection="mph_3";

axis="mph_3_axis";

memory=1;

minValue=-55.549999;

maxValue=277.769989;

angle0=0.000000;

angle1=1.570796;

};

};

};

};

class CfgAmmo

{

class BulletBase;

class 3lb_M61A2: BulletBase

{

hit=50;indirectHit=3;indirectHitRange=0.5;

visibleFire=25;

audibleFire=28;

visibleFireTime=4;

cost = 80;

explosive = 0;

airlock=1;

laserLock=2;

irLock=1;

tracerColor[]={0.2, 0.8, 0.1, 0.04};

tracerColorR[]={0.2, 0.8, 0.1, 0.04};

};

class MissileBase;

class 3lb_aim9x_AA: MissileBase

{

model = "\3lb_f22\aim9x_f.p3d";

hit=200;indirectHit=45;indirectHitRange=7;

maneuvrability=30;

simulationStep = 0.002;

trackOversteer = 5.0;

trackLead = 0;

airLock=true;

irLock = true;

thrustTime=10;

thrust=350;

cost=15000;

maxSpeed=2000;

maxControlRange=1200;

};

class 3lb_aim120c_AA: MissileBase

{

model = "\3lb_f22\aim120c_f.p3d";

hit=500;indirectHit=90;indirectHitRange=9;

maneuvrability=30;

simulationStep = 0.002;

trackOversteer = 5.0;

trackLead = 0;

airLock=true;

irLock = true;

thrust=350;

cost=15000;

maxSpeed=2000;

maxControlRange=1200;

};

};

class CfgMagazines

{

class VehicleMagazine;

class 3lb_20mm_M61A2: VehicleMagazine

{

scope = 2;

displayName = "M61A2";

ammo = "3lb_M61A2";

count=480;

initSpeed = 1080;

};

class 3lb_aim9x_M: VehicleMagazine

{

scope = 2;

displayName = "AIM9X";

count=2;

ammo=3lb_aim9x_AA;

initSpeed=0;

maxLeadSpeed=1000;

nameSound="rockets";

sound[]={\ca\Weapons\Data\Sound\TOW_2,db10,1};

reloadSound[]={\ca\Weapons\Data\Sound\missload,db-70,1};

};

class 3lb_aim120c_M: VehicleMagazine

{

scope = 2;

displayName = "AIM120C";

count=6;

ammo=3lb_aim120c_AA;

initSpeed=0;

maxLeadSpeed=1000;

nameSound="rockets";

sound[]={\ca\Weapons\Data\Sound\TOW_2,db10,1};

reloadSound[]={\ca\Weapons\Data\Sound\missload,db-70,1};

};

};

class CfgWeapons

{

class CannonCore;

class 3lb_M61A2: CannonCore

{

scope = 2;

displayName="M61A2";

displayNameMagazine="M61A2";

shortNameMagazine="20mm";

reloadTime=0.01;

burst=6;

autofire=1;

flash = gunfire;

flashSize = 0.1;

recoil = Empty;

multiplier=1;

dispersion=0.01;

soundContinuous=0;

sound[]={\ca\Weapons\Data\Sound\M197_5shots_rotation_end,db25,1};

initSpeed=900;

CanLock=2;

optics = 1;

aiDispersionCoefX = 0.8;

aiDispersionCoefY = 0.8;

magazines[]={3lb_20mm_M61A2};

minRange=1;minRangeProbab=0.10;

midRange=1400;midRangeProbab=0.58;

maxRange=3000;maxRangeProbab=0.04;

maxLeadSpeed = 2000;

};

class MissileLauncher;

class 3lb_aim9x_AA: MissileLauncher

{

scope = 2;

displayName = "AIM9X";

reloadTime = 2.5;

magazines[]={3lb_aim9x_M};

aiRateOfFire=10.0;

aiRateOfFireDistance=2500;

minRange=10;minRangeProbab=0.10;

midRange=3400;midRangeProbab=0.7;

maxRange=6000;maxRangeProbab=0.001;

sound[]={\ca\Weapons\Data\Sound\Javelin1,db30,1};

soundFly[]={\ca\Weapons\Data\Sound\rocket_fly1,db28,0.8};

};

class 3lb_aim120c_AA: MissileLauncher

{

scope = 2;

displayName = "AIM120C";

reloadTime = 3;

magazines[]={3lb_aim120c_M};

aiRateOfFire=10.0;

aiRateOfFireDistance=2500;

minRange=100;minRangeProbab=0.10;

midRange=6200;midRangeProbab=0.7;

maxRange=12000;maxRangeProbab=0.001;

sound[]={\ca\Weapons\Data\Sound\Javelin1,db30,1};

soundFly[]={\ca\Weapons\Data\Sound\rocket_fly1,db28,0.8};

};

};

class CfgSounds

{

class tmdFlareLaunch

{

sound[]={"\tmd_f117\snd\flare.ogg",db+30,1};

name = "tmdFlareLaunch";

titles[] = {};

};

class tmddor

{

sound[]={"\tmd_f117\snd\door.wav",db+30,1};

name = "tmddor";

titles[] = {};

};

};

class CfgRadio

{

class tmdIncomingPips

{

sound[]={"\tmd_f117\snd\incoming.ogg",db+10,1};

name = "tmdIncomingPips";

title = "";

};

};

class CfgVehicles

{

class All {};

class AllVehicles : All {};

class Air : AllVehicles {};

class Plane : Air {};

class 3lb_f22: Plane

{

vehicleClass ="F22 - Air";

scope = public;

crew = "USMC_Soldier_Pilot";

side = 3;

displayName="F-22";

accuracy=0;

irTarget=0;

irScanRange=6000;

irScanGround=1;

laserScanner=1;

weapons[] = {"3lb_M61A2","3lb_aim9x_AA", "3lb_aim120c_AA"};

magazines[] = { "3lb_20mm_M61A2", "3lb_aim9x_M", "3lb_aim120c_M"};

soundLandCrash[]={"\Tmd_f117\snd\TireTouch.wav",db+1,1};

soundEngine[]={"\Tmd_f117\snd\engine.wav",db+15,1};

driverAction = ManActAV8B_Pilot;

getInAction = "GetInMedium";

getOutAction = "GetOutMedium";

driverOpticsModel="optika_heli_gunner";

maxSpeed = 800;

brakeDistance=150;

landingspeed =220;

landingaoa = .17;

formationX=20;

formationZ=2;

hiddenselections[]={"aim9x_1","aim9x_2","aim120c_1","aim120c_2","aim120c_3","aim120c_4","aim120c_5","aim120c_6"};

wheelSteeringSensitivity = 2.0;

icon = "\3lb_f22\texture\f22_icon.paa";

picture = "\3lb_f22\texture\f22_pic.paa";

gearRetracting = true;

ejectSpeed[]={0,40,0};

camouflage = 0;

audible = 1;

aileronSensitivity = 0.85;

elevatorSensitivity = 1.2;

noseDownCoef = 0.4;

fov=0.5;

precision=200;

armor=70;

cost=2000000;

insideSoundCoef = 0.01;

type=VAir;

threat[]={0.4, 0.9, 1};

model="\3lb_f22\3lb_f22";

animated =1;

class IndicatorRPM

{

selection="rpm";

axis="osa_rpm";

angle=320

min=0

max=1.8

};

class Reflectors

{

class Left

{

color[]={0.900000,0.800000,0.800000,1.000000};

ambient[]={0.100000,0.100000,0.100000,1.000000};

position="L svetlo";

direction="konec L svetla";

hitpoint="L svetlo";

selection="light";

size=0.500000;

brightness=0.7;

};

};

class Animation

{

class f22_canopy

{

source = "user";

animPeriod = 3;

initPhase=0;

};

class Thrust_U

{

source = "user";

animPeriod = 3;

initPhase=0;

};

class Thrust_D

{

source = "user";

animPeriod = 3;

initPhase=0;

};

class wb_L_U

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

class wb_L_D

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

class wb_R_U

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

class wb_R_D

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

class wb_DL_B

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

class wb_DL_S

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

class wb_DR_B

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

class wb_DR_S

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

class wb_m61

{

source = "user";

animPeriod = 0.3;

initPhase=0;

};

};

class UserActions

{

class OpenCanopy

{

displayName ="Open Canopy";

position = "pos cano";

radius =3;

onlyForPlayer = 0;

condition="this animationPhase ""f22_canopy"" < 0.1 and (getpos this select 2) < 1 and speed this < 1";

statement="this animate [""f22_canopy"",1]";

};

class CloseCanopy

{

displayName ="Close Canopy";

position = "pos cano";

radius =3;

onlyForPlayer = 0;

condition="this animationPhase ""f22_canopy"" > 0.9";

statement="this animate [""f22_canopy"",0]";

};

};

class eventhandlers

{

Init = "[_this select 0] exec ""\3lb_f22\init.sqs""";

fired = "[_this] exec ""\3lb_f22\fire.sqs""";

};

class Damage {

tex[] = {};

mat[]={"3lb_f22\texture\body.rvmat",

"3lb_f22\texture\body.rvmat",

"3lb_f22\texture\body_destruct.rvmat",

"3lb_f22\texture\wing.rvmat",

"3lb_f22\texture\wing.rvmat",

"3lb_f22\texture\wing_destruct.rvmat",

"3lb_f22\texture\kolo1.rvmat",

"3lb_f22\texture\kolo1.rvmat",

"3lb_f22\texture\kolo_destruct.rvmat" };

};

class MGunClouds

{

cloudletDuration = 0.500000;

cloudletAnimPeriod = 1.000000;

cloudletSize = 2.000000;

cloudletAlpha = 0.500000;

cloudletGrowUp = 0.100000;

cloudletFadeIn = 0.100000;

cloudletFadeOut = 2;

cloudletAccY = 0;

cloudletMinYSpeed = -1000;

cloudletMaxYSpeed = 1000;

cloudletShape = "\ca\data\cl_basic";

cloudletColor[] = { 1, 1, 1, 0};

interval = 0.010000;

size = 2;

sourceSize = 0.050000;

timeToLive = 1;

initT = 0;

deltaT = 0;

class Table

{

class T0

{

maxT = 0;

color[] = {1, 1, 1, 0};

};

};

};

class MFD

{

borderLeft = 0.020000;

borderRight = 0.020000;

borderTop = 0.020000;

borderBottom = 0.020000;

class AirplaneHUD

{

topLeft = "HUD LH";

topRight = "HUD PH";

bottomLeft = "HUD LD";

borderLeft = 0;

borderRight = 0;

borderTop = 0;

borderBottom = 0;

color[] = { 0.100000, 0, 0, 0.100000};

class Pos10

{

pos0[] = {0.500000, 0.500000};

pos10[] = { 1.400000, 1.400000};

type = "vector";

};

class Bones

{

class SpdTextPos

{

type = "fixed";

Pos[] = {0.150000, 0.200000};

};

class FuelTextPos

{

type = "fixed";

Pos[] = {0.975000, 0.760000};

};

class EngTextPos

{

type = "fixed";

Pos[] = {0.965000, 0.805000};

};

class DisTextPos

{

type = "fixed";

Pos[] = {0.240000, 0.810000};

};

class AltTextPos

{

type = "fixed";

Pos[] = {0.900000, 0.200000};

};

class ASLFix

{

type = "fixed";

pos[] = {0.850000, 0.620000};

};

class ASLMove

{

type = "linear";

source = "altitudeASL";

min = 0;

max = 400;

minPos[] = {0.850000, 0.300000};

maxPos[] = {0.850000, 0.620000};

};

class AGLMove

{

type = "linear";

source = "altitudeAGL";

min = 0;

max = 150;

minPos[] = {

0.500000, 1.100000

};

maxPos[] = {

0.500000, 0.500000

};

};

class VertSpeedMove

{

type = "linear";

source = "vSpeed";

min = -50;

max = 50;

minPos[] = {

0.200000, 0.350000

};

maxPos[] = {

0.200000, 0.650000

};

};

class VertSpeedFix

{

type = "fixed";

Pos[] = {

0.200000, 0.500000

};

};

class ILS

{

type = "ils";

pos0[] = {

0.500000, 0.400000

};

pos3[] = {

0.700000, 0.600000

};

};

class WeaponAim : Pos10

{

source = "weapon";

};

class Target

{

source = "target";

pos0[] = {

0.420000, 0.650000

};

pos10[] = {

0.970000, 1.250000

};

type = "vector";

};

class Level0

{

pos0[] = {

0.500000, 0.500000

};

pos10[] = {

1.200000, 1.500000

};

type = "horizon";

angle = 0;

};

class LevelP5 : Level0

{

angle = 5;

};

class LevelM5 : Level0

{

angle = -5;

};

class LevelP10 : Level0

{

angle = 10;

};

class LevelM10 : Level0

{

angle = -10;

};

class LevelP15 : Level0

{

angle = 15;

};

class LevelM15 : Level0

{

angle = -15;

};

class Velocity

{

pos0[] = {

0.500000, 0.500000

};

pos10[] = {

1.200000, 1.200000

};

type = "vector";

source = "velocity";

};

};

class Draw

{

alpha = 0.800000;

color[] = {

0, 0.600000, 0

};

clipTL[] = {

0, 0

};

clipBR[] = {

1, 1

};

condition = "on";

class Altitude

{

type = "text";

align = "right";

scale = 1;

source = "altitudeAGL";

sourceScale = 1;

pos[] = {

"AltTextPos", {-0.050000, -0.030000}, 1

};

right[] = {

"AltTextPos", {0.010000, -0.030000}, 1

};

down[] = {

"AltTextPos", {-0.050000, 0.040000}, 1

};

};

class SpeedNumber

{

type = "text";

align = "left";

scale = 1;

source = "speed";

sourceScale = 3.600000;

pos[] = {

"SpdTextPos", {-0.050000, -0.030000}, 1

};

right[] = {

"SpdTextPos", {0.010000, -0.030000}, 1

};

down[] = {

"SpdTextPos", {-0.050000, 0.040000}, 1

};

};

class EngNumber

{

type = "text";

align = "left";

scale = 1;

source = "rpm";

sourceScale = 100;

pos[] = {

"EngTextPos", {-0.050000, -0.030000}, 1

};

right[] = {

"EngTextPos", {-0.010000, -0.030000}, 1

};

down[] = {

"EngTextPos", {-0.050000, 0.020000}, 1

};

};

class FuelNumber

{

type = "text";

align = "left";

scale = 1;

source = "fuel";

sourceScale = 100;

pos[] = {

"FuelTextPos", {-0.050000, -0.030000}, 1

};

right[] = {

"FuelTextPos", {-0.010000, -0.030000}, 1

};

down[] = {

"FuelTextPos", {-0.050000, 0.020000}, 1

};

};

class DisNumber

{

type = "text";

align = "left";

scale = 1;

source = "targetDist";

sourceScale = 1;

pos[] = {

"DisTextPos", {-0.050000, -0.030000}, 1

};

right[] = {

"DisTextPos", {-0.010000, -0.030000}, 1

};

down[] = {

"DisTextPos", {-0.050000, 0.020000}, 1

};

};

class AGLBox

{

type = "line";

points[] = {

{"AGLMove", {-0.050000, -0.025000}, 1}, {"AGLMove", {-0.050000, 0.025000}, 1}, {"AGLMove", {0.050000, 0.025000}, 1}, {"AGLMove", {0.050000, -0.025000}, 1}, {"AGLMove", {-0.050000, -0.025000}, 1}

};

};

class ASLLine

{

type = "line";

points[] = {

{"ASLFix", {0.020000, 0}, 1}, {"ASLFix", {0, 0}, 1}, {"ASLMove", {0, 0}, 1}, {"ASLMove", {0.020000, 0}, 1}

};

};

class VertSpeed

{

type = "line";

points[] = {

{"VertSpeedFix", {0.020000, 0}, 1}, {"VertSpeedFix", {0, 0}, 1}, {"VertSpeedMove", {0, 0}, 1}, {"VertSpeedMove", {-0.030000, -0.015000}, 1}, {"VertSpeedMove", {-0.030000, 0.015000}, 1}, {"VertSpeedMove", {0, 0}, 1}

};

};

class Speed

{

};

class PlaneW

{

clipTL[] = {

0.000000, 0.100000

};

clipBR[] = {

1.000000, 0.900000

};

class Velocity

{

type = "line";

points[] = {

{"Velocity", {0, -0.020000}, 1}, {"Velocity", {0.020000, 0}, 1}, {"Velocity", {0, 0.020000}, 1}, {"Velocity", {-0.020000, 0}, 1}, {"Velocity", {0, -0.020000}, 1}

};

};

class Cross

{

type = "line";

points[] = {

{"Velocity", {-0.040000, 0}, 1}, {"Velocity", {0.040000, 0}, 1}, {}, {"Velocity", {0, 0}, 1}, {"Velocity", {0, -0.040000}, 1}

};

};

};

class MGun

{

condition = "mgun";

};

class Missile

{

condition = "missile";

class Target

{

type = "line";

points[] = {

{"Target", {-0.030000, -0.030000}, 1}, {"Target", {0.030000, -0.030000}, 1}, {"Target", {0.030000, 0.030000}, 1}, {"Target", {-0.030000, 0.030000}, 1}, {"Target", {-0.030000, -0.030000}, 1}

};

};

};

class Horizont

{

class Center

{

type = "line";

points[] = {

{"Level0", {-0.250000, 0}, 1}, {"Level0", {-0.070000, 0}, 1}, {"Level0", {-0.070000, 0.040000}, 1}, {}, {"Level0", {0.070000, 0.040000}, 1}, {"Level0", {0.070000, 0}, 1}, {"Level0", {0.250000, 0}, 1}

};

};

class P5

{

type = "line";

points[] = {

{"LevelP5", {-0.400000, 0}, 1}, {"LevelP5", {-0.150000, 0}, 1}, {}, {"LevelP5", {0.400000, 0}, 1}, {"LevelP5", {0.150000, 0}, 1}

};

};

class M5

{

type = "line";

points[] = {

{"LevelM5", {-0.400000, 0}, 1}, {"LevelM5", {-0.150000, 0}, 1}, {}, {"LevelM5", {0.400000, 0}, 1}, {"LevelM5", {0.150000, 0}, 1}

};

};

class P10

{

type = "line";

points[] = {

{"LevelP10", {-0.400000, 0}, 1}, {"LevelP10", {-0.150000, 0}, 1}, {}, {"LevelP10", {0.400000, 0}, 1}, {"LevelP10", {0.150000, 0}, 1}

};

};

class M10

{

type = "line";

points[] = {

{"LevelM10", {-0.400000, 0}, 1}, {"LevelM10", {-0.150000, 0}, 1}, {}, {"LevelM10", {0.400000, 0}, 1}, {"LevelM10", {0.150000, 0}, 1}

};

};

class P15

{

type = "line";

points[] = {

{"LevelP15", {-0.400000, 0}, 1}, {"LevelP15", {-0.150000, 0}, 1}, {}, {"LevelP15", {0.400000, 0}, 1}, {"LevelP15", {0.150000, 0}, 1}

};

};

class M15

{

type = "line";

points[] = {

{"LevelM15", {-0.400000, 0}, 1}, {"LevelM15", {-0.150000, 0}, 1}, {}, {"LevelM15", {0.400000, 0}, 1}, {"LevelM15", {0.150000, 0}, 1}

};

};

};

class ILS

{

condition = "ils";

class Glideslope

{

clipTL[] = {

0.290000, 0.290000

};

clipBR[] = {

0.710000, 0.710000

};

class ILS

{

type = "line";

points[] = {

{"ILS", {-10, 0}, 1}, {"ILS", {10, 0}, 1}, {}, {"ILS", {0, -10}, 1}, {"ILS", {0, 10}, 1}

};

};

};

class AOABracket

{

type = "line";

points[] = {

{{0.420000, 0.780000}, 1}, {{0.400000, 0.780000}, 1}, {{0.400000, 0.880000}, 1}, {{0.420000, 0.880000}, 1}

};

};

};

};

};

};

};

};

Hi all!

Im a bit new to Arma modding. So i really need some help.

Back in Arma I i managed to make a tank work but now in arma 2 i can't make it work.

Im not sure if it is a config file problem or a model problem.

So far i modeled a p51 and an M26 All i could do was making them appear and be recognized as their respective classes, but animations and sounds don't work.

So, my question is: is 3d model configuration still the same as in ARMA I? (memory points, selections, etc)

Second, can some one post a working config file for a plane and a tank?

When i open a BI config file i don't see any skeletons configuration.

I use an ARMA I config file and all i can achive is making the unit apear as a static "moving" object.

If i do not binarize it the game keeps telling me "some input after end of file"

well anyway... can someone help me out please?

[ig]http://www.freeimagehosting.net/uploads/th.7b71c533ad.jpg[/img] [mg]http://www.freeimagehosting.net/uploads/th.559b1fd531.jpg[/img] [ig]http://www.freeimagehosting.net/uploads/th.37fea3c258.jpg[/img]

Edited by Placebo

Share this post


Link to post
Share on other sites

Please do not post a billion lines of config, you basically kill the thread like that, there's a very useful spoiler tag function, please use it.

Also remove image tags when quoting please.

Share this post


Link to post
Share on other sites

yes sir!

::war:

:sorry:

Please do not post a billion lines of config, you basically kill the thread like that, there's a very useful spoiler tag function, please use it.

Also remove image tags when quoting please.

Share this post


Link to post
Share on other sites
Second, can some one post a working config file for a plane and a tank?

When i open a BI config file i don't see any skeletons configuration.

I use an ARMA I config file and all i can achive is making the unit apear as a static "moving" object.

I guess that myke's first release of the F-16 was unbinarized and my Bradley Sample, too. You may check the config's when you de-pbo those.

Skeleton config is usually included in the model.cfg file. This way you can test it in the bulldozer.

BR,

mike

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×