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.
Mobile Factories
Moderator: Moderators
That's a good idea. Maybe a lot more workable, honestly.
Although I'd kind've like a Yardmap- that's the only prickly bit. I'm using a U-shaped Land Factory (clever name, eh?) in PURE, and it uses rocket motors to move... it'd be kind've lame, if Units could just walk through the walls. If anybody has any ideas about that issue, I'm all ears.
Although I'd kind've like a Yardmap- that's the only prickly bit. I'm using a U-shaped Land Factory (clever name, eh?) in PURE, and it uses rocket motors to move... it'd be kind've lame, if Units could just walk through the walls. If anybody has any ideas about that issue, I'm all ears.
I have thought of this as well, combine it with making a LUA driven custom economy, and then one can finally get rid of the TA building system and implement whatever one wants. Starcraft/warcraft like ui with the limited buildqueues, CnC style with the sidebar, or even something new.KDR_11k wrote:Alternatively you could just reimplement the factory stuff in Lua so it's not actually a factory but it can create units, build on them for a while and then release them?
Landing pads, better control of building animations, barracks that don't nanolathe infantry... lots of nice things.
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24