Mobile Factories
Posted: 21 Aug 2007, 23:04
Ok, folks... I have solved most of the problem of delivering mobile factories. There are a few issues remaining, however, and I'd like some input.
Basically, all I need, for a mobile factory that is static when it can build stuff, is that button that says, "Fly/Land", and then to use a modified version of the Upgrade Script to change it into a flying or hovering Unit, then it can move. Ok, basic problem solved there- it can now move.
However, landing and becoming a Factory again is a bit more of a pain. Basically, it needs to land, facing a cardinal direction (i.e., exactly NSEW), and it needs to land in on a position where it satisfies Spring's requirements for Factories using Yardmaps, which means it must strictly adhere to map-squares, instead of being able to move in Elmos, or Spring Units, of linear measure.
So, basically when Land is hit, it needs to search for an appropriately-sized area on the ground, turn to one of the four cardinal directions, then land.
How can this be accomplished? I have a Factory that can take off and fly about done, so naturally, I'd love it if I could have this done before I release an Alpha.
Basically, all I need, for a mobile factory that is static when it can build stuff, is that button that says, "Fly/Land", and then to use a modified version of the Upgrade Script to change it into a flying or hovering Unit, then it can move. Ok, basic problem solved there- it can now move.
However, landing and becoming a Factory again is a bit more of a pain. Basically, it needs to land, facing a cardinal direction (i.e., exactly NSEW), and it needs to land in on a position where it satisfies Spring's requirements for Factories using Yardmaps, which means it must strictly adhere to map-squares, instead of being able to move in Elmos, or Spring Units, of linear measure.
So, basically when Land is hit, it needs to search for an appropriately-sized area on the ground, turn to one of the four cardinal directions, then land.
How can this be accomplished? I have a Factory that can take off and fly about done, so naturally, I'd love it if I could have this done before I release an Alpha.