PDA

View Full Version : Map is not showing up in game!



bigshotking
Feb 23 2011, 23:29
Ok so I finally got all my texture working so I go ahead and PBO my mission! Everything PBO's fine, it goes into my designated folder (which has a Addons folder in it). So I launch my game and there is not map!!! I go back to the main menu and I see that @Kansan is there. Here are my BinPBO settings:

Addon Source Directory: P:\Kansan (It has a Data & Source folder with a config.cpp)

Clear temp folder: unchecked

Binarize: checked

OPTIONS:
List of files to copy directly: *.pac;*.paa;*.rtm;*.sqf;*.sqs;*.bikb;*.fsm;*.wss;* .ogg;*.wav;*.fxy;*.csv;*.html;*.wrp;*.lip;*.txt;*. bisurf

Create Log file: unchecked

Path to signature file: blank

Path to temporary folder: P:\BIN_TEMP

Path to project folder: P:\Kansan

Use source path: checked

Addon prefix: blank

Automatically: checked


Now if you think that all check out then here is my config.cpp, I have NOT put any objects on my map yet and I got this config off a tutorial... link to tutorial: http://forums.bistudio.com/showthread.php?t=62725&highlight=Visitor+tutorial&page=18

Here is my config.cpp:

#define ReadAndWrite 0
#define ReadAndCreate 1
#define ReadOnly 2
#define ReadOnlyVerified 3


class CfgPatches {
class Kansan {
units[] = {};
worlds[] = {Kansan};
requiredVersion = 0.1;
};
};
class DefaultLighting; // External class reference

class DefaultLighting_CA : DefaultLighting {};

