Jump to content
Sign in to follow this  
Unchained

Self-made replacement config.cpp file gives out of memory problem.

Recommended Posts

Greetings, I made a small replacement file for RACS forces to be woodland like using Relliki's Woodland RACS models, the config.cpp is standalone made, and when I run ArmA it gives me a CTD with a warning about out of memory, if I get the .pbo (the file containing my stand-alone config) file out of the addons folder, everything works fine, I tried the old way of "test and error" to see wich lines are giving trouble, well, all man class and Land rovers are not giving errors, but yes the Blackhawks,little birds, and M-113/Vulcan. If you have the addon, to create this config and test it yourself do this: create a folder, put inside a .txt file, change the name of the .txt file for "config.cpp" without quotes and inside copy paste the content quoted below, then using a .pbo packer, convert the folder to a .pbo file, I use CPBO.

If you dont have the addon but still want to help, you will need to do the download: http://www.armaholic.com/page.php?id=1017

PS: This was made for personal use, no public/private distribution intented, only for personal use.

PS to Relliki: I apologize if this requires your permission, I realized that if it is for personal use I wont need permission to do this, the original addon "RLK_RACS" was never modified, the config, as said before, is stand alone, please contact me as soon as possible here or by PM if you have something to tell me about this and I will take inmidiate actions.

#define true 1

#define false 0

#define VSoft 0

#define VArmor 1

#define VAir 2

#define private 0

#define protected 1

#define public 2

#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 ReadAndWrite 0

#define ReadAndCreate 1

#define ReadOnly 2

#define ReadOnlyVerified 3

class CfgPatches

{

class rlk_racs_repl

{

units[] = {};

weapons[] = {};

requiredVersion = 0.100000;

requiredAddons[] = {"CAData","CACharacters","CAWeapons","CAAir","CATracked","CAWheeled","rlk_racs"};

};

};

class CfgVehicles

{

class CAManBase;

class car;

class tank;

class helicopter;

class SoldierGB : CAManBase

{

model="\rlk_racs\soldier.p3d";

};

class OfficerG : SoldierGB

{

model="\rlk_racs\officer.p3d";

};

class SoldierGMedic : SoldierGB

{

model="\rlk_racs\medic.p3d";

};

class SoldierGG : SoldierGB

{

model="\rlk_racs\grenadier.p3d";

};

class SquadLeaderG : SoldierGG

{

model="\rlk_racs\sqleader.p3d";

};

class TeamLeaderG : SoldierGB

{

model="\rlk_racs\tleader.p3d";

};

class SoldierGMiner : SoldierGB

{

model="\rlk_racs\miner.p3d";

};

class SoldierGCrew : SoldierGB

{

model="\rlk_racs\crew.p3d";

};

class SoldierGSniper : SoldierGB

{

model="\rlk_racs\sniper.p3d";

};

class SoldierGPilot : SoldierGB

{

model="\rlk_racs\pilot.p3d";

};

class SoldierGAT : SoldierGB

{

model="\rlk_racs\at.p3d";

};

class SoldierGAA : SoldierGAT

{

model="\rlk_racs\at.p3d";

};

class SoldierGMG : SoldierGB

{

model="\rlk_racs\mg.p3d";

};

class SoldierGCommando : SoldierGB

{

model="\rlk_racs\sabot.p3d";

};

class SoldierGGuard : SoldierGB

{

model="\rlk_racs\sabot.p3d";

};

class SoldierGMarksman : SoldierGB

{

model="\rlk_racs\sabmark.p3d";

};

class LandroverMG : car

{

model="\rlk_racs\vehl\Landrover_MG.p3d";

};

class Landrover_closed : LandroverMG

{

model="\rlk_racs\vehl\Landrover_Closed.p3d";

};

class Landrover : Landrover_closed

{

model="\rlk_racs\vehl\Landrover_Open.p3d";

};

/*extern*/ class M113;

class M113_RACS : Tank

{

side=2;

model="\rlk_racs\vehl\m113.p3d";

};

/*extern*/ class Vulcan;

class Vulcan_RACS : M113_RACS

{

side=2;

model="\rlk_racs\vehl\vulcan.p3d";

};

/*extern*/ class M113ambul;

class M113Ambul_RACS : M113_RACS

{

side=2;

model="\rlk_racs\vehl\m113_amb.p3d";

};

/*extern*/ class UH60;

class UH60_RACS : Helicopter

{

side=2;

model="\rlk_racs\vehl\uh60.p3d";

};

/*extern*/ class UH60MG;

class UH60MG_RACS : UH60_RACS

{

side=2;

model="\rlk_racs\vehl\uh60_mg.p3d";

class Damage

{

tex[] = {};

mat[] = {"ca\air\data\materialy\uh60_01.rvmat", "ca\air\data\materialy\uh60_01.rvmat", "ca\air\data\materialy\uh60_01_destruct.rvmat", "rlk_racs\vehl\uh60_1_specular.rvmat", "rlk_racs\vehl\uh60_1_specular.rvmat", "ca\air\data\materialy\uh60_02_destruct.rvmat", "rlk_racs\vehl\uh60_2_specular.rvmat", "rlk_racs\vehl\uh60_2_specular.rvmat", "ca\air\data\materialy\uh60_03_destruct.rvmat", "ca\air\data\materialy\uh60_04.rvmat", "ca\air\data\materialy\uh60_04.rvmat", "ca\air\data\materialy\uh60_04_destruct.rvmat"};

};

};

/*extern*/ class AH6;

class AH6_RACS : Helicopter

{

side=2;

model="\rlk_racs\vehl\ah6.p3d";

};

/*extern*/ class MH6;

class MH6_RACS : AH6_RACS

{

side=2;

model="\rlk_racs\vehl\mh6.p3d";

};

};

Problem solved, to admin and/or moderators: Please, close this thread as the problem has been solved.

Edited by LT. Drake Jackson
Added spoiler to the config, and problem solved

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  

×