NTai Clean n Trim Thread

NTai Clean n Trim Thread

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

Moderators: hoijui, Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

NTai Clean n Trim Thread

Post by AF »

What features of NTai are utterly useless and can be removed safely, or should be re-implemented as their current implementation is rubbish?

And I know about solobuild before anyone mentions it!

Removed already:
  • .aicheat command and tracking of the commanders name and id
  • Hard coded targetting values in configs
  • The debug spinning triangles
  • A tonne of code bloat
  • Some buggy builder unit retreating code
Proposed removals
  • DT Rings placement
  • Solo build and single build
  • The building plan tracking system
Intended re-implementations
  • Build task planning system
  • Following above single build and solo build eventually
  • Threat matrix targetting algorithm
Intended Refactors and additions
  • Move as much logic out of the Global class as is humanely possible into proper mutually exclusive objects with roles (already under way)
  • Better Building placement API with a more generic system to ease maintenance and bloat, this will mean geothermal and radar placement will have to be re-factored heavily
  • Refactors of behaviours and tasks including task factories and behaviour managers (70% done)
  • Removal of the boost::shared_ptr mess and said dependency (80% done)
What changes are wanted/needed/suggested aside from those? I'm not giving an ETA on when all this will be done, and I intend to freeze support for spring on a stable spring release to reduce continuous maintenance if I can. I may update it from time to time if people ar eusing ti and the cost isnt too great, or just on a whim.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: NTai Clean n Trim Thread

Post by Argh »

Looks good to me. Especially getting it de-spaghetti'd would be useful, for porting it forward, once the Great AI Interface Rework is reasonably stable.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: NTai Clean n Trim Thread

Post by AF »

The spaghetti bit is easy, its the bolognese one has to be careful about
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: NTai Clean n Trim Thread

Post by Argh »

Hey, if I can look at it and know what bit's cat and what bit's horse, it's fine, and I think a lot of people would want to look at it and learn from it at that point, it'd be less scary than KAIK internally.
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: NTai Clean n Trim Thread

Post by 1v0ry_k1ng »

if you remove single+solo build it'll really hurt the ability to make good configs
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: NTai Clean n Trim Thread

Post by AF »

Currently the solobuild and single build implementations have attracted nothing but claims that they dont actually work, so removal of the entire algorithm and subsequent re-implementation in a properly design task system would be needed.

Nonetheless a stable and well laid out NTai is the priority here. I want other people to be able to dip into the code, and right now its an intimidating jumble in many places, and an orderly laid out machine in others. Consistency!!!
User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: NTai Clean n Trim Thread

Post by 1v0ry_k1ng »

work fasterer !!
Post Reply

Return to “AI”