LUA driven peon harvesters!
Moderator: Moderators
LUA driven peon harvesters!
I have been working hard on my new secret project and learning a lot of LUA. The result so far is: asteroids spawned all over the map. Peons that attack the roids with mining lasers, and then return with their cargo once full to a town hall, then they resume mining more! You can even queue up more then one roid and it works. I might add in that they automatically start mining on another nearby roid if one gets depleted and they have nothing to do too. This video shows it all off:
http://www.youtube.com/watch?v=XieuTnq2gtw
I also further plan to add in specialized haulers and containers to make things even more interesting. The mod itself that I'm working on will contain shitloads of lua that will totally overthrow most TA game mechanics. It's also a space ship mod.
http://www.youtube.com/watch?v=XieuTnq2gtw
I also further plan to add in specialized haulers and containers to make things even more interesting. The mod itself that I'm working on will contain shitloads of lua that will totally overthrow most TA game mechanics. It's also a space ship mod.
-
- Imperial Winter Developer
- Posts: 3742
- Joined: 24 Aug 2004, 08:59
I could use the hold position/maneuver/roam maybe to set if you want them to wander for resources long/short range or just mine what their told, if I implement that at all. It works off normal attack orders so you can area attack also, to designate an area.
Last edited by Zpock on 26 Sep 2007, 12:29, edited 1 time in total.
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
That's piece of cake. The resources are just neutral gaia units that react to being hit by special weapons. They can be spawned however and whenever you would want easily. The spawning could be done in the map gaia lua I think?
For a dune harvester the spice is kinda supposed to be sitting flatly on the ground, but I'm sure you could make it adequately aesthetically pleasing anyway. Maybe have the spice unit consist mostly of a ground decal or something.
For a dune harvester the spice is kinda supposed to be sitting flatly on the ground, but I'm sure you could make it adequately aesthetically pleasing anyway. Maybe have the spice unit consist mostly of a ground decal or something.