Jump to content
Sign in to follow this  
Max12345

ArmA 3 RHIB Mod Config.cpp Error

Recommended Posts

When I launch arma 3 after using addon builder I get this error:

 

 

---------------------------
Arma 3
---------------------------
File Pointman_Industires\rhib\config.cpp, line 241: '/CfgVehicles/RHIB.define': 'D' encountered instead of '='
---------------------------
OK   
---------------------------
class DefaultEventhandlers;
class CfgPatches
{
class CAWater
{
units[] =
{
"RHIB"
};
weapons[] = {};
requiredVersion = 0.10;
requiredAddons[] = {"A3_Data_F"};
};
};
#define mag_xx(a, class _xx_##a {magazine = a; count = b;}
#define weap_xx(a, class _xx_##a {weapon = a; count = b;}


#define DefaultWestMagazines(x) \
class TransportMagazines \
{ \
};\
#define DefaultEastMagazines(x) \
class TransportMagazines \
{ \
};
#define DefaultGuerMagazines(x) \
class TransportMagazines \
{ \
};


#include "basicDefines.hpp"
#include "CrewAnimations.hpp"
class CfgVehicles
{
class All;
class AllVehicles:All
{
class ViewPilot;
};
class Ship: AllVehicles
{
unitInfoType=UnitInfoCar; //By default no hud information
class HitPoints
     {
     class HitEngine {armor=1.2;material=60;name="motor";visual="motor";passThrough=1;}
     };
class NewTurret;
class Turrets;
enableGPS = false;
getInAction = GetInLow;
getOutAction = GetOutLow;
cargoGetInAction[] = {"GetInLow"};
cargoGetOutAction[] = {"GetOutLow"};
class MarkerLights
{
class RedStill
{
name = "cerveny pozicni";
color[] = {1.0, 0.1, 0.1, 1};
ambient[] = {0.1, 0.01, 0.01, 1};
brightness = 0.01;
blinking = false;
};
class GreenStill
{
name = "zeleny pozicni";
color[] = {0.1, 1.0, 0.1, 1};
ambient[] = {0.01, 0.1, 0.01, 1};
brightness = 0.01;
blinking = false;
};
class WhiteStill
{
name = "bily pozicni";
color[] = {1.0, 1.0, 1.0, 1};
ambient[] = {0.1, 0.1, 0.1, 1};
brightness = 0.01;
blinking = false;
};
};
class ViewPilot: ViewPilot
{
initFov=0.7; minFov=0.25; maxFov=1.4;
       initAngleX=0; minAngleX=-65; maxAngleX=+85; //Rg
       initAngleY=0; minAngleY=-150; maxAngleY=+150; //Rg
};
precision=10;
class Eventhandlers : DefaultEventhandlers {};
class DestructionEffects{};
};
class Boat: Ship
{
// boats are quite able to maneuver precisely and brake fast
precision=6;
brakeDistance=20;
};
class RHIB: Boat
{
scope=2;
displayName="PMI_RHIB";
vehicleClass = "Ship";
accuracy=0.50;
crew = "B_Soldier_F";
faction="NATO";
side="West";
model="Pointman_Industires\RHIB\rhib";
picture="Pointman_Industires\RHIB\data\ico\rhib_CA.paa";
Icon="Pointman_Industires\RHIB\Data\map_ico\icomap_RHIB_CA.paa";
mapSize = 8;
unitInfoType=UnitInfoShip;


//soundEngine[] = {"", db18, 1}; //RHIB_1
soundEnviron[] = {"", db-25, 0.9};


class SoundEvents
{
/* class AccelerationOut
{
sound[] = {"\ca\SOUNDS\Vehicles\Water\RHIB\ext-boat-engine-acceler-01", db0, 1.0};
limit = "0.3";
expression = "(engineOn*camPos)*gmeterZ";
};
class AccelerationIn
{
sound[] = {"\ca\SOUNDS\Vehicles\Water\RHIB\ext-boat-engine-acceler-01", db0, 1.0};
limit = "0.3";
expression = "(engineOn*(1-camPos))*gmeterZ";
}; */
};


insideSoundCoef = 1;
soundEngineOnInt[] = {"Pointman_Industires\RHIB\sounds\ext-boat-start-01", db-20, 1.0};
soundEngineOnExt[] = {"Pointman_Industires\RHIB\sounds\ext-boat-start-01", db0, 1.0, 150};
soundEngineOffInt[] = {"Pointman_Industires\RHIB\sounds\ext-boat-stop-01", db-20, 1.0};
soundEngineOffExt[] = {"Pointman_Industires\RHIB\sounds\ext-boat-stop-01", db0, 1.0, 150};


class Sounds
  {
/*----------------------------*/
/*      EXTERNAL SOUNDS RHIB */
/*----------------------------*/
class Engine
{
      sound[] =  {"Pointman_Industires\RHIB\sounds\ext-boat-engine-low-01", db0, 0.9, 300};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "engineOn*(rpm factor[0.5, 0.1])";
};
class EngineHighOut
{
sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-high-01", db0, 0.8, 300};
frequency = "(randomizer*0.05+0.95)*rpm";
volume = "engineOn*(rpm factor[0.4, 1.3])";
};
class IdleOut
{
sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-idle-03", db-5, 1.0, 150};
frequency = "1";
volume = "engineOn*(rpm factor[0.3, 0])";
};


      class WaternoiseOutW0
      {
        sound[] = {"Pointman_Industires\RHIB\sounds\ext-water-noise-nospeed", db-8, 1.0, 100};
        frequency = "1";
        volume = "(speed factor[7, 0])";
      };
      class WaternoiseOutW1
      {
        sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-lospd-noise-02", db-8, 1.0, 100};
        frequency = "1";
        volume = "((speed factor[2, 12]) min (speed factor[12, 2]))";
      };
      class WaternoiseOutW2
      {
        sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-hispd-noise-02", db-8, 1.0, 100};
        frequency = "1";
        volume = "(speed factor[9, 18.7])";
      };


      /*----------------------------*/
      /*      INTERNAL SOUNDS RHIB */
      /*----------------------------*/
      /*
      class EngineLowIn
      {
        sound[] =  {"Pointman_Industires\RHIB\sounds\ext-boat-engine-low-01", db15, 0.9,300};
        frequency = "(randomizer*0.05+0.95)*rpm";
        volume = "engineOn*(1-camPos)*(rpm factor[0.5, 0.1])";
      };
      class EngineHighIn
      {
        sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-high-01", db15, 0.8,300};
        frequency = "(randomizer*0.05+0.95)*rpm";
        volume = "engineOn*(1-camPos)*(rpm factor[0.4, 1.3])";
      };
      class IdleIn
      {
        sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-engine-idle-03", db-20, 1.0,150};
        frequency = "1";
        volume = "engineOn*(1-camPos)*(rpm factor[0.3, 0])";
      };
      class WaternoiseInW0
      {
        sound[] = {Pointman_Industires\RHIB\sounds\ext-water-noise-nospeed", db-8, 1.0};
        frequency = "1";
        volume = "(1-camPos)*(speed factor[7, 0])";
      };
      class WaternoiseInW1
      {
        sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-lospd-noise-02", db-8, 1.0};
        frequency = "1";
        volume = "(1-camPos)*((speed factor[2, 12]) min (speed factor[12, 2]))";
      };
      class WaternoiseInW2
      {
        sound[] = {"Pointman_Industires\RHIB\sounds\ext-boat-hispd-noise-02", db-8, 1.0};
        frequency = "1";
        volume = "(1-camPos)*(speed factor[9, 18.7])";
      };
      */
    };




driverAction = RHIB_Driver;
cargoAction[] = {RHIB_Cargo};
getInAction = GetInMedium;
getOutAction = GetOutMedium;
cargoGetInAction[] = {"GetInMedium"};
cargoGetOutAction[] = {"GetOutMedium"};
castDriverShadow=true;
castCargoShadow=true;
gunnerHasFlares = false;


maxSpeed=60;


enableGPS = true;


transportSoldier = 1;
typicalCargo[]={B_Soldier_F};
supplyRadius = 3;


class Exhausts
{
class Exhaust1
{
position = "vyfuk start";
direction = "vyfuk konec";
effect = "";
};
};


DefaultWestMagazines(1)
cost=10000;
armor=30;
class AnimationSources
{
class ReloadAnim{source="reload";weapon="HMG_M2";};
class ReloadMagazine{source="reloadmagazine";weapon="HMG_M2";};
class Revolving{source="revolving";weapon="HMG_M2";};
};
class Turrets: Turrets
{
class MainTurret: NewTurret
{
class HitPoints
{
class HitTurret {armor=0.8;material=60;name="vez";visual="vez";passThrough=1;};
class HitGun {armor=0.6;material=60;name="zbran";visual="zbran";passThrough=1;};
};
stabilizedInAxes = 0;
body = "MainTurret";
gun = "MainGun";
animationSourceBody = "mainTurret";
animationSourceGun = "mainGun";
gunnerAction = RHIB_Gunner;
gunnerGetInAction = GetInMedium;
gunnerGetOutAction = GetOutMedium;
ejectDeadGunner = true;
outGunnerMayFire = 1;
inGunnerMayFire = 0;
minElev=-25; maxElev=+60; initElev=5;
minTurn=-135; maxTurn=135; initTurn=0;
soundServo[]={"A3\sounds_f\dummysound", db-45, 1.0};
//soundServo[]={,db-40,1.0};
gunBeg = "usti hlavne"; //gunBeg = endpoint of the gun
gunEnd = "konec hlavne"; //gunEnd = chamber of the gun
weapons[]={"HMG_M2"};
magazines[]={"100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red"};
gunnerName = $STR_POSITION_FRONTGUNNER;
gunnerOpticsModel = "Pointman_Industires\RHIB\optika_empty";
gunnerForceOptics = 0;
startEngine = 0;
commanding = 2;
primaryGunner = 0;
primaryObserver = 1;
class ViewOptics
{
initAngleX=0; minAngleX=-30; maxAngleX=+30;
initAngleY=0; minAngleY=-100; maxAngleY=+100;
initFov=0.7; minFov=0.25; maxFov=1.1;
};
class ViewGunner
{
       initAngleX=5; minAngleX=-65; maxAngleX=+85; //Rg 30;
       initAngleY=0; minAngleY=-150; maxAngleY=+150; //Rg 0;
initFov=0.7; minFov=0.25; maxFov=1.1;
};
};
};
class Library
{
  libTextDesc = "One Boat to rule them all";
};
extCameraPosition[]={0,4.0,-14.0};
class Damage
{
tex[]={};
mat[]={
"Pointman_Industires\RHIB\data\rhib.rvmat",
"Pointman_Industires\RHIB\data\rhib.rvmat",
"Pointman_Industires\RHIB\data\rhib_destruct.rvmat",
"Pointman_Industires\RHIB\data\rhib_dash.rvmat",
"Pointman_Industires\RHIB\data\rhib_dash.rvmat",
"Pointman_Industires\RHIB\data\rhib_dash_destruct.rvmat"
};
};
};
};

/////////////////////////////////////////Found error////////////////////////////////////////

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  

×