This is something I did for D13 originally (iirc with d53 it behaves weirdly) but tbh I don't really remember.
Would be OK with abandoning this if people consider it's a bad idea.
Differential D440
D13 collateral 4: change rally point code slightly for static obstructions wraitii on May 7 2017, 10:26 AM. Authored by
Details
This is something I did for D13 originally (iirc with d53 it behaves weirdly) but tbh I don't really remember. Would be OK with abandoning this if people consider it's a bad idea. check rallypoints for gold mines or trees or big buildings
Diff Detail
Event TimelineComment Actions Build is green Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! http://jw:8080/job/phabricator/1046/ for more details. Comment Actions What's the reason this exists? Seems like working around a bug in other code, if even that. Comment Actions @leper it's for niceness. On large objects, the "goal" with the new unitMotion ends up being inside the bounds of the building, so this moves it closer to us to reflect the usage in current 0 A.D. That's a consequence of the unit Motion rewrite, and it's required to make things work. We could probably work around it by changing more how this flag works. As said above, I don't care if we abandon this, but it does improve on the issue (when tested with D13) Comment Actions Perhaps you could show a screenshot comparison? To me the feature doesn't sound too bad from the GUI point of view. I'm a bit dubious about the "keep in sync" part. The question would be how to unify targetTemplate.Obstruction.Static["@width"] and template.obstruction.shape.width, but I think globalscripts/Templates.js has the capabilities to get that data in both cases and also apply possible aura/tech changes (GetModifiedTemplateDataValue).
|