BIS_IS_THE_BEST 1 Posted December 21, 2001 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
Damage Inc 0 Posted December 21, 2001 Take it from someone's addon and modify. Share this post Link to post Share on other sites
BIS_IS_THE_BEST 1 Posted December 21, 2001 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
Damage Inc 0 Posted December 21, 2001 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
BIS_IS_THE_BEST 1 Posted December 21, 2001 is it possible to change the speed with this file? coz i want it to be faster than normal Share this post Link to post Share on other sites
Damage Inc 0 Posted December 21, 2001 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
BIS_IS_THE_BEST 1 Posted December 21, 2001 thanks, you ROCK! im gonna try it right now Share this post Link to post Share on other sites
BIS_IS_THE_BEST 1 Posted December 21, 2001 this is what it said, i screenshotted the error so you can see whats happening, Share this post Link to post Share on other sites
BIS_IS_THE_BEST 1 Posted December 21, 2001 ok now its working, but i cant seem to see the edited textures, is there something i need to put in the config.cpp? Share this post Link to post Share on other sites
Damage Inc 0 Posted December 21, 2001 Do you have a .p3d model for the Cessna? Share this post Link to post Share on other sites
BIS_IS_THE_BEST 1 Posted December 21, 2001 yes, it is called FluoroCessna.p3d and i have the pac and paa files in the same directory as it, Share this post Link to post Share on other sites
Damage Inc 0 Posted December 21, 2001 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
BIS_IS_THE_BEST 1 Posted December 21, 2001 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
Damage Inc 0 Posted December 21, 2001 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
BIS_IS_THE_BEST 1 Posted December 21, 2001 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
Damage Inc 0 Posted December 21, 2001 Then you did it wrong. Get a new .p3d and try again. Share this post Link to post Share on other sites