adding new unit to another mod
Добавлено: 10 авг 2020, 20:53
hey guys,
can anyone help me I have some problem with new unit. I make new units who can drive on water and on the ground. All works perfect, but when infantry try to enter in vehicle game crash. I dont why. Here unit details
file lwt4
* picture lwt4-.pck lwt4-.col
name "US Amph.vehicle LVT (a) -4 (75mm Gun M3 L / 40)"
* name US Amph.vehicle LVT (a) -4 (75mm Gun M3 L / 40)
shortname "US Amph.vehicle LVT (a) -4 (75mm Gun M3 L / 40)"
fuelmax 2000
refuel 2 0.78
failprobability 0.10
canattackpoint 2
longunit 1
dieexplosion pontoon
removeexplosion dead_aquatic
watertrace bubble
permanentanimask 3
walkonground 1
walkonwater 1
walkonshallows 1
canbepara 0
* nationtype american tank
scoretype tank
camouflage american
native american
doubletrace 0
idlesnd_move aquatic_move 0.25 perm 0 0
mech 1
scandelay 30
crew_number 7
attackcrew 3
movecrew 1
crew_unit atankist
canmovebackward 1
movespeed 2.0 2.0
backmovespeed 0.6 0.6
turndelay 3 3
sight 20 20
targettype lighttank
seltype lighttank
stock 5
health 600
movedamagehp 1
radius 27
ammo1 97
ammo2 4750
shot1_id 75mm
shot1_sound us_75mm_m3 0.3 perm 0 1
shot1_endburstsound none
shot1_animation shot320bd
shot1_Animat air_smoke
shot1_delay 0 0
shot1_Damage 500.500
shot1_Speed 35.35
shot1_Range 608.608
shot1_DeadZone 106.100
shot1_Accuracy 65.38
shot1_UseAmmo 1 1
shot1_Expa 1.1
shot1_ReloadTime 170.160
shot1_burstshots 1 1
shot1_burstreloadtime 180,153
reload1 75 37.5
gunshotwait 7
gunturndelay 17
shot2_sound hmg_30cal 0.3 perm 0 1
shot2_endburstsound none 0.3 perm 0 1
shot2_id man_machine_us
shot2_animation shot_32m
shot2_animat none
shot2_delay 0 0
shot2_Damage 20.20
shot2_Speed 28.28
shot2_Range 450.450
shot2_DeadZone 62.62
shot2_Accuracy 30.25
shot2_UseAmmo May 2
shot2_Expa 5.1
shot2_ReloadTime 4.3
shot2_BurstShots 5.6
shot2_BurstReloadTime 40.30
reload2 2 1.27
protection EXPLOSIVE 25 26 13 14 13 14
protection PIERCE 20 21 10 11 10 11
protection 20mm 156,156 246,246 236,236
protection TRANSPIERCE 35 35 0 0 30 30
protection MINE 256 256 256 256 256 256
protection FIRE 0 0 0 0 0 0
protection MACHINE 256 256 256 256 255 255
protection SNIPER 256 256 256 256 256 256
protection ABJECTIVE 169 177 90 94 90 94
protection AIR 256 256 256 256 256 256
expa_loosehp 0 0
scorevalue 1200
selector 16
repair 9 0.00
dirboomtype tank
radboomtype tank
can anyone help me I have some problem with new unit. I make new units who can drive on water and on the ground. All works perfect, but when infantry try to enter in vehicle game crash. I dont why. Here unit details
file lwt4
* picture lwt4-.pck lwt4-.col
name "US Amph.vehicle LVT (a) -4 (75mm Gun M3 L / 40)"
* name US Amph.vehicle LVT (a) -4 (75mm Gun M3 L / 40)
shortname "US Amph.vehicle LVT (a) -4 (75mm Gun M3 L / 40)"
fuelmax 2000
refuel 2 0.78
failprobability 0.10
canattackpoint 2
longunit 1
dieexplosion pontoon
removeexplosion dead_aquatic
watertrace bubble
permanentanimask 3
walkonground 1
walkonwater 1
walkonshallows 1
canbepara 0
* nationtype american tank
scoretype tank
camouflage american
native american
doubletrace 0
idlesnd_move aquatic_move 0.25 perm 0 0
mech 1
scandelay 30
crew_number 7
attackcrew 3
movecrew 1
crew_unit atankist
canmovebackward 1
movespeed 2.0 2.0
backmovespeed 0.6 0.6
turndelay 3 3
sight 20 20
targettype lighttank
seltype lighttank
stock 5
health 600
movedamagehp 1
radius 27
ammo1 97
ammo2 4750
shot1_id 75mm
shot1_sound us_75mm_m3 0.3 perm 0 1
shot1_endburstsound none
shot1_animation shot320bd
shot1_Animat air_smoke
shot1_delay 0 0
shot1_Damage 500.500
shot1_Speed 35.35
shot1_Range 608.608
shot1_DeadZone 106.100
shot1_Accuracy 65.38
shot1_UseAmmo 1 1
shot1_Expa 1.1
shot1_ReloadTime 170.160
shot1_burstshots 1 1
shot1_burstreloadtime 180,153
reload1 75 37.5
gunshotwait 7
gunturndelay 17
shot2_sound hmg_30cal 0.3 perm 0 1
shot2_endburstsound none 0.3 perm 0 1
shot2_id man_machine_us
shot2_animation shot_32m
shot2_animat none
shot2_delay 0 0
shot2_Damage 20.20
shot2_Speed 28.28
shot2_Range 450.450
shot2_DeadZone 62.62
shot2_Accuracy 30.25
shot2_UseAmmo May 2
shot2_Expa 5.1
shot2_ReloadTime 4.3
shot2_BurstShots 5.6
shot2_BurstReloadTime 40.30
reload2 2 1.27
protection EXPLOSIVE 25 26 13 14 13 14
protection PIERCE 20 21 10 11 10 11
protection 20mm 156,156 246,246 236,236
protection TRANSPIERCE 35 35 0 0 30 30
protection MINE 256 256 256 256 256 256
protection FIRE 0 0 0 0 0 0
protection MACHINE 256 256 256 256 255 255
protection SNIPER 256 256 256 256 256 256
protection ABJECTIVE 169 177 90 94 90 94
protection AIR 256 256 256 256 256 256
expa_loosehp 0 0
scorevalue 1200
selector 16
repair 9 0.00
dirboomtype tank
radboomtype tank