Friday, April 13, 2012

Taking units from Allied AI in skirmish

[:1]Is it possible to take units from AI allied player in skirmish? Or sharing resourcess?



Could be made in mod?|||datomasSC|||Well, I don't have a clue how to make a mod, I don't know nothing about programing.



So, please, Sorian or Duncan, If you have time, please, make some simple mod, like option for taking 1 engineer from your AI ally only.



Please. :)|||Interesting idea.|||Is it hard to make this mod?



It doesn't need to be too fancy, just option to take one t1 engineer, no sharing resources...



Well, if others have different ideas, please share it...|||Sharing resources is enabled by default.



Not sure how hard getting the AI to give you units would be.|||Well Sorian, will you take a look in this?



If anyone know how to 'negotiate' with AI, it is you. :) And Duncane.|||Sorian, did you see if it can be made? Is it possible to make it, or is it engine limited?



Just wanted to know and to stop building my hopes.



Thank you!|||Haven't taken a real deep look yet. From what I can tell so far, it may be possible. Some of the functions involved are in the engine, so I will just have to try it and see what happens.|||If there were just a way to give MY units to the AI id suffice, the AI has a serious problem of losing all its pgens when its commander blows (i play supremecy seeing as the AI aint always so great with its commander, even with the updated ones)



But when my ally loses all his power or builders its very difficult for him to get going again, id love to be able to give a few behind my base - a small ally is much better than no ally|||I want this bad.|||Interesting idea for sure, but I still enjoy stealing enemy's engineers. :twisted:|||@Sorian: If one of two allied AI's die in an assassination match can the surviving AI take over the Dead AI's units?

This would simulate a human player giving her army to a team mate just before his death.



Also, i would love for it be possible to ask an AI for one of its units or experimentals by name.

Sometimes the AI builds units that it isn't/can't use effetively.|||Come on Sorian, Duncane, other modders of the FA world... there must be a way to tweak even just the giving units to the AI. Just power plants to get them up and going again would suffice. Or a mass extractor to let it rebuild, i know units might be difficult because the AI wouldnt know what platoons and such like to put them in but it sure knows how to spend what resources its got!|||This would be a great idea!



8)|||I don't want to be rude or boring, but please, Sorian or Dancan, will you look into this? Please... :)



Or at least say that it can't be done, or something...|||What exactly are we after here?



Shared resources is already on... Also I think you can already give units to the AI.



So its just that the AI cant give you units yeah? When should it do so?



I havent really looked at this as having AI allies isnt really my thing...|||We want to give units to the AI but we can't. (at least in skirmish mode)

We also want to be able to ask the AI for units somehow. (such as by name.)

We also want the AIs to give units to each other. (Give-all if one dies, trade engy's etc...)|||Okay try this...



It is a mod called AIAllyControl.



It allows you to give units to you AI allies.

(NOTE: I'm not sure they will use the units unless they are the same faction, but that is something that I think sorian may have fixed in his mod?).



It allows you to click on an AI allies name in the score panel and you will switch focus to that AI. You can then give that AI's units to who ever you like. Click your name to return back to your control.

(NOTES:

Cheating needs to be on for this to work.

When giving units make sure they are close to an enemy AI base otherwise it may notice them.

)



You can also issue commands to AI ally units this way, but the AI will continue to run and issue other orders when it sees fit.



Simply download this zip file and enable in mod manager (i.e. its a ui side mode not a gamedata folder mod):

http://members.iinet.net.au/~dionysus/misc/AIAllyControl.zip



*|||Hey, this is excellent!



I just tried it, you're right about cheating needing to be on to take control of the AI's units but i can now give Fatboys to the AI at will.



Kudos, Duncane.



P.S. I can see so many uses for this kind of mod.

You could make a mod to start a two player match and bring in ally's via the quantum gates.|||duncane|||It was actually very little code for this... its just finding the spots that check for AIvsHuman that took a while...



Anyway... Let me know how you go. I cant fix things I dont know about.|||Thank you!!!



Will be a couple of weeks before me and my desktop are reunited but now we might get on a tad better, i look forward to trying this out :)|||I'm doing a little testing now.

When you switch back to your own army all the engys and com are shown as idle.

Even if the engys are building, moving etc...

Also Some units don't transfer over. I tried to take one of my ally's unused Continentals but it wouldn't transfer.

I then tried a wasp and that won't transfer ether.

So then i gave him some T2 tanks and then switched to him and couldn't give them back.



I was able to give him some Fatboys and he renamed and attacked with them right away.

When i give it non-exp units the AI doesn't appear to use them though.|||Were you the same faction as your ally or a different one?

No comments:

Post a Comment