Manuever helper AI
Moderator: Moderators
Manuever helper AI
What I'd like is some sort of maneuver helper AI which maneuvers units around when they are engaged in combat so they don't stand still all the time.
No idea if this would be of any use to TA mods but others might like it.
Anyway I thought of it like this:
Either tie it to the engine and have the modder decide (tag in UNITINFO) if that helper gets activated when a unit's behaviour is set to maneuver or have a seperate helper to manually activate.
Actually, most of it can be done with COB script so adding a variable to COB might be a good idea, shoud be set/get able with multiple states, i.e.
0 = idle,
1 = move around in a given radius (tag in UNITINFO),
2 = retreat KAI style
When the unit engages combat you may just turn one of the features on in the FireWeapon(), HitByWeapon(), etc. function and have a unit flee or panic on health level for example.
I think this might make some mods feel more alive. I was thinking of 1944 and Gundam but it'd spice up any mod.
So anyone available with some spare time who'd like to do that? Pretty please? With sugar on top.
No idea if this would be of any use to TA mods but others might like it.
Anyway I thought of it like this:
Either tie it to the engine and have the modder decide (tag in UNITINFO) if that helper gets activated when a unit's behaviour is set to maneuver or have a seperate helper to manually activate.
Actually, most of it can be done with COB script so adding a variable to COB might be a good idea, shoud be set/get able with multiple states, i.e.
0 = idle,
1 = move around in a given radius (tag in UNITINFO),
2 = retreat KAI style
When the unit engages combat you may just turn one of the features on in the FireWeapon(), HitByWeapon(), etc. function and have a unit flee or panic on health level for example.
I think this might make some mods feel more alive. I was thinking of 1944 and Gundam but it'd spice up any mod.
So anyone available with some spare time who'd like to do that? Pretty please? With sugar on top.
Well, for an "intelligent manoevering warrior" AI, there are tons of things you could do - such an AI would consider the firing ranges and effective-DPS of all nearby units, and try to position itself in such a way that it cannot be fired on - and when under fire, it would manoever within that optimal space.
I agree with Lordmatt. This is called micromanaging your units. Its a fundamental skill in any RTS and i think having an AI do it for you is just...wrong.
We have AIs to do a lot of other things, many of which I disagree with already. To each his own, i suppose.
At the LANs I go to, the use of the AIs is prohibited.
We have AIs to do a lot of other things, many of which I disagree with already. To each his own, i suppose.
At the LANs I go to, the use of the AIs is prohibited.
+1Sheekel wrote:I agree with Lordmatt. This is called micromanaging your units. Its a fundamental skill in any RTS and i think having an AI do it for you is just...wrong.
We have AIs to do a lot of other things, many of which I disagree with already. To each his own, i suppose.
At the LANs I go to, the use of the AIs is prohibited.
That's why I mentioned to tie it to the engine, which means the descision is up to the mod maker rather than the player where and when to use it.
So if I get this right you people would like to continue to have zombie alike unit behaviour... way to go.
There's more than TA you know... anyway any takers?
So if I get this right you people would like to continue to have zombie alike unit behaviour... way to go.

There's more than TA you know... anyway any takers?
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24
this AI is pointless. to make a unit randomly move, give any number of move orders to give a pattern, then set the unit on repeat and it will move how you said, forever.
to retreat, select everything on the screen, and click somewhere away from the screen.
if you mean that units always try and stay at maximum range by their own AI, then nobody would need short range units anymore, as such micro would make all ronge range units the own.
to retreat, select everything on the screen, and click somewhere away from the screen.
if you mean that units always try and stay at maximum range by their own AI, then nobody would need short range units anymore, as such micro would make all ronge range units the own.
You don't get the big picture at all...
For example:
A unit has two weapons, one long range with long reload and a short range fast firing one. When the long range weapon is ready to fire, the unit will then evade the enemy and move to maximum firing range until it finds something to fire on. Once the LR weapon has been fired it will normally pursue the enemy again. And so on...
I'm talking about a pretty basic unit AI.
No of course I could setup a random movement pattern. In a few seconds. For 100+ units. Each having their own pattern based on their locations in a certain limiter. No apparently I can't. It's just one of the things I thought about. You could make units charge enemies without dummy weapons and a lot more stuff I can't think of right now.
Anyway, I'm a bit confused why you are so against it. I never saw anyone complain about aircraft movement behavior (except for their inablity to land where you want them to).
You're so like NEW FEATURES NOOOOOOOOOOOO! >:*(
Which is sad... :P
For example:
A unit has two weapons, one long range with long reload and a short range fast firing one. When the long range weapon is ready to fire, the unit will then evade the enemy and move to maximum firing range until it finds something to fire on. Once the LR weapon has been fired it will normally pursue the enemy again. And so on...
I'm talking about a pretty basic unit AI.
No of course I could setup a random movement pattern. In a few seconds. For 100+ units. Each having their own pattern based on their locations in a certain limiter. No apparently I can't. It's just one of the things I thought about. You could make units charge enemies without dummy weapons and a lot more stuff I can't think of right now.
Anyway, I'm a bit confused why you are so against it. I never saw anyone complain about aircraft movement behavior (except for their inablity to land where you want them to).
You're so like NEW FEATURES NOOOOOOOOOOOO! >:*(
Which is sad... :P
...and I'm left. No I don't play to micro and I don't consider it much fun myself.
What ever, it's not the reason which made me bring that idea up though (thought I made myself clear). It was to give mod makers the opportunity to make their mods feel more alive. That is just one of the things which is missing for me.
Anyway you might as well do other things instead of telling me how much failure that idea is. In fact, I'd rather see some opinions from people other than the AA mob.
I guess I'm better off doing it myself, I just don't have the time for it.
What ever, it's not the reason which made me bring that idea up though (thought I made myself clear). It was to give mod makers the opportunity to make their mods feel more alive. That is just one of the things which is missing for me.
Anyway you might as well do other things instead of telling me how much failure that idea is. In fact, I'd rather see some opinions from people other than the AA mob.

I guess I'm better off doing it myself, I just don't have the time for it.
Re: Manuever helper AI
I've thought about this kind of thing for S44 myself. +1rattle wrote:What I'd like is some sort of maneuver helper AI which maneuvers units around when they are engaged in combat so they don't stand still all the time.
No idea if this would be of any use to TA mods but others might like it.
Anyway I thought of it like this:
Either tie it to the engine and have the modder decide (tag in UNITINFO) if that helper gets activated when a unit's behaviour is set to maneuver or have a seperate helper to manually activate.
Actually, most of it can be done with COB script so adding a variable to COB might be a good idea, shoud be set/get able with multiple states, i.e.
0 = idle,
1 = move around in a given radius (tag in UNITINFO),
2 = retreat KAI style
When the unit engages combat you may just turn one of the features on in the FireWeapon(), HitByWeapon(), etc. function and have a unit flee or panic on health level for example.
I think this might make some mods feel more alive. I was thinking of 1944 and Gundam but it'd spice up any mod.
So anyone available with some spare time who'd like to do that? Pretty please? With sugar on top.

With "It was to give mod makers the opportunity to make their mods feel more alive" you mean that you wanted units that actual look to think by thenselfes instead of just being zumbis that walk just the enough to shot their targets and then stop here doing it until dead?rattle wrote:...and I'm left. No I don't play to micro and I don't consider it much fun myself.
What ever, it's not the reason which made me bring that idea up though (thought I made myself clear). It was to give mod makers the opportunity to make their mods feel more alive. That is just one of the things which is missing for me.
Anyway you might as well do other things instead of telling me how much failure that idea is. In fact, I'd rather see some opinions from people other than the AA mob.
I guess I'm better off doing it myself, I just don't have the time for it.
I think its a good idea


Sigh. Do you have any idea how much more the pathfinder would hate us if we did something like this on a large scale? It'd be one thing for a DoW-style game with maybe 150 units per side, limited strictly per player... it'd be another thing entirely with NanoBlobs, even though it'd be really kewl.
On the other hand, the whole "micro is the point" people are just plain wrong. It's a real-time strategy game. Messing around with single units, while it should result in some leverage, shouldn't be the entire gameplay, and I could very well see a mod that combined units that demand micro... with units that very much do not
On the other hand, the whole "micro is the point" people are just plain wrong. It's a real-time strategy game. Messing around with single units, while it should result in some leverage, shouldn't be the entire gameplay, and I could very well see a mod that combined units that demand micro... with units that very much do not
