- 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
- Tweaked Iron Dome, fighter script, bomber script, carrier script, teamsettings, wave defense settings, projectile settings
- Made laser defense twice as responsive + increased the range by 20 @Brackman
- Fixed memory leak with impact explosions and muzzle flares thanks to @Algor
- Increased power income of powerplans to 25% because of @Brackman (CET)s suggestion
Warning: These fixes will improve FPS. However I have noticed a bug with the Laser Shield modules no longer working correctly (the built in laserdefense of the Destroyer MKII for instance does still work. The Iron Dome has some similar issues currently because of all the changes I made. Fighters do still work as anti-bombers though, so please use those temporarily until I have time to fix this. I discussed uploading this build with some players to see if I should upload this build or not. I decided to do it even with these 2 bugs because the FPS framerate fix outweighs the downsides of the Iron Domes and Laser Shield Modules temporarily not working.
Hopefully I can have those last 2 bugs fixed by the end of the week though!
Gameplay in action while discussing stuff:
Changed files in this update