class CfgWorlds {
class DefaultClutter {
scaleMin = 0.9;
scaleMax = 1.4;
};
class DefaultWorld; // External class reference
class Intro : DefaultWorld {};

class Kansan : Intro {
access = 3;
cutscenes[] = {"DesertIntro1"};
description = "Kansan";
icon = "";
worldName = "Kansan\Source\Terrain\Kansan.wrp";
pictureMap = "";
pictureShot = "";
plateFormat = "ML$ - #####";
plateLetters = ABCDEGHIKLMNOPRSTVXZ;
longitude = -40; // positive is east
latitude = -40; // positive is south

class Grid //OFP style Aa00 - JJ99
{
//colorGrid[]={0,0,1,1};
//colorGridMap[]={0,0,1,1};
offsetX=0;
offsetY=0;
class Zoom0
{
zoomMax=0.2;
format="XY";
formatX="Aa";
formatY="00";
stepX=256;
stepY=256;
};
class Zoom1
{
zoomMax=1.0;
format="XY";
formatX="A-";
formatY="0-";
stepX=2560;
stepY=2560;
};
}

startTime = 8:30;
startDate = 07/06/2007;
startWeather = 0.1;
startFog = 0.0;
forecastWeather = 0.3;
forecastFog = 0.0;
seagullPos[] = {1272.84, 150.0, 14035};
centerPosition[] = {2500, 2500, 300};
ilsPosition[] = {2545, 3000};
ilsDirection[] = {0, 0.08, 1};
ilsTaxiIn[] = {2495, 2725, 2495, 2850, 2508, 2860, 2508, 3000, 2520, 3010, 2545, 3000};
ilsTaxiOff[] = {2545, 2445, 2520, 2425, 2495, 2445, 2495, 2725};
drawTaxiway = 0;

class ReplaceObjects {};

class Sounds {
sounds[] = {};
};

class Animation {
vehicles[] = {};
};

class Lighting : DefaultLighting {};
clutterGrid = 1.11;
clutterDist = 55;
noDetailDist = 40;
fullDetailDist = 5;
minTreesInForestSquare = 3;
minRocksInRockSquare = 4;

class clutter {
class GrassGeneral : DefaultClutter {
model = "ca\plants\clutter_grass_general.p3d";
affectedByWind = 0.3;
swLighting = 1;
scaleMin = 0.75;
scaleMax = 1.0;
};

class GrassFlowers : GrassGeneral {
model = "ca\plants\clutter_grass_flowers.p3d";
};

class GrassLong : GrassGeneral {
model = "ca\plants\clutter_grass_long.p3d";
affectedByWind = 0.6;
scaleMin = 0.6;
scaleMax = 1.1;
};

class GrassSevenbeauty : GrassGeneral {
model = "ca\plants\clutter_grass_sevenbaeuty.p3d";
affectedByWind = 0.2;
scaleMin = 0.7;
scaleMax = 1.1;
};

class GrassYellow : GrassGeneral {
model = "ca\plants\clutter_grass_yellow.p3d";
affectedByWind = 0.2;
scaleMin = 0.7;
scaleMax = 1.1;
};

class GrassDesert : GrassGeneral {
model = "ca\plants\clutter_grass_desert.p3d";
};

class ForestFern : GrassGeneral {
model = "ca\plants\clutter_forest_fern.p3d";
affectedByWind = 0.1;
scaleMin = 0.9;
scaleMax = 1.1;
};

class SmallRocks : GrassGeneral {
model = "ca\rocks\clutter_stone_small.p3d";
affectedByWind = 0;
scaleMin = 0.9;
scaleMax = 1.1;
};

class FlowersColor : GrassGeneral {
model = "ca\plants\clutter_smetanka.p3d";
};

class FlowersWhite : GrassGeneral {
model = "ca\plants\clutter_white_flower.p3d";
};

class MushroomsHorcak : GrassGeneral {
model = "ca\plants\clutter_horcak.p3d";
affectedByWind = 0;
scaleMin = 0.85;
scaleMax = 1.25;
};

class MushroomsPrasivka : MushroomsHorcak {
model = "ca\plants\clutter_prasivky.p3d";
};

class MushroomsBabka : MushroomsHorcak {
model = "ca\plants\clutter_babka.p3d";
};

class MushroomsMuchomurka : MushroomsHorcak {
model = "ca\plants\clutter_muchomurka.p3d";
};
};

class Subdivision {
class Fractal {
rougness = 5;
maxRoad = 0.02;
maxTrack = 0.5;
maxSlopeFactor = 0.05;
};

class WhiteNoise {
rougness = 2;
maxRoad = 0.01;
maxTrack = 0.05;
maxSlopeFactor = 0.0025;
};
minY = 0.0;
minSlope = 0.02;
};

class Ambient {
class BigBirds {
radius = 300;
cost = "((1 + forest + trees) - ((2 * rain)) - houses) * (1 - night) * (1 - sea)";

class Species {
class Hawk {
probability = 0.2;
cost = 1;
};
};
};

class Birds {
radius = 170;
cost = "(1 - night) * ((1 + (3 * sea)) - (2 * rain))";

class Species {
class Seagull {
probability = 0.2;
cost = 1;
};
};
};

class BigInsects {
radius = 20;
cost = "(5 - (2 * houses)) * (1 - night) * (1 - rain) * (1 - sea) * (1 - windy)";

class Species {
class DragonFly {
probability = "0.6 - (meadow * 0.5) + (forest * 0.4)";
cost = 1;
};

class ButterFly {
probability = "0.4 + (meadow * 0.5) - (forest * 0.4)";
cost = 1;
};
};
};

class BigInsectsAquatic {
radius = 20;
cost = "(3 * sea) * (1 - night) * (1 - rain) * (1 - windy)";

class Species {
class DragonFly {
probability = 1;
cost = 1;
};
};
};

class WindClutter {
radius = 10;
cost = "((20 - 5 * rain) * (3 * (windy factor [0.2, 0.5]))) * (1 - sea)";

class Species {
class FxWindGrass1 {
probability = "0.4 - 0.2 * hills - 0.2 * trees";
cost = 1;
};

class FxWindGrass2 {
probability = "0.4 - 0.2 * hills - 0.2 * trees";
cost = 1;
};

class FxWindRock1 {
probability = "0.4 * hills";
cost = 1;
};

class FxWindLeaf1 {
probability = "0.2 * trees";
cost = 1;
};

class FxWindLeaf2 {
probability = "0.1 * trees + 0.2";
cost = 1;
};

class FxWindLeaf3 {
probability = "0.1 * trees";
cost = 1;
};
};
};

class NoWindClutter {
radius = 15;
cost = "(20 * (windy factor [0.1, 0.2])) * meadow * (1 - rain) * (1 - sea) * (1 - forest) * (1 - houses)";

class Species {
class FxWindPollen1 {
probability = 1;
cost = 1;
};
};
};

class SmallInsects {
radius = 3;
cost = "(12 - 8 * hills) * (1 - night) * (1 - rain) * (1 - sea) * (1 - windy)";

class Species {
class HouseFly {
probability = "deadBody + (1 - deadBody) * (0.5 - forest * 0.1 - meadow * 0.2)";
cost = 1;
};

class HoneyBee {
probability = "(1 - deadBody) * (0.5 - forest * 0.1 + meadow * 0.2)";
cost = 1;
};

class Mosquito {
probability = "(1 - deadBody) * (0.2 * forest)";
cost = 1;
};
};
};

class NightInsects {
radius = 3;
cost = "(9 - 8 * hills) * night * (1 - rain) * (1 - sea) * (1 - windy)";

class Species {
class Mosquito {
probability = 1;
cost = 1;
};
};
};
};

class Names {
class Veg_1 {
name = "";
position[] = {2713.62, 2140.92};
type = "VegetationPalm";
radiusA = 50;
radiusB = 50;
};

class Veg_2 {
name = "";
position[] = {2446.09, 3038.29};
type = "VegetationPalm";
radiusA = 50;
radiusB = 50;
};

class Veg_3 {
name = "";
position[] = {2940.52, 2923.19};
type = "VegetationPalm";
radiusA = 50;
radiusB = 50;
};
};
};
};

