Jump to content
Sign in to follow this  
BIS_IS_THE_BEST

i need help to do a config.ccp file

Recommended Posts

all i need to finish my Fluoro Cessna is a working config.cpp

could someone please send me one that i can use?

i would really appreciate it,

thanks

Share this post


Link to post
Share on other sites

this is what my config.cpp file looks like,

tell me whats wrong...

class CfgPatches

{

class ECessna {

units[] = {ECessna};

weapons[] = {};

requiredVersion = 1.07;

class CfgVehicles

{

class All {};

class AllVehicles: All {};

class Air: AllVehicles {};

class Plane: Air {};

class A10: Plane {};

class Cessna: A10 {};

class ECessna: Cessna

{

displayName="Super Plane";

scope=2;

picture="ia10";

crew="Civilian";

side=3;

nameSound="plane";

accuracy=0.300000;

maxSpeed=500;

gearRetracting=0;

armor=15;

cost=200000;

model="cessna182";

weapons[]={};

magazines[]={};

fov=0.500000;

landingAoa="7=3.1415/180";

driverAction="ManActCessnaPilot";

cargoAction[]={"ManActCessnaCoPilot","ManActCessnaCargo"};

soundEngine[]={"Vehicles\plane",0.010000,1};

soundEnviron[]={"Objects\noise",0.001000,1.000000};

soundServo[]={"Vehicles\gun_elevate",0.010000,0.400000};

transportSoldier=3;

extCameraPosition[]={0,2,-30};

type=2;

threat[]={0.100000,1,0.700000};

aileronSensitivity=0.330000;

elevatorSensitivity=0.800000;

noseDownCoef=0.250000;

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="L svetlo";

size=0.500000;

brightness=0.250000;

};

class Right

{

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

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

position="P svetlo";

direction="konec P svetla";

______end of config.cpp

thanks in advance

Share this post


Link to post
Share on other sites

There's a lot of stuff wrong with that and a lot of unnecessary stuff, I'll correct it for you.

Share this post


Link to post
Share on other sites

Here you go:

// 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

#define WeaponNoSlot0// dummy weapons

#define WeaponSlotPrimary1// primary weapons

#define WeaponSlotSecondary16// secondary weapons

#define WeaponSlotItem256// items

#define WeaponSlotBinocular4096// binocular

#define WeaponHardMounted65536

class CfgPatches

{

class ECessna {

units[] = {ECessna};

weapons[] = {};

requiredVersion = 1.07;

};

};

class CfgVehicles

{

class All {};

class AllVehicles: All {};

class Air: AllVehicles {};

class Plane: Air {};

class A10: Plane {};

class Cessna: A10 {};

class ECessna: Cessna

{

displayName="Super Plane";

scope=2;

picture="ia10";

crew="Civilian";

side=3;

accuracy=0.300000;

maxSpeed=500;

armor=15;

cost=200000;

model="cessna182";

weapons[]={};

magazines[]={};

fov=0.500000;

landingAoa="7=3.1415/180";

transportSoldier=3;

extCameraPosition[]={0,2,-30};

type=2;

threat[]={0.100000,1,0.700000};

aileronSensitivity=0.330000;

elevatorSensitivity=0.800000;

noseDownCoef=0.250000;

};

};

Share this post


Link to post
Share on other sites

Put them in your addon directory and modify this part of the config.cpp: model="cessna182"; change it to model="youraddondirectory\FluoroCessna"; (notice no .p3d at the end).

(Edited by Damage Inc at 5:52 pm on Dec. 21, 2001)

Share this post


Link to post
Share on other sites

i dont know why its not working

i can give you a link to the file,

it is hosted on my webspace,

but since this addon is just a beta i dont want everyone to have it yet,

if you dont want your email on this post,

i'll give you my email, ofp_king@start.com.au

send me a test message to this email so i can then send you the actual link,

thanks for all your help

Share this post


Link to post
Share on other sites

Did you change the paths in the .p3d file (with a hex editor or the texture swapping utility)?

Share this post


Link to post
Share on other sites

when i tex swapped,

i left the texture folder box blank,

because the textures are in the same folder,

i thought that was how it worked?

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  

×