Jump to content


Photo

take and hold


No replies to this topic

#1 incarnate

incarnate
  • New Members
  • 1 posts

Posted 10 December 2007 - 08:14 PM

Hi guys,

I sent a pm to thud a couple of weeks back when he mentioned some problems.

Just read your post

I would ask your question in the advanced modding thread - this area is for general inquiries. You do not remotely need to be stuck with "has-been" era game code but please ask all "specific questions of contention" in the advanced modders forum.

And the 2.50 AI doesn't have problems with 10 objectives across a map -- many official maps have that many. The AI, as I told many others in the past, won't contend a T&H position because:

a) You have a large force or a "turret farm" guarding the stratpoint the AI needs to stop the countdown from ending the game thus the AI feels it cannot attack you there since its force is less then what it needs to conquer it in time, and..

b) We as an AI team are waiting on Relic to continue updating the basic AI hardcode to allow for the AI to know what the T&H countdown clock means. SoulStorm is still under 6 months away so I am personally trying to get some movement from them. 6months is PLENTY of time for AI progress.
On b) that may be solvable, but i dont know what the limitation is at your end with the AI.


The scar (ie the T&H win condition) could be re-coded to tell the AI at what stage it is at. we have
Code:

Void Cpu_DoString( PlayerID player, String s ) Run this string in the AI of player

Which i presume would allow the scar to call an AI function...at which point you could take over.

I know the timer uses a strategic UI, and because im not at my dow computer, i cant say specifically say, but i think the strategic UI code cannot be edited, and this may be what you are stumbling on? Regardless, the strategic UI can be added and a separate timer started in the wincondition, and this should be able talk to your AI.

If im completely wrong here dont worry, i just saw the post and thought id throw my hat in.

Im off to see ratatouille now.

Adios.
~incy

Thud wanted me to post this here now.
Im not an AI vet, you guys know your stuff, and i can see you use cpu_tostring already.
I was thinking a module with a function for each gametime.. it could easily be compiled by something like VBA if you dont like copy and pasting. Or can AI locate global scar values and retrive them directly?
Or can dostring pass functioname(1) --> hence passing a specific value with the function??

Just some things Im sure you have already thought about.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users