From 4a5bdb90ffdbd9974f86df14893e7287f2faa933 Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Fri, 27 Oct 2023 15:00:19 -0600 Subject: Better targeting --- src/entities/antifaShip.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/entities/antifaShip.h') diff --git a/src/entities/antifaShip.h b/src/entities/antifaShip.h index 98c85cc..89000c7 100644 --- a/src/entities/antifaShip.h +++ b/src/entities/antifaShip.h @@ -10,8 +10,8 @@ #define ANTIFA_DRAW_BULLET_FOR 0.05 // Auto target shit. -#define ANTIFA_START_AUTO_TARGET_MAX 3.0 // How far off auto target can be entail it drops. -#define ANTIFA_AUTO_TARGET_SPEED 1.0 +#define ANTIFA_START_AUTO_TARGET_MAX 0.5 // How far off auto target can be entail it drops. +#define ANTIFA_AUTO_TARGET_SPEED 100.0 typedef struct AntifaShip { Vector2 lastMouse; @@ -21,8 +21,8 @@ typedef struct AntifaShip { double timeSinceLastBullet; Bullet lastBulletShot; Vector3 gunTarget; - bool doAutoTarget; + bool doAutoTarget; EntityId targetedEntityId; EntityFingerprint targetedEntityFingerprint; } AntifaShip; -- cgit v1.2.3