Fix pickup billboards, AI stuck recovery, vehicle top speeds, and add Revision assets
This commit is contained in:
1 parent
d001f214aa
commit
5a42ca9968
48 files changed
+995
-160
No files matched your search
@@ -57,6 +57,8 @@ struct CraftState {
|
||||
float missile_cd = 0.0f;
|
||||
float boost_timer = 0.0f;
|
||||
float boost_cooldown = 0.0f;
|
||||
float invincible_timer = 0.0f;
|
||||
float invisible_timer = 0.0f;
|
||||
float damage_flash = 0.0f;
|
||||
int lock_target_id = -1;
|
||||
float lock_progress = 0.0f;
|
||||
@@ -96,6 +98,14 @@ struct CraftState {
|
||||
float ai_fire_delay = 0.0f;
|
||||
bool ai_seeking_pit = false;
|
||||
int ai_pit_pad_idx = -1;
|
||||
float ai_stuck_timer = 0.0f;
|
||||
float ai_unstuck_timer = 0.0f;
|
||||
float ai_unstuck_steer = 1.0f;
|
||||
float ai_pit_cooldown = 0.0f;
|
||||
float ai_pit_stay_timer = 0.0f;
|
||||
Vec3 ai_progress_anchor{0.0f, 0.0f, 0.0f};
|
||||
float ai_progress_timer = 0.0f;
|
||||
bool ai_anchor_init = false;
|
||||
|
||||
float speed_horizontal() const {
|
||||
return std::sqrt(vel.x * vel.x + vel.z * vel.z);
|
||||
|
||||
Reference in new issue
Block a user