class CfgWorldList {
class Kansan {};
};


Any help on this issue is greatly appreciated!

Old Bear
Feb 28 2011, 21:05
This must be asked in the Visitor3 thread I believe.
But let me say that the issue is related to working space structure.
It must be something like :


P: \ yourbuildingspace\yourmap

in yourmap directory you have :
Source
Data
config.cpp
yourmap.wrp

Of course on layer.cfg you must have something like :


class your_pisek
{
texture = "yourbuildingspace\yourmap\data\your_pisek_mco.paa";
material="yourbuildingspace\yourmap\data\your_pisek.rvmat";
};


In Visitor3 preferences Folder-Textures must be set as :


P:\yourbuildingspace\yourmap\data

And of course, config.cpp must be tweaked accordingly.

bigshotking
Mar 2 2011, 02:50
Ok will try that thanks!

bigshotking
Mar 2 2011, 23:09
Ok I tried what you said with no luck... I still don't see my map in game..

Here is my map directory:


P:\BSK_Kansan\Kansan\

Data, Source, Congfig.cpp, and Kansan.wrp are here:


P:\BSK_Kansan\Kansan\

Here is my whole Layers.cfg:

class Layers
{

class asphaultBSK
{
texture = "BSK_Kansan\Kansan\data\asphaultBSK_mco.paa";
material="BSK_Kansan\Kansan\data\asphaultBSK.rvmat";
};

class rockBSK
{
texture = "BSK_Kansan\Kansan\data\rockBSK_mco.paa";
material="BSK_Kansan\Kansan\data\rockBSK.rvmat";
};

class sandBSK
{
texture = "BSK_Kansan\Kansan\data\sandBSK_mco.paa";
material="BSK_Kansan\Kansan\data\sandBSK.rvmat";
};

};

class Legend
{
picture="BSK_Kansan\Kansan\Source\mapLegend.png";
class Colors
{
/// color names should correspond to surface layer names
asphaultBSK[]={{0,0,255}};
rockBSK[]={{255,0,0}};
sandBSK[]={{255,255,0}};

}
};

In visitor 3 this is my texture directory:


P:\BSK_Kansan\Kansan\Data\


I really don't know what the problem could be.... here is my current config as well:

class CfgPatches
{
class Kansan
{
units[] = {"Kansan"};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"Takistan"};
};
};
class DefaultClutter;
class Grid;
class CfgWorlds
{
class Takistan;
class Kansan: Takistan
{
cutscenes[] = {"KansanIntro1"};
description = "Kansan";
worldName = "BSK_Kansan\Kansan\Source\Kansan.wrp";
pictureShot = "";//TODO
plateFormat = "ML$ - #####";
longitude = -40;
latitude = -40;
class Grid: Grid
{
offsetX = 0;
offsetY = 0;
class Zoom0
{
zoomMax = 0.2;
format = "XY";
formatX = "Aa";
formatY = "00";
stepX = 256;
stepY = 256;
};
class Zoom1
{
zoomMax = 1;
format = "XY";
formatX = "A-";
formatY = "0-";
stepX = 2560;
stepY = 2560;
};
};
startTime = "8:30";
startDate = "07/06/2007";
centerPosition[] = {2500,2500,300};
seagullPos[] = {1272.839966,150,14035};
ilsPosition[] = {2545,3000};
ilsDirection[] = {0,0.08,1};
ilsTaxiIn[] = {2495,2725,2495,2850,2508,2860,2508,3000,2520,3010 ,2545,3000};
ilsTaxiOff[] = {2545,2445,2520,2425,2495,2445,2495,2725};
drawTaxiway = 0;
class SecondaryAirports {};
clutterGrid = 1.11;
clutterDist = 55;
noDetailDist = 40;
fullDetailDist = 5;
minTreesInForestSquare = 3;
minRocksInRockSquare = 4;
class Names {};
};
};
class CfgWorldList
{
class Kansan {};
};
class CfgMissions
{
class Cutscenes
{
class KansanIntro1
{
directory = "BSK_Kansan\Kansan\Source\scenes\intro_Kansan";
};
};
};


Any ideas?? Did I put something in wrong???

PvPscene
Mar 3 2011, 06:04
Can you upload the pbo for others to test or do you want to avoid this?

bigshotking
Mar 3 2011, 14:16
Well I really dont want people to steal my map that I've put a lot of work into.... I really don't know if I want to make it public. Maybe a select few? Like you?

W0lle
Mar 3 2011, 14:57
How many more threads you plan to run simultaneously on one and the same issue?


ยง9) Do not cross-post
Do not post duplicate threads in more than one forum simply to get an answer quicker or to draw more attention to your post.