Missiles now have a color based on their damage type (anti light = green, anti medium = orange, anti heavy = blue, anti building = red.
Fixed a bug with unit kills tracking.
Fixed a bug with muzzle flares and explosions never being removed causing a memory leak and lower framerates.
Fighters and bombers efficiecy improvements.
Made stuff blowing up from a player losing more efficeint.
Big rework: Added a team component to all ships and projectiles. When a projectile is created it inherits the TeamID, playerName, playerID and some other stuff from the ship that fires now. Bombers, Fighters, Ships, Buildings, Projectiles, Missiles, Beams and some other elements all have this component now.
Uploaded backers build to the steam test branch.
Replaced a lot of team checks in over 153 files and read through about 5.000 lines of code.
Removed variables and added teamcomp to the bomberhangar and cleaned up variables from unitproperties that were unused.
Testbranch missile defense now shoots down 4 enemy missiles instead of 5 per Laserdef. Reduced cooldown from 30 seconds to 20 seconds. Also lowered the amount of ’checks’ from 1x per frame to 1x per second, making it hundreds of times more efficient.
Tweaked the amount of colored visuals added to missiles. There were 2 visuals added per missile. Instead I am now adding 1, but making it 30% bigger to keep the same visual effect.
Made the Iron Dome more responsive by checking for new targets/if it can hit targets ever .5 seconds rather than ever 2 seconds. Will no longer try to get a new target over network if it is the same as the previous target to prevent a network call being made every .5 seconds.
Fixed bug of allied shipyards in multiplayer not having a team assigned.