-
Notifications
You must be signed in to change notification settings - Fork 2
adb_ru
aspadm edited this page Oct 20, 2018
·
1 revision
Описание анимаций объекта
Файл начинается с заголовка:
uint magic; // 41 44 42 00
uint animations_count;
char global_name[24];
float min_height;
float mid_height;
float max_height;После него следует описание анимаций, в количестве animations_count:
char animation_name[16];
uint number;
uint64 packed;
uint action_probability;
uint animation_length;
float movement_speed;
uint start_show_hide1;
uint start_show_hide2;
uint start_step_sound1;
uint start_step_sound2;
uint start_step_sound3;
uint start_step_sound4;
uint start_hit_frame;
uint start_special_sound;
uint spec_sound_id1;
uint spec_sound_id2;
uint spec_sound_id3;
uint spec_sound_id4;Значение uint64 packed расшифровывается побитово следующим образом:
| диапазон | хранится |
|---|---|
| 0..6 | оружие |
| 7..14 | ? |
| 15..17 | разрешённые состояния |
| 18..21 | тип действия |
| 22..29 | модификатор действия |
| 30..31 | состояние анимации |
| 32..37 | форма при действии |
| 38..63 | ? |