Текущее время: 24 окт 2020, 23:10

Правила форума


Посмотреть правила форума



Ответить на тему  [ Сообщений: 7 ] 
adding new unit to another mod 
Автор Сообщение
Красноармеец

Зарегистрирован: 30 май 2020, 16:29
Сообщений: 8
Сообщение adding new unit to another mod
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


10 авг 2020, 20:53
Профиль
Лейтенант

Зарегистрирован: 12 янв 2012, 05:22
Сообщений: 2100
Откуда: МВО
Сообщение Re: adding new unit to another mod
Compare it to any similar one.
mayor писал(а):
shot1_Damage 500.500
shot1_Speed 35.35
shot1_Range 608.608
shot1_DeadZone 106.100
shot1_Accuracy 65.38
shot1_ReloadTime 170.160
shot1_burstreloadtime 180,153
shot2_Damage 20.20
shot2_Speed 28.28
shot2_Range 450.450
shot2_DeadZone 62.62
shot2_Accuracy 30.25
shot2_BurstReloadTime 40.30
protection 20mm 156,156 246,246 236,236
In these error lines, a space must be used as a separator!
mayor писал(а):
shot2_UseAmmo May 2
What is there May 2!??
mayor писал(а):
stock 5
If you have indicated that it can carry five passengers, then unit (graphic) itself must have "bindings" placed on them
Files:
    .inf
    .hot

_________________
Изображение
Приумножая познания, приумножаешь и скорбь.....(с)


10 авг 2020, 23:12
Профиль ICQ
Красноармеец

Зарегистрирован: 30 май 2020, 16:29
Сообщений: 8
Сообщение Re: adding new unit to another mod
shot2_UseAmmo May 2

When I write here I didn't look where I was writing,is my mistake. I look in my units now is show: shot2_UseAmmo 2 5 . You have good eye.

"If you have indicated that it can carry five passengers, then unit (graphic) itself must have "bindings" placed on them
Files: .inf .hot" - what tools I need for this files?

P.S.
Tell me how to know which file in the editor is for which unit of RWG ToW? I dont see in that in unit details.


Последний раз редактировалось mayor 11 авг 2020, 16:14, всего редактировалось 1 раз.



11 авг 2020, 12:59
Профиль
Лейтенант

Зарегистрирован: 12 янв 2012, 05:22
Сообщений: 2100
Откуда: МВО
Сообщение Re: adding new unit to another mod
mayor писал(а):
what tools I need for this files?
SuSt_Graph_2_51
SuSt_Graph_2_041
sust_hot_3.2

_________________
Изображение
Приумножая познания, приумножаешь и скорбь.....(с)


11 авг 2020, 13:44
Профиль ICQ
Красноармеец

Зарегистрирован: 30 май 2020, 16:29
Сообщений: 8
Сообщение Re: adding new unit to another mod
zarathustra писал(а):
mayor писал(а):
what tools I need for this files?
SuSt_Graph_2_51
SuSt_Graph_2_041
sust_hot_3.2


Спасибо


11 авг 2020, 16:15
Профиль
Красноармеец

Зарегистрирован: 30 май 2020, 16:29
Сообщений: 8
Сообщение Re: adding new unit to another mod
hello guys
I have some crash of game when use infantry unit,commander to attack,with signal rocker, on to one particular infantry unit. When i do same to other units game not crash. Is some files where unit does not recognize that attack or is unit files, I dont know. I don't have enough knowledge with infantry tools.

-----This is commander details-----

file signalman

*nationtype russian sold
*picture signalman.edt sold.pl

name "commander Delandel"
*name commander Delandel
shortname "commander Delandel"


watertrace walkonwater
permanentanimask 15
walkonground 1
walkonwater 0
walkonshallows 1
canbepara 1
*nationtype other sold
scoretype sold
camouflage russian
native none

captivevisradius 50 60
captivevistime 250 360

groundtrace walkonground
canattackpoint 1
anispeed DIE 8 8 8 8
anispeed FIRE 15 15 15 15
anispeed RUN -1 -1 -1 -1
anispeed STOP 8 8 8 8
alarmrange 1 2
canbecrew 1
canbecrushed 1
crouchtofire 0
expa_loosehp 0 0
getminetime 80 68

movespeed 0.5 0.55
radius 4
scandelay 20
selector 13
cancrouchexpa 0
dirboomtype soldier
radboomtype soldier
targettype man

sight 23 23

health 50

seltype general

ammo1 20

shot1_accuracy 1 1
shot1_animat rocket
shot1_animation gsmoke
shot1_damage 10 10
shot1_deadzone 7 7
shot1_delay 0 0
shot1_endburstsound rifle_reload 0.3 perm 0 1
shot1_expa 0 0
shot1_id none
shot1_range 180 180
shot1_reloadtime 250 250
shot1_sound rocket 0.3 perm 0 1
shot1_speed 20 20
shot1_useammo 1 1

reload1 1 0.5


shot2_sound none 0.3 perm 0 1
shot2_endburstsound none 0.3 perm 0 1

moraleautoincrease 10
moralemax 32768
moralenoattack -32767
moralerage 0
moraleresist 1000
moralerndmove -21844

officerradius 250 350
anispeed THROW 8 8 8 8


armor EXPLOSIVE 40 40 0 0 0 0
armor FIRE 10 10 0 0 0 0
armor MACHINE 5 5 0 0 0 0
armor MINE 20 20 0 0 0 0
armor PIERCE 100 100 0 0 0 0
armor SNIPER 1 1 0 0 0 0

attackpref APC 1
attackpref BOAT 141
attackpref BUILDING -1
attackpref CAR 1
attackpref CRUISER 1
attackpref GUN 253
attackpref HEAVYTANK 1
attackpref LIGHTTANK 1
attackpref MAN 249
attackpref MEDTANK 1
attackpref SMALLGEAR 1
attackpref SOFT 1
attackpref TRAIN 1
attackpref TURRET 1

scorevalue 30
crouchsight 13 13
crouchmovespeed 0.33 0.36
soundtype officer

-------this is flagman,particular unit--------
file flaghonor

*nationtype russian sold
*picture flaghonor.edt sold.pl

name "commissar Zarathustra"
*name commissar Zarathustra
shortname "commissar Zarathustra"


watertrace walkonwater
permanentanimask 15
walkonground 1
walkonwater 0
walkonshallows 1
canbepara 1
*nationtype russian sold
scoretype sold
camouflage russian
native russian

captivevisradius 50 60
captivevistime 250 360

groundtrace walkonground
canattackpoint 1
anispeed DIE 8 8 8 8
anispeed FIRE 15 15 15 15
anispeed RUN -1 -1 -1 -1
anispeed STOP 8 8 8 8
alarmrange 1 2
canbecrew 1
canbecrushed 1
crouchtofire 0

getminetime 80 68

movespeed 0.5 0.55

scandelay 20
selector 13

dirboomtype soldier
radboomtype soldier
targettype man

sight 23 23

health 50

seltype general

ammo1 64

shot1_sound pistol 0.3 perm 0 1
shot1_endburstsound rifle_reload 0.3 perm 0 1
shot1_id man_machine1
shot1_animation shot_32m
shot1_animat none
shot1_delay 0 0
shot1_damage 60 60
shot1_range 350 350
shot1_accuracy 28 23
shot1_deadzone 1 1
shot1_expa 9 0
shot1_speed 45 45
shot1_useammo 1 1
shot1_reloadtime 29 29
shot1_burstshots 8 8
shot1_burstreloadtime 90 80

reload1 1 0.5


shot2_sound none 0.3 perm 0 1
shot2_endburstsound none 0.3 perm 0 1


moralemax 32768
moralenoattack -32767
moralerage 0
moraleresist 1000
moralerndmove -21844

officerradius 250 350
anispeed THROW 255 255 255 255


armor EXPLOSIVE 40 40 0 0 0 0
armor FIRE 10 10 0 0 0 0
armor MACHINE 5 5 0 0 0 0
armor MINE 20 20 0 0 0 0
armor PIERCE 100 100 0 0 0 0
armor SNIPER 1 1 0 0 0 0

attackpref APC 1
attackpref BOAT 141
attackpref BUILDING -1
attackpref CAR 1
attackpref CRUISER 1
attackpref GUN 253
attackpref HEAVYTANK 1
attackpref LIGHTTANK 1
attackpref MAN 249
attackpref MEDTANK 1
attackpref SMALLGEAR 1
attackpref SOFT 1
attackpref TRAIN 1
attackpref TURRET 1

scorevalue 30
crouchsight 13 13
crouchmovespeed 0.33 0.36
soundtype officer


25 авг 2020, 14:17
Профиль
Лейтенант

Зарегистрирован: 12 янв 2012, 05:22
Сообщений: 2100
Откуда: МВО
Сообщение Re: adding new unit to another mod
-----This is commander-----
shot1_id none
What will he shoot with? Or is it the name of the desk of the shot from SHOTS?

ammo1 20
He has cartridges, but the shooting parameters are not. Where is the queue size and delay between queues:
    shot1_burstreloadtime
    shot1_burstshots
?

shot2_endburstsound none 0.3 perm 0 1
shot2_sound none 0.3 perm 0 1

He doesn't say anything about the second weapon, why are these sounds needed then?

armor EXPLOSIVE 40 40 0 0 0 0
Not critical, just incomprehensible: he has an armor plate on his chest !?

-------this is flagman,particular unit--------
Not indicated:
    radius

There are no parameters defined for both units:
    groupseltype
    icon

shot2_endburstsound
shot2_sound

He doesn't say anything about the second weapon, why are these sounds needed then?

_________________
Изображение
Приумножая познания, приумножаешь и скорбь.....(с)


25 авг 2020, 15:06
Профиль ICQ
Показать сообщения за:  Сортировать по:  
Ответить на тему   [ Сообщений: 7 ] 

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Перейти:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
Русская поддержка phpBB