mrukas 0 Posted May 1, 2003 well, ive made the pbo and all, now i tryed to start ofp and it says: 'et\config.cpp.CfgModels': '{' encountered instead of '=' what could be the problem? here is the cfg: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">// "SIDE" 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 ET Â Â Â Â { units[] = {ET}; weapons[] = {}; requiredVersion = 1.10; }; }; CfgModels { class Default {}; class vehicle: default {}; class ET: vehicle { sectionsInherit="Vehicle"; sections[]={"vrtule staticka","vrtule blur"}; }; }; class CfgVehicles { class All {}; class AllVehicles: All {}; class Air: AllVehicles {}; class Plane: Air {}; class A10: Plane {}; class ET: A10 { scope=public; Â Â Â Â side=TWres; displayName="ET bike"; vehicleClass = "Extra terrestrial Bike"; model="\ET\ET"; accuracy=0.30; gearRetracting = false; nameSound="plane"; soundEngine[]={"Vehicles\plane",db-10,1}; soundEnviron[]={"Objects\noise",db-60,1.0}; soundServo[]={"Vehicles\gun_elevate",db-40,0.4}; maneuvrability=50.0; maxSpeed=30; armor=24; aileronSensitivity = .8; elevatorSensitivity = .8; noseDownCoef = .3; landingAoa = 10*3.1415/180; brakeDistance=30; steerAheadSimul=1.0; steerAheadPlan=2.0; transportSoldier=0; crew = "SoldierWPilot"; driverAction = ManActUH60Pilot; extCameraPosition[]={0,3,-15}; irTarget=true; irScanRange = 200; irScanGround = true; }; Â Â }; };<span id='postcolor'> Share this post Link to post Share on other sites
Guest BratZ Posted May 1, 2003 Try putting "class" infront of cfgmodels: class CfgModels { class Default {}; class vehicle: default {}; class ET: vehicle { sectionsInherit="Vehicle"; sections[]={"vrtule staticka","vrtule blur"}; }; }; Share this post Link to post Share on other sites
Skaircro 0 Posted May 1, 2003 ...and check the spelling of your side=TWest, not side=TWres! Share this post Link to post Share on other sites
mrukas 0 Posted May 1, 2003 LOL, thanks you guys. when i added class it worked again. and i fixed the other thing so it now is: TGuerrila Share this post Link to post Share on other sites