Suggestion: Mission builder AI

Suggestion: Mission builder AI

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Suggestion: Mission builder AI

Post by jcnossen »

With fnordia working on the lua missions again, could someone create a mission builder AI?
It should be fairly simple to see which units are in the group and output some LUA code to place them.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

I have a sorter AI that outputs unitnames of the units selected for buildtree dev. What sort of lua commands/syntax is neded?
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

You can look at http://svn.berlios.de/svnroot/repos/tas ... ontest.lua for an example.

I guess a simple list of

LoadUnit(UnitName, position, 0, false)

statements would be enough for easily making a few static mission scripts, but ofcourse a more complete mission editor that non-lua coders can use would be best.
esteroth12
Posts: 501
Joined: 18 May 2006, 21:19

Post by esteroth12 »

what do the parameters stand for? afaik...

LoadUnit(UnitName, position, team, ?)

whats the false for? dead? could we load wrecks?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

maybe, probably, havent tested it.

We should be able to though
Fnordia
Former Engine Dev
Posts: 425
Joined: 13 Aug 2004, 16:11

Post by Fnordia »

I've commited a lua script that can output some lua code that places the selected units. (missionhelper.lua)
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

Eh I guess I was a little to enthusiastic here yes :oops:
Sorry if anyone did any double work.
Post Reply

Return to “AI”