AI for COM shooter
Moderators: hoijui, Moderators
-
- Posts: 265
- Joined: 04 Sep 2005, 01:25
AI for COM shooter
How hard would it be to make an AI for the mod "com shooter"?
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24
should make an NTAI setting for single unit mods like com shooter and war EV, where it just moves on a patrol route around the whole map and moves towards an enemy when one comes in range then has 1 of 2 settings, engage from max range or engage from min range (for pyros and things that need to get close as possible)
-
- Posts: 265
- Joined: 04 Sep 2005, 01:25
The next NTai toolkit will allow you to set the initial attack group size to 1 allowing NTai's main targetting routine to shunt the commander around when set to one. All thats needed then is an "is_base" keyword and some b_retreat b_na and b_rand_move orders scattered in a longwinded tasklist.
b_na will halt the tasklist allowing the attacking routines to carry on unhindered.
b_retreat makes it retreat to the nearest base marker. When factories are built base markers are set by them, but since this is an fps mod we need to force NTai todo it using "is_base" which will make the starting position its base.
b_na will halt the tasklist allowing the attacking routines to carry on unhindered.
b_retreat makes it retreat to the nearest base marker. When factories are built base markers are set by them, but since this is an fps mod we need to force NTai todo it using "is_base" which will make the starting position its base.
-
- Posts: 265
- Joined: 04 Sep 2005, 01:25