Jump to content
Sign in to follow this  
Törni

Help wanted -wrecks

Recommended Posts

Can anyone show a sample config for a vehicle wreck object static object?

Or point a link from where to find one to take a look at?

Share this post


Link to post
Share on other sites

hi Törni,

im no config pro, but this one should work

Quote[/b] ]

#define private 0

#define protected 1

#define public 2

#define true 1

#define false 0

#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

class CfgPatches {

class sc9junk {

units[] = {junk1,junk26};

requiredVersion = 1.0;

};

};

class CfgVehicleClasses {

class sc9_junk {

displayName = "(Junk)";

};

};

class CfgVehicles

{

/*extern*/ class NonStrategic;

class junk1:NonStrategic

{

displayName="JunkPile";

vehicleClass="sc9_junk";

icon="\ca\data\data\Unknown_object";

model=\ca\misc\junkpile.p3d;

armor=1000;

accuracy = 0.200000;

scope=2;

destrType = "DestructNo";

mapSize=0.2;

cost=10;

side = 3;

};

/*extern*/ class Thing;

class junk26:Thing

{

displayName="ContainerBlue";

vehicleClass="sc9_junk";

icon="\ca\data\data\Unknown_object";

model=\ca\misc\container2.p3d;

armor=125;

accuracy = 0.200000;

scope=2;

destrType = "DestructTent";

mapSize=0.2;

cost=10;

side = 3;

};

};

hope it help you

Share this post


Link to post
Share on other sites

Thanks I'll give it a try. For some reason I got class error for trying to force the vehicle as a subclass for JeepWreck1. BIS class listing shows it however as a valid vehicle class.

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  

×