Home   Help Search Login Register  

Author Topic: My Island works fine. When finished OFP crashes  (Read 2212 times)

0 Members and 1 Guest are viewing this topic.

SGT KAMAI USMC

  • Guest
My Island works fine. When finished OFP crashes
« on: 05 Oct 2002, 16:34:33 »
You can play it, enjoy it, then when you go to close it, instead of returning to the main game console screen, OFP just shuts down. Any ideas why?
This also happens when playing on our server, but the server doesnt crash.

pertti49

  • Guest
Re:My Island works fine. When finished OFP crashes
« Reply #1 on: 05 Oct 2002, 17:33:57 »
Sorry but this is wrong forum for that this is wrp editing disgussion
greetings:pertti49

Jakerod

  • Guest
Re:My Island works fine. When finished OFP crashes
« Reply #2 on: 05 Oct 2002, 20:43:32 »
Its the right one....It has to do with WRPedit... and im thinking maybe an error in the .cpp but im not sure.

SFG

  • Guest
Re:My Island works fine. When finished OFP crashes
« Reply #3 on: 05 Oct 2002, 22:39:37 »
Do you have an anim folder?

SGT KAMAI USMC

  • Guest
Re:My Island works fine. When finished OFP crashes
« Reply #4 on: 06 Oct 2002, 15:05:51 »
No I dont have anime in fact I left the intro line in the cpp empty.
Here is my .cpp for Mahealani Island.

#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

#define private 0
#define protected 1
#define public 2

#define WeaponNoSlot      0 // dummy weapons
#define WeaponSlotPrimary      1 // primary weapons
#define WeaponSlotSecondary   16 // secondary weapons
#define WeaponSlotItem      256 // items
#define WeaponSlotBinocular   4096 // binocular
#define WeaponHardMounted   65536

class CfgPatches
{
   class mahealani
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"mahealani"};
      requiredVersion = 1.30;
   };
};
class CfgVehicles{};
class CfgSurfaces
{
   class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
   class DefaultWorld {};
   class  mahealani: DefaultWorld
   {
      access=3;
      description="Mahealani Island";
      icon="";
      cutscenes[] = {};
      worldName="\mahealani\mahealani.wrp";
      plateFormat="ML$ - #####";
      plateLetters="ABCDEGHIKLMNOPRSTVXZ";
      startTime="12:28";
      startDate="12/6/85";
      startWeather=0.000000;
      startFog=0.000000;
      forecastWeather=0.000000;
      forecastFog=0.000000;
      seagullPos[]={6100,6100,50};
      ilsPosition[]={0,0,0};
      ilsDirection[]={0,0.080000,1};
      ilsTaxiIn[]={};
      ilsTaxiOff[]={};
      centerPosition[]={6350,6350,0};
      class Sounds
      {
         sounds[]={};
      };
      class Animation
      {
         vehicles[]={};
      };
      class Names
      {
         class LOGO
         {
            name="By SGT KAMAI USMC...www.usmc-warriors.com";
            position[]={2016,533,100};
         };

         class mahealani
         {
            name="Mahealani";
            position[]={10223,4157,100};
         };

         class NASmahealani
         {
            name="Mahealani Naval Air Station";
            position[]={10015,3190,100};
         };

         class horno
         {
            name="MCB Camp Horno";
            position[]={8321,7832,100};
         };

         class casesprings
         {
            name="Case Springs";
            position[]={9237,9046,300};
         };

         class twentyninepalms
         {
            name="MCB Twenty Nine Palms";
            position[]={6789,5671,100};
         };

         class CAXRANGE
         {
            name="CAX Range 900";
            position[]={7545,5671,100};
         };

         class KehaulaniRes
         {
            name="Kehaulani Resevoir";
            position[]={7775,2640,100};
         };

         class KehaulaniPass
         {
            name="Kehaulani Pass";
            position[]={7648,2140,100};
         };

         class LakeMikala
         {
            name="Lake Mikala";
            position[]={4562,5608,100};
         };

         class MikalaDam
         {
            name="Mikala Dam";
            position[]={3625,4733,100};
         };

         class westport
         {
         name="Westport";
         position[]={2093,8393,100};
         };

         class Mikalaairpark
         {
         name="Mikala Air Park";
         position[]={3233,3866,100};
         };

         class Kuaialii
         {
         name="Kuaialii";
         position[]={4179,10748,100};
         };

         class KuaialiiINT
         {
         name="Kuaialii Municipal Airport";
         position[]={3487,10636,100};
         };

         class NorthIsleWasetreatmentPlant
         {
         name="North Isle Waste treatment Plant";
         position[]={555,12272,100};
         };

         class Kealii
         {
         name="Kealii";
         position[]={1982,4110,100};
         };

         class KealiiRiver
         {
         name="Kealii River";
         position[]={2710,4175,100};
         };

         class Mikala
         {
         name="Mikala";
         position[]={3843,4381,100};
         };

         class Bodie
         {
         name="Bodie";
         position[]={7260,4824,100};
         };

         class PnosMesa
         {
         name="Panos Mesas";
         position[]={6080,7947,100};
         };

         class PhaedenFlats
         {
         name="Phaeden Flats";
         position[]={5428,10857,100};
         };

         class Iokepa
         {
         name="Iokepa";
         position[]={4429,3234,100};
         };

         

         
         
            
      };
   };
};
class CfgWorldList
{
   class  mahealani{};
};


Deadsoldier

  • Guest
Re:My Island works fine. When finished OFP crashes
« Reply #6 on: 09 Oct 2002, 08:59:52 »
hey man,

nice work. i like your military bases. I might need your help to build me a base for my island hehe.

messege me, icq 14855915

cheers

lanchong

  • Guest
Re:My Island works fine. When finished OFP crashes
« Reply #7 on: 09 Oct 2002, 10:10:19 »
Very interesting the way you use the terrain elevation and texture to make your port and your dam.

SGT KAMAI USMC

  • Guest
Re:My Island works fine. When finished OFP crashes
« Reply #8 on: 09 Oct 2002, 13:56:35 »
Dead I would love to help you bro, but i am totally swamped with WRPedits inadequacies. I made the whole Island roads and all in a week, but he vegetation is killing me. I was finished with everything but vegitation months ago. I burned out big time placing in the trees and bushes. It is rediculously time consuming trying to place all the trees and bushes. Does anyone have a solution that can speed this up?
What I would give just to be able to copy and paste!!!!!
« Last Edit: 09 Oct 2002, 13:57:53 by SGT KAMAI USMC »

lanchong

  • Guest

SGT KAMAI USMC

  • Guest
Re:My Island works fine. When finished OFP crashes
« Reply #10 on: 10 Oct 2002, 06:36:47 »
lol thats great. Now if I can figure out how this damn thing works lol.