Jump to content
Sign in to follow this  
lukemax

Trooper help

Recommended Posts

Hi

If you know how to make a config file for a trooper please can you get in contact with me.

Luke

Share this post


Link to post
Share on other sites

It says

." encounted instead of "{"

or something

rock.gif?rock.gif?

Any ideas

Share this post


Link to post
Share on other sites

This is my config.

//Config file written by OFPCW ofps.cncguild.net/configw

//MI Trooper made by Luke Steel

#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

#define CanSeeRadar 1

#define CanSeeRye 2

#define CanSeeOptics 4

#define CanSeeEar 8

#define CanSeeCompass 16

#define CanSeeRadarC CanSeeRadar+CanSeeCompass

#define CanSeeAll 31

class CfgPatches

{

class MI

{

units[] = {MI.P3D};

weapons[] = {};

requiredVersion = 1.75;

};

};

class CfgVehicles

{

class All{};

class AllVehicles: All{};

class Land: AllVehicles{};

class Man:Land{};

class Soldier:Man{};

class SoldierWB: Soldier{};

class MI.P3D: SoldierWB

{

displayName={MI Trooper};

nightVision=1;

canHideBodies=0;

armor=5;

armorStructural=4.000000;

armorHead=0.800000;

armorBody=3.000000;

armorHands=0.500000;

armorLegs=0.650000;

weapons[]={"M16","Throw","put"};

magazines[]={"M16","M16","M16","M16","M16","Han

dGrenade","HandGrenade","HandGrenade"};

model="\MI\MI.P3D";

};

};

Share this post


Link to post
Share on other sites
//Config file written by OFPCW ofps.cncguild.net/configw

//MI Trooper made by Luke Steel

#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

#define CanSeeRadar 1

#define CanSeeRye 2

#define CanSeeOptics 4

#define CanSeeEar 8

#define CanSeeCompass 16

#define CanSeeRadarC CanSeeRadar+CanSeeCompass

#define CanSeeAll 31

class CfgPatches

{

class MI

{

units[] = {MI};

weapons[] = {};

requiredVersion = 1.75;

};

};

class CfgVehicles

{

class All{};

class AllVehicles: All{};

class Land: AllVehicles{};

class Man:Land{};

class Soldier:Man{};

class SoldierWB: Soldier{};

class MI: SoldierWB

{

displayName="MI Trooper";

nightVision=1;

canHideBodies=0;

armor=5;

armorStructural=4.000000;

armorHead=0.800000;

armorBody=3.000000;

armorHands=0.500000;

armorLegs=0.650000;

weapons[]={"M16","Throw","put"};

magazines[]={"M16","M16","M16","M16","M16","Han

dGrenade","HandGrenade","HandGrenade"};

model="\MI\MI.P3D";

};

};

quoted is the correct way ^^

Share this post


Link to post
Share on other sites

wy dont you post it it Breathe? or some thing like that? and maybe you can download OFP addon helper from ofp.info?

Share this post


Link to post
Share on other sites

No help there same kind of error message.

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  

×