Jump to content
Sign in to follow this  
stoppelhopser

What´s the matter here?

Recommended Posts

hi,

anybody´s got an idea on that one?

i´ve created a model of a ww2 M5 tractor from scratch in o2.

LODs so far are:

0.500

1.000

Geometry

Land Contact

Memory

i guess i got the config right since on load there´s no error.

i derived it from the APC class.

haven´t added the machinegun yet...

when i try to test the model ingame on mission load ofp crashes to the desktop but doesn´t give me an error message.

i wish it would, because now i don´t know how to figure it out...

one 4 the pro 2 go!

wink.gif

Share this post


Link to post
Share on other sites

here u go:

// DX WW2 U.S. M5 Highspeed Tractor

// some basic defines

#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

// type scope

#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 DX_M5Tractor

{

units[] = {DX_M5Tractor};

weapons[] = {};

requiredVersion = 1.30;

};

};

// ------------------------------------------------------------------------------------------

---

// ------------------------------------------------------------------------------------------

---

class CfgVehicles

{

class All {};

class AllVehicles: All{};

class Land:AllVehicles{};

class LandVehicle: Land{};

class Tank:LandVehicle{};

class APC:Tank{};

class DX_M5Tractor:APC

{

//--

scope=public;

crew = SoldierWCrew;

picture=im113;

side=TWest;

displayName="DX M5 Highspeed Tractor";

nameSound="apc";

accuracy=0.30;

armor=150;

cost=100000;

maxSpeed=56;

hasCommander=false;

// CHANGED

outGunnerMayFire = true;

forceHideGunner = true;

viewGunnerInExternal = true;

transportSoldier = 7;

irScanRange=0;

DefaultWestMagazines= 1;

transportAmmo = 0;

gunnerAction = ManActM113Gunner;

gunnerInAction = ManActM113Gunner;

// driverAction = ManActM113DriverOut;

driverInAction = ManActM113Driver;

soundEnviron[]= {Vehicles\OldRolling_Treads1,db-20,0.7};

soundEngine[]={Vehicles\m113b,db-20,1};

soundCrash[]={Vehicles\crash_small2,db-20,1};

soundGear[]={Vehicles\Gear_Trans1,db-40,1};

model="DX_M5Tractor\DX_M5Tractor";

canFloat=true;

//gunnerOpticsModel = "optika_m2mg";

//gunnerOpticsModel = "optika_empty";

initCargoAngleY=+90; // cargo viewing limitations

//weapons[]={Browning};

//magazines[]={Browning};

type=VArmor;

//threat[] VSoft, VArmor, VAir

threat[]={0.9, 0.2, 0.1};

typicalCargo[]={};

/*class IndicatorSpeed

{

selection = "ukaz_rychlo";

axis = "osa_rychlo";

angle = -290;

min = 0;

max = 64/3.6;

};

class IndicatorRPM

{

selection = "ukaz_rpm";

axis = "osa_rpm";

angle = -235;

min = 0;

max = 1;

};*/

};

};

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  

×