Drawing Movement - Page 2

Drawing Movement

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
Felix the Cat
Posts: 2383
Joined: 15 Jun 2005, 17:30

Post by Felix the Cat »

AF wrote:You've all wandered into GroupAI territory, ask the devs fro ti and you could be waiting for a very very longtime. Or go make a groupAI for ti and wait at most 2 months most of which si looking for soemoen who'll make it.

Remember, ti took em a weekend to write NTAI 0.1, and krogothe 3 weeks to get his first KAI to build from knowing no c++ at all.
Do AIs have access to line and point coordinates?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Yes, also, they may need to be assigned to a unti but they can give commands to units not in their group.

GrouPI share the same abilities as GlobalAI's save a few minor differences in one ro two specific functions, like nto havign a cheat itnerface.

Also ti is possible to make globalAI helpers, but the only way fo doing ti atm is to manualyl add aidll=helperAI.dll; to your player bit in the script fed to sprign which neither Spring SP or the lobby support atm.


Try doing it but using NTAI.dll instead and you'll see what i mean when your commander starts playign like NTAI but you can intervene and do what you want.

Add the line GAIA=1; to the mod.tdf adn you end up with an AI that builds your abse and all you have todo is use the attack units and itnervene if you disagree with what it's doing...
Post Reply

Return to “Engine”