23.01.2008, 11:44
The height thing is easy:
Code:
// buildings.ini
//
// All characteristics of "house" objects are stored in this
// text section file.
// Name of section in the file is same as last name in full class name
// of corresponding object:
// "com.maddox.il2.objects.vehicles.tanks.PzIVF2" --> "[PzIVF2]"
// "com.maddox.il2.objects.vehicles.artillery.Artillery$ML20" --> "[ML20]"
//
// Note: comments with 'FIXME:' means "to do" tasks
// comments with '??' marks estimated values, because real values unknown
//
// Special sections [***] must be placed in file, to
// specify starting of "submenu" -- group of objects. Inside of the section
// a parameter Title specifies name of submenu. Order of submenus (lists) will
// be same as in file.
[_ForDescriptionOfCommentsOnly_]
Title ParkingCorner // Text to be appear in menu
// Model
MeshLive 3do/Tanks/M4A2/Summer/hier.him // full filename of mesh
MeshDead 3do/Tanks/M4A2/Summer/hierD.him // full filename of damaged mesh
// How much meters to add to height about of land's surface
AddHeightLive 0.0
AddHeightDead 0.0
// If need to set object perependicular to land's surface on slopes, then set 1,
// otherwise (perpendicular to sea surface) set 0
AlignToLand 0
// Panzer
// Body type is one of:
// WoodSmall,WoodMiddle,RockMiddle,RockBig,RockHuge,FuelSmall,FuelBig
Body WoodSmall
// Panzer's thickness (in meters).
Panzer 0.05
//===========================================================================