Jump to content
Sign in to follow this  
Tom_48_97

Error with a cpp for an island

Recommended Posts

Hello all,

I am making again an other Island, and it's the first time that happened sad_o.gif When I load the island under OFP, at the end of the loading, it crachs huh.gif So the cpp is almost the same as usual for me, and I have test the wrp replacing desert Island, no problem sad_o.gif

So what's wrong huh.gif

This is my Cpp file

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches {

class isl9_swr {

units[] = {};

weapons[] = {};

worlds[] = {isl9_swr};

requiredVersion = 1.96;

};

};

class CfgWorlds {

class DefaultWorld {

};

class Intro : DefaultWorld {

};

class isl9_swr : Intro {

access = 3;

plateFormat="ER$ ## - ##";

plateLetters="ABCDEFHIKLMOPRSTVXYZ";

description = "Island9 (SWR)";

icon = "\swr_little1_PythonArtStudio\russia.paa";

worldName = "\swr_little1_PythonArtStudio\swr_island9.wrp";

cutscenes[] = {"..\addons\swr_little1_PythonArtStudio\intro"};

centerPosition[]={5931,6747,0};

startTime="00:00";

startDate="30/6/85";

startWeather=0.400000;

startFog=0.100000;

forecastWeather=0.200000;

forecastFog=0.000000;

seagullPos[]={10738,8509};

ilsDirection[]={0,0.080000,-1};

ilsPosition[]={580,10315};

};

};

class CfgWorldList {

class isl9_swr {

};

};

Share this post


Link to post
Share on other sites

maybe the reason is a different one - did you try to binarize it to see if there are still any errors left ?

Share this post


Link to post
Share on other sites

I have tested some minutes ago, and the same problem appear but with the file binarised, the problem take place during the loading huh.gif

help.gif Or I Re-make Desert Island ! confused_o.gif

Share this post


Link to post
Share on other sites

Rename your wrp file to the same name as your class & Patch:

isl9_swr.wrp

Share this post


Link to post
Share on other sites

Fully Works

Thanks UNN yay.gif

Conclusion :

When you make a wrp for an island, name your wrp file to the same name as your class & Patch. That's all. Is this in the FAQ ? If not, it will be. An entiere night to found a simple solution confused_o.gif

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches {

class isl9_swr {

units[] = {};

weapons[] = {};

worlds[] = {isl9_swr};

requiredVersion = 1.75;

};

};

class CfgWorlds {

class DefaultWorld {

};

class Intro : DefaultWorld {

};

class isl9_swr : Intro {

access = 3;

plateFormat="ER$ ## - ##";

plateLetters="ABCDEFHIKLMOPRSTVXYZ";

description = "Island9 (SWR)";

icon = "\swr_little1_PythonArtStudio\russia.paa";

worldName = "\swr_little1_PythonArtStudio\isl9_swr";

cutscenes[] = {"..\addons\swr_little1_PythonArtStudio\intro"};

centerPosition[]={5931,6747,0};

startTime="00:00";

startDate="30/6/85";

startWeather=0.400000;

startFog=0.100000;

forecastWeather=0.200000;

forecastFog=0.000000;

seagullPos[]={10738,8509};

ilsDirection[]={0,0.080000,-1};

ilsPosition[]={580,10315};

};

};

class CfgWorldList {

class isl9_swr {

};

};

Share this post


Link to post
Share on other sites

Nice one, glad it sorted your problem.

Quote[/b] ]When you make a wrp for an island, name your wrp file to the same name as your class & Patch. That's all. Is this in the FAQ ? If not, it will be. An entiere night to found a simple solution

I know, I went through the same, myself sad_o.gif It's a pity that is the case, as it stops you inheriting from existing maps. Even if all you want do, is change something as simple as the ILS position.

Share this post


Link to post
Share on other sites

Yes, but so many thing are not already discovered biggrin_o.gif

About Island Editing, Take a look here : www.arma-soviet.com in the site wink_o.gif

About, my problem, it was so simple that I haven't seen huh.gif I make islands since some years, and I am not able to make a cpp whistle.gif

But the errors is human wink_o.gif

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  

×