View Issue Details

IDProjectCategoryLast Update
0023189AI War 2[All Projects] Gameplay IssueMay 19, 2020 7:30 pm
Reporterx4000BughunterAssigned Tox4000Bughunter 
Status resolvedResolutionfixed 
Product Version 
Fixed in VersionBeta 2.044 Scientific Equality 
Summary0023189: Drones should always load back into a transport that is in "load mode" no matter what.
DescriptionIt's frustrating people that drones won't listen to those orders, unlike everything else.

Credit FDru, Benkyo, and playoftheyear.
TagsNo tags attached.



May 19, 2020 5:18 pm

manager   ~0057047

I think the fix for this is simple. In the GameEntity_Squad code, we have

                #region Drone Recall and Status changes
                if ( this.TypeData.IsDrone &&
                     this.PlanetFaction.DataByStance[FactionStance.Hostile].TotalStrength < 100 )
                    //This is a drone on a planet without any enemies. It should fly back to its parent and then
                    //be reabsorbed.

This check just needs to be modified to be

if ( this.TypeData.IsDrone && (this.PlanetFaction.DataByStance[FactionStance.Hostile].TotalStrength < 100 || <flagship is in load mode> ) )


May 19, 2020 7:30 pm

administrator   ~0057051


* Drones should now automatically load back into your transports if your transports are in load mode. There was never any code for doing that sort of thing before, other than drones choosing to load back in.
** Additionally, drones will no longer deploy for any fleets that are in transport load mode. Previously, the only way to keep them from deploying was by pausing/disabling the transport.

Issue History

Date Modified Username Field Change
May 19, 2020 4:13 pm x4000Bughunter New Issue
May 19, 2020 5:18 pm BadgerBadger Note Added: 0057047
May 19, 2020 7:30 pm x4000Bughunter Assigned To => x4000Bughunter
May 19, 2020 7:30 pm x4000Bughunter Status new => resolved
May 19, 2020 7:30 pm x4000Bughunter Resolution open => fixed
May 19, 2020 7:30 pm x4000Bughunter Fixed in Version => Beta 2.044 Scientific Equality
May 19, 2020 7:30 pm x4000Bughunter Note Added: 0057051