OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Iwesshome on 26 Mar 2003, 16:22:06
-
Hi all,
I tried going to the CIA website on their tutorial for Config.ccp files... since their PBO file is no longer downloadable does anyone know a good island I can use for researching how to set up my cpp file?
I am not going to use my own textures just ones provided by the game and one airport if this helps.
Thanks,
IW
-
snYpr's tutorial on this very site has a bare bones config in it.
Editors depot -> 3 party tools -> snYpr v 1.03 I think
-
here is a copy of the .cpp of Skye if that helps:
// Skye3
// Made with New World config.cpp creator by Marksman
// beta version
#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 Skye3
{
units[] = {};
weapons[] = {};
worlds[] = {"Skye3"};
requiredVersion = 1.75;
};
class kkb_gate
{
units[] = {"kkb_gate"};
weapons[] = { };
requiredVersion = 1.75;
};
};
class CfgVehicles{};
class CfgSurfaces
{
class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
class DefaultWorld {};
class Skye3: DefaultWorld
{
access=3;
description="Skye3";
icon="\Skye3\skye3.paa";
worldName="\Skye3\Skye3.wrp";
plateFormat="ML$ - #####";
plateLetters="ABCDEGHIKLMNOPRSTVXZ";
startTime="7:30";
startDate="10/4/82";
startWeather=0.400000;
startFog=0.000000;
forecastWeather=0.400000;
forecastFog=0.000000;
seagullPos[]={8897,4349,100};
ilsPosition[]={6824.36,8773.72,15.00};
ilsDirection[]={0,0.080000,-1};
ilsTaxiIn[]={};
ilsTaxiOff[]={};
centerPosition[]={9735,3964,0};
class Sounds
{
sounds[]={};
};
class Animation
{
vehicles[]={};
};
class Names
{
class Slovale
{
name="Slovale";
position[]={7092.52,2923.23,15.00};
};
class Delovince
{
name="Delovince";
position[]={6792.41,6544.20,15.00};
};
class Domensk
{
name="Domensk";
position[]={9699.38,6241.36,25.00};
};
class CampRusty
{
name="Camp Rusty";
position[]={5723.91,3757.25,15.00};
};
class Plesky
{
name="Plesky";
position[]={6761.42,7848.43,15.00};
};
class SkyeAirport
{
name="Skye Airport";
position[]={6870.24,9179.76,15.00};
};
class Borovince
{
name="Borovince";
position[]={7685.23,3446.59,15.00};
};
class StAndre
{
name="St Andre";
position[]={11151.11,7137.65,30.00};
};
class Harbour
{
name="Harbour";
position[]={6717.21,7619.67,15.00};
};
class KosPoint
{
name="Kos Point";
position[]={4463.59,5506.00,55.00};
};
class Pletinski
{
name="Pletinski";
position[]={6707.38,5579.51,65.00};
};
class PletinskiForest
{
name="Pletinski Forest";
position[]={7247.30,5822.97,95.81};
};
class Maloughf
{
name="Maloughf";
position[]={8096.45,5396.17,12.00};
};
};
};
};
class CfgWorldList
{
class Skye3{};
};
Waterman. :)
-
If you need a .cpp I might be able to help if you want...
or there are many experienced WRPeditors and .cpp writers that are out there like CBFASI, Pertti49 etc...
Waterman. :)
-
Let me take a stab at it and I will let you guys know - thanks alot.
IW