<Prototype
Class = "Vehicle"
Name = "Monster"
ResourceType = "VEHICLE"
DiffRatio = "3.0"
MaxEngineRpm = "18000"
LowGearShiftLimit = "5000"
HighGearShiftLimit = "4300"
SelfBrakingCoeff = "0.006"
SteeringSpeed = "1.2"
HornSound = "ET_S_HORN01"
PressingForce = "2.0"
CameraHeight = "4"
CameraMaxDist = "16"
DecisionMatrix = "vehiclemain.lua"
LookRadius = "200.0"
IntersectionRadius = "4.5"
TakingRadius = "30.0"
DestroyEffectPiercing = "ET_PS_VEH_EXP1_MED"
DestroyEffectBlast = "ET_PS_VEH_EXP2_MED"
DestroyEffectEnergy = "ET_PS_VEH_EXP3_MED"
DestroyEffectWater = "ET_PS_VEH_EXP2_MED"
MassSize = "20 10 15"
MassTranslation = "0 -1.5 0"
DriftCoeff = "0.0000001"
Abstract = "true">
<MainPartDescription id = "CHASSIS" partResourceType = "MONSTER_CHASSIS">
<PartDescription id = "CABIN" partResourceType = "MONSTER_CABIN" lpName = "LP_CAB01" >
<PartDescription id="CABIN_SMALL_GUN" partResourceType = "SMALL_GUN" lpName = "LP_SML01" />
</PartDescription>
<PartDescription id = "BASKET" partResourceType="MONSTER_BASKET" lpName = "LP_BSK01" >
<PartDescription id="BASKET_SMALL_GUN_0" partResourceType = "SMALL_GUN" lpName = "LP_SML01" />
<PartDescription id="BASKET_SPECIAL_WEAPON" partResourceType = "SPECIAL_WEAPON"/>
</PartDescription>
</MainPartDescription>
<Parts>
<Part id = "CHASSIS" Prototype = "monsterChassis" />
</Parts>
<Wheels>
<Wheel Prototype = "uralWheel01l" steering = "correct" />
<Wheel Prototype = "uralWheel01l" steering = "correct" />
<Wheel Prototype = "uralWheel01l" />
<Wheel Prototype = "uralWheel01l" />
</Wheels>
</Prototype>
<Type Name="VEHICLE_PART">
<Type Name="CHASSIS" geomsize="5 5">
<Type Name="MONSTER_CHASSIS" />
</Type>
<Type Name="CABIN" geomsize="5 5">
<Type Name="MONSTER_CABIN" />
</Type>
<Type Name="BASKET" geomsize="5 5">
<Type Name="MONSTER_BASKET" />
</Type>
<Folder Name = "Chassis">
<Prototype
Class = "Chassis"
Name = "monsterChassis"
ModelFile = "molokovozChassis"
ResourceType = "MONSTER_CHASSIS"
NodeScale = "1 1 1"
Price = "12000"
RepairCoef = "0.2"
Mass = "410.0"
MaxHealth = "1200"
MaxFuel = "140"
BrakingSound="ET_S_BRAKE01"
PneumoSound ="ET_S_PNEUMO_BRAKE01"
GearShiftSound="ET_S_GEAR_SHIFT01"
LoadPoints = "LP_CAB01 LP_BSK01" >
<GroupsHealth
Main = "10000"
/>
</Prototype>
</Folder>
<Folder Name = "Cabins">
<Prototype
Class = "Cabin"
Name = "monsterCab01"
ModelFile = "bugCab01"
ResourceType = "MONSTER_CABIN"
NodeScale = "1 1 1"
Durability = "40"
DurCoeffsForDamageTypes = "8 0 5"
Mass = "160.0"
MaxPower = "210"
MaxTorque = "160"
EngineHighSound = "ET_S_ENGINE_BEETLE_3_HIGH"
BlowEffect = "ET_PS_VEH_PART_BLOW_SMALL_CAB"
Price = "4000"
RepairCoef = "0.2"
FuelConsumption = "0.05"
MaxSpeed = "145.0"
LoadPoints = "LP_SML01" >
<GadgetDescription>
<Slot
ResourceType = "GADGET_COMMON"
MaxAmount = "1" />
<Slot
ResourceType = "GADGET_WEAPON"
MaxAmount = "1" />
</GadgetDescription>
<GroupsHealth
Main = "0"
Breakable1 = "0.5"
Breakable2 = "0.5"
Breakable3 = "0.5"
Breakable4 = "0.5"
Breakable5 = "0.5"
Breakable6 = "0.5"
Breakable7 = "0.5"
Breakable8 = "0.5"
/>
</Prototype>
<Prototype
Class = "Cabin"
Name = "monsterCab02"
ModelFile = "bugCab02"
ResourceType = "MONSTER_CABIN"
NodeScale = "1 1 1"
Durability = "50"
DurCoeffsForDamageTypes = "10 5 8"
Mass = "200.0"
MaxPower = "210"
MaxTorque = "175"
EngineHighSound = "ET_S_ENGINE_BEETLE_3_HIGH"
BlowEffect = "ET_PS_VEH_PART_BLOW_SMALL_CAB"
Price = "6000"
RepairCoef = "0.2"
FuelConsumption = "0.07"
MaxSpeed = "150.0"
LoadPoints = "LP_SML01" >
<GadgetDescription>
<Slot
ResourceType = "GADGET_COMMON"
MaxAmount = "2" />
<Slot
ResourceType = "GADGET_WEAPON"
MaxAmount = "2" />
</GadgetDescription>
<GroupsHealth
Main = "0"
Breakable1 = "0.5"
Breakable2 = "0.5"
Breakable3 = "0.5"
Breakable4 = "0.5"
Breakable5 = "0.5"
Breakable6 = "0.5"
Breakable7 = "0.5"
Breakable8 = "0.5"
/>
</Prototype>
<Prototype
Class = "Cabin"
Name = "monsterCab03"
ModelFile = "bugCab03"
ResourceType = "MONSTER_CABIN"
NodeScale = "1 1 1"
Durability = "50"
DurCoeffsForDamageTypes = "15 10 13"
Mass = "230.0"
MaxPower = "210"
MaxTorque = "200"
EngineHighSound = "ET_S_ENGINE_BEETLE_3_HIGH"
BlowEffect = "ET_PS_VEH_PART_BLOW_SMALL_CAB"
Price = "8000"
RepairCoef = "0.2"
FuelConsumption = "0.09"
MaxSpeed = "160.0"
LoadPoints = "LP_SML01" >
<GadgetDescription>
<Slot
ResourceType = "GADGET_COMMON"
MaxAmount = "3" />
<Slot
ResourceType = "GADGET_WEAPON"
MaxAmount = "4" />
</GadgetDescription>
<GroupsHealth
Main = "0"
Breakable1 = "0.5"
Breakable2 = "0.5"
Breakable3 = "0.5"
Breakable4 = "0.5"
Breakable5 = "0.5"
Breakable6 = "0.5"
Breakable7 = "0.5"
Breakable8 = "0.5"
/>
</Prototype>
</Folder>
<Folder
Name = "Baskets">
<Prototype
Class = "Basket"
Name = "monsterCargo01"
ModelFile = "bugCargo01"
VisibleInEncyclopedia = "false"
ResourceType = "MONSTER_BASKET"
Durability = "30"
DurCoeffsForDamageTypes = "5 0 0"
NodeScale = "1 1 1"
BlowEffect = "ET_PS_VEH_PART_BLOW_SMALL_CAB"
Price = "3000"
RepairCoef = "0.2"
Mass = "100.0" >
<RepositoryDescription
RepositorySize = "4 6"/>
<GroupsHealth
Main = "0"
Breakable1 = "0.6"
Breakable2 = "0.6"
Breakable3 = "0.5"
Breakable4 = "0.5"
Breakable5 = "0.5"
Breakable6 = "0.5"
Breakable9 = "0.6"
Breakable10 = "0.5"
/>
</Prototype>
<Prototype
Class = "Basket"
Name = "monsterCargo02"
ModelFile = "bugCargo02"
ResourceType = "MONSTER_BASKET"
Durability = "40"
DurCoeffsForDamageTypes = "10 5 5"
NodeScale = "1 1 1"
BlowEffect = "ET_PS_VEH_PART_BLOW_SMALL_CAB"
Price = "5000"
RepairCoef = "0.2"
Mass = "110.0"
LoadPoints = "NO_LP" >
<RepositoryDescription
RepositorySize = "4 8">
<Slot
Name = "BASKET_SPECIAL_WEAPON"
Pos = "10 10"
/>
</RepositoryDescription>
<GroupsHealth
Main = "0"
Breakable1 = "0.5"
Breakable2 = "0.5"
Breakable3 = "0.4"
Breakable4 = "0.5"
Breakable5 = "0.5"
Breakable6 = "0.5"
Breakable7 = "0.4"
Breakable8 = "0.3"
Breakable9 = "0.2"
Breakable10 = "0.2"
Breakable11 = "0.2"
Breakable12 = "0.3"
Breakable13 = "0.1"
Breakable14 = "0.3"
/>
</Prototype>
<Prototype
Class = "Basket"
Name = "monsterCargo03"
ModelFile = "bugCargo03"
ResourceType = "MONSTER_BASKET"
Durability = "50"
DurCoeffsForDamageTypes = "15 10 10"
NodeScale = "1 1 1"
BlowEffect = "ET_PS_VEH_PART_BLOW_SMALL_CAB"
Price = "6000"
RepairCoef = "0.2"
Mass = "150.0" >
<RepositoryDescription
RepositorySize = "6 8"/>
<GroupsHealth
Main = "0"
Breakable1 = "0.7"
Breakable2 = "0.7"
Breakable3 = "0.7"
Breakable4 = "0.5"
Breakable5 = "0.5"
Breakable6 = "0.5"
Breakable7 = "0.6"
Breakable8 = "0.5"
/>
</Prototype>
<Prototype
Class = "Basket"
Name = "monsterCargo04"
ModelFile = "molokovozCargo01"
ResourceType = "MONSTER_BASKET"
Durability = "60"
DurCoeffsForDamageTypes = "20 15 15"
NodeScale = "1 1 1"
BlowEffect = "ET_PS_VEH_PART_BLOW_SMALL_CAB"
Price = "8000"
RepairCoef = "0.2"
Mass = "190.0" >
LoadPoints = "LP_SML01" >
<RepositoryDescription
RepositorySize = "5 8">
<Slot
Name = "BASKET_SMALL_GUN_0"
Pos = "9 1"
/>
</RepositoryDescription>
<GroupsHealth
Main = "0"
Breakable1 = "0.7"
Breakable2 = "0.7"
Breakable3 = "0.5"
Breakable4 = "0.7"
/>
</Prototype>
</Folder>
"Apocalypse007" писал(а):
как мне узнать где ошибка?
"Apocalypse007" писал(а):
как мне узнать где ошибка?
Виноват , привык "Блокнотом" работать, постараюсь исправиться."kosty-x17" писал(а):
он у нас тоже так сделал, когда танк собрал)) Мой xml-редак ругаться сразу начал