Jump to content
Sign in to follow this  
itsdonjon

Config.ccp Issue

Recommended Posts

So i'm trying to pack a map using mikeros pboProject.

But trying that im getting that error:

Jorapp\cfgClutter.hpp

1 Datei(en) kopiert

Jorapp\cfgSurfaces.hpp

1 Datei(en) kopiert

rapify x32UnicodeVersion 1.75, Dll 4.65 "config.cpp"

In File Jorapp\cfgSurfaces.hpp: Line 22 Expected class, define, or varname

rerun with -noisy option to see decode

problem is, im using the same config.ccp as in another map, where the packing works without a problem. I just changed the name "joninsel" to "jorapp"

Config JonInsel (working)

#define _ARMA_

//Class config.bin{

class CfgPatches

{

class Tutorial

{

units[] = {"JonInsel"};

weapons[] = {};

requiredVersion = 1.0;

version = "30/07/2011";

fileName = "JonInsel.pbo";

author = "Jona";

};

};

class CfgWorlds

{

class CAWorld;

class Stratis: CAWorld

{

class Grid;

class DefaultClutter;

};

class Tutorial: Stratis

{

cutscenes[] = {};

description = "JonInsel";

worldName = "JonInsel\JonInsel.wrp";

startTime = "11:00";

startDate = "05/03/2001";

startWeather = 0.2;

startFog = 0.0;

forecastWeather = 0.6;

forecastFog = 0.0;

centerPosition[] = {2560,2560,500};

seagullPos[] = {2560,2560,500};

longitude = 65;

latitude = -34;

elevationOffset = 2000;

envTexture = "A3\Data_f\env_land_ca.tga";

minTreesInForestSquare = 2;

minRocksInRockSquare = 2;

newRoadsShape = "\joninsel\data\roads\roads.shp";

ilsPosition[] = {1024,1024};

ilsDirection[] = {0.5075,0.08,-0.8616};

ilsTaxiIn[] = {};

ilsTaxiOff[] = {};

drawTaxiway = 0;

class SecondaryAirports {};

class Sea

{

seaTexture = "a3\data_f\seatexture_co.paa";

seaMaterial = "#water";

shoreMaterial = "#shore";

shoreFoamMaterial = "#shorefoam";

shoreWetMaterial = "#shorewet";

WaterMapScale = 20;

WaterGrid = 50;

MaxTide = 0;

MaxWave = 0;

SeaWaveXScale = "2.0/50";

SeaWaveZScale = "1.0/50";

SeaWaveHScale = 2.0;

SeaWaveXDuration = 5000;

SeaWaveZDuration = 10000;

};

/*

class OutsideTerrain

{

satellite = "jsp\abc_sample\Data\s_satout_co.paa";

enableTerrainSynth = 1;

class Layers

{

class Layer0

{

nopx = "jsp\abc_sample\data\abc_sample_grass_green_nopx.paa";

texture = "jsp\abc_sample\data\abc_sample_grass_green_co.paa";

};

};

};

*/

class Grid: Grid

{

offsetX = 0;

offsetY = 5120;

class Zoom1

{

zoomMax = 0.15;

format = "XY";

formatX = "000";

formatY = "000";

stepX = 100;

stepY = -100;

};

class Zoom2

{

zoomMax = 0.85;

format = "XY";

formatX = "00";

formatY = "00";

stepX = 1000;

stepY = -1000;

};

class Zoom3

{

zoomMax = 1e+030.0;

format = "XY";

formatX = "0";

formatY = "0";

stepX = 10000;

stepY = -10000;

};

};

#include "cfgClutter.hpp"

class Names

{

#include "Tutorial.hpp"

};

};

};

class CfgWorldList

{

class Tutorial{};

};

class CfgMissions

{

class Cutscenes

{

};

};

//SURFACES

#include "cfgSurfaces.hpp"

Config.ccp JoRapp (not working)

#define _ARMA_

//Class config.bin{

class CfgPatches

{

class Tutorial

{

units[] = {"Jorapp"};

weapons[] = {};

requiredVersion = 1.0;

version = "30/07/2011";

fileName = "Jorapp.pbo";

author = "Jona";

};

};

class CfgWorlds

{

class CAWorld;

class Stratis: CAWorld

{

class Grid;

class DefaultClutter;

};

class Tutorial: Stratis

{

cutscenes[] = {};

description = "Jorapp";

worldName = "Jorapp\jorapp.wrp";

startTime = "11:00";

startDate = "05/03/2001";

startWeather = 0.2;

startFog = 0.0;

forecastWeather = 0.6;

forecastFog = 0.0;

centerPosition[] = {2560,2560,500};

seagullPos[] = {2560,2560,500};

longitude = 65;

latitude = -34;

elevationOffset = 2000;

envTexture = "A3\Data_f\env_land_ca.tga";

minTreesInForestSquare = 2;

minRocksInRockSquare = 2;

newRoadsShape = "\Jorapp\data\roads\roads.shp";

ilsPosition[] = {1024,1024};

ilsDirection[] = {0.5075,0.08,-0.8616};

ilsTaxiIn[] = {};

ilsTaxiOff[] = {};

drawTaxiway = 0;

class SecondaryAirports {};

class Sea

{

seaTexture = "a3\data_f\seatexture_co.paa";

seaMaterial = "#water";

shoreMaterial = "#shore";

shoreFoamMaterial = "#shorefoam";

shoreWetMaterial = "#shorewet";

WaterMapScale = 20;

WaterGrid = 50;

MaxTide = 0;

MaxWave = 0;

SeaWaveXScale = "2.0/50";

SeaWaveZScale = "1.0/50";

SeaWaveHScale = 2.0;

SeaWaveXDuration = 5000;

SeaWaveZDuration = 10000;

};

/*

class OutsideTerrain

{

satellite = "jsp\abc_sample\Data\s_satout_co.paa";

enableTerrainSynth = 1;

class Layers

{

class Layer0

{

nopx = "jsp\abc_sample\data\abc_sample_grass_green_nopx.paa";

texture = "jsp\abc_sample\data\abc_sample_grass_green_co.paa";

};

};

};

*/

class Grid: Grid

{

offsetX = 0;

offsetY = 5120;

class Zoom1

{

zoomMax = 0.15;

format = "XY";

formatX = "000";

formatY = "000";

stepX = 100;

stepY = -100;

};

class Zoom2

{

zoomMax = 0.85;

format = "XY";

formatX = "00";

formatY = "00";

stepX = 1000;

stepY = -1000;

};

class Zoom3

{

zoomMax = 1e+030.0;

format = "XY";

formatX = "0";

formatY = "0";

stepX = 10000;

stepY = -10000;

};

};

#include "cfgClutter.hpp"

class Names

{

#include "Tutorial.hpp"

};

};

};

class CfgWorldList

{

class Tutorial{};

};

class CfgMissions

{

class Cutscenes

{

};

};

//SURFACES

#include "cfgSurfaces.hpp"

Could somebody please tell me where my problem is? Because..well..i don't have a clue.

greetz, Don!

Edited by ItsDonJon

Share this post


Link to post
Share on other sites

Your error message indicates an issue with cfgSuraces:

In File Jorapp\cfgSurfaces.hpp: Line 22 Expected class, define, or varname

Did you copy cfgSurfaces across from the other project?

Can you paste the contents of this file?

Share this post


Link to post
Share on other sites

Thank you! Somehow my tired eyes read config and not cfgsurfaces...how embarassing :D

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  

×