Forged Alliance Forever Forums
Moderator: Morax
Uveso wrote:Just an Idea:
We could change this function to get the blueprint skirt size from the unit in case its a ship or naval factory:
https://github.com/FAForever/fa/blob/3b73337e27608d094fba5ed20c772833c9e21d1f/lua/defaultunits.lua#L757
Then we overload the function RollOffUnit with (ShipSize)
https://github.com/FAForever/fa/blob/3b73337e27608d094fba5ed20c772833c9e21d1f/lua/defaultunits.lua#L813
After this we can call the CalculateRollOffPoint also with (ShipSize)
https://github.com/FAForever/fa/blob/3b73337e27608d094fba5ed20c772833c9e21d1f/lua/defaultunits.lua#L818
If we do so, we can calculate a propper Unit RollOffPoint dependent on the ship size, no matter what techlevel it has.
Users browsing this forum: No registered users and 1 guest