Jump to content


Photo

C&C3 Advanced AI objectives list.


  • Please log in to reply
75 replies to this topic

#41 Malkor

Malkor

    Eternity

  • Members
  • 375 posts
  • Projects:Loladins of Legend.
  •  Inanely inane inanities!

Posted 16 September 2007 - 07:28 PM

The AI should actually defend itself as I told you before. They completely ignore their base being attacked and they never send in units to defend.

#42 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,166 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 17 September 2007 - 01:57 AM

An AI cannot defend if you have cut off their resources. In C&C3, yer basically screwed if you are cut off from resources. Now, if the AI has an attack force somewhere else but has its main base left over for the enemy to exploit then yes I agree the AI needs to fall back home and protect its prime assets. This is advanced coding and will come in time.
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#43 Malkor

Malkor

    Eternity

  • Members
  • 375 posts
  • Projects:Loladins of Legend.
  •  Inanely inane inanities!

Posted 17 September 2007 - 06:29 PM

Trust me, in cnc3, you don't run out of resources easily, especially brutal-difficulty computers. Every map is basically BGH in that there is a retarded amount of resources just lying around everywhere. That isn't the problem so much as the computers just refuse to do anything intelligent.

By the way, I'll beta test for you when I get my new computer, although that could be a while since it seems the R650 isn't being released any time soon.

#44 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 17 September 2007 - 07:04 PM

You dont play online do you? 1 Miner is hell to lose 2 and you might as well give up.

#45 Spikey00

Spikey00
  • Members
  • 153 posts

Posted 17 September 2007 - 10:50 PM

Definitely.

#46 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 18 September 2007 - 12:48 PM

Definitely.


:grin:

Anyway Thudo it didnt work Even Though I set it to 100% Weighting it wasnt used.

#47 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,166 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 18 September 2007 - 01:46 PM

What wasn't working?
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#48 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 18 September 2007 - 03:34 PM

The Opening Move I did.

<SkirmishOpeningMove
	id="GDIBrutalHogo"
	Side="GDI">

	<Order Build="GDICrane" />
	<Order Build="GDIPowerPlant" />
	<Order Build="GDIRefinery" />
	<Order Build="GDIRefinery" />
	<Order Build="GDIWarfactory" />
	<Order Build="GDIHarvester" />
	<Order Build="GDIRefinery" />
	<Order Time="63s" Account="PRODUCTION" Deposit="999999" />
	<Order Build="GDIPowerPlant" />
	<Order Build="GDIWarfactory" />
	<Order Build="GDIRefinery" />
	<Order Build="GDICrane" />
	<Order Build="GDIWarfactory" />
	<Order Build="GDIRefinery" />
	<Order Time="166s" />
  </SkirmishOpeningMove>

I also Added the line to Optimal For it to work and Set weighting to 100 They dont use it >_<

#49 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,166 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 18 September 2007 - 03:39 PM

Actually its buggy.. If you force only your buildorder the game for some stupid reason won't load the Personality at all. Ughhh! It seems to be forced to a certain % of loaded buildorders which makes absolutely no sense.

So if I alter this in GDIOptimal.xml:

<OpeningMove Name="GDIStandard" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIStandard2" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIStandardCrane" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIRefineryCrane" Weight="25%" Difficulty="MEDIUM HARD"/>
to just look like this:
<OpeningMove Name="GDIStandard" Weight="100%" Difficulty="MEDIUM HARD"/>
Then ensure only one buildorder in "GDIOptimalOpeningMoves.xml" is running it will disable the Personality. Bahhhh!!!
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#50 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 18 September 2007 - 03:48 PM

Ah Dang

<OpeningMove Name="GDI_EASY" Weight="100%" Difficulty="EASY"/>

	<OpeningMove Name="GDIStandard" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIStandard2" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIStandardCrane" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIRefineryCrane" Weight="25%" Difficulty="MEDIUM HARD"/>

	<OpeningMove Name="GDIBrutalMixedRush" Weight="50%" Difficulty="BRUTAL"/>
	<OpeningMove Name="GDIBrutalCrane" Weight="50%" Difficulty="BRUTAL"/>
	<OpeningMove Name="GDIBrutalHogo" Weight="100%" Difficulty="BRUTAL"/>

This is What I have >_< But I guess Thats stupid. and disables it meaning it uses another file? because I could set them as Ballanced.

#51 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,166 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 18 September 2007 - 03:58 PM

Well no you can't have other BRUTAL buildprograms showing there since all the BRUTALS don't equal to 100%. Its should be 33%, 33%, 34%. if you want to do it that way OR skew it to 98% for yours and 1% for the other 2 but try that and watch what happens: your personality doesn't show up in the list. Bloody stupid.
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#52 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 18 September 2007 - 05:24 PM

Oh I will have a look :S Ea have Screwed this AI.

#53 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 18 September 2007 - 05:38 PM

Ballanced Showed up but they didnt build My build Order >_<
<OpeningMove Name="GDI_EASY" Weight="100%" Difficulty="EASY"/>

	<OpeningMove Name="GDIStandard" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIStandard2" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIStandardCrane" Weight="25%" Difficulty="MEDIUM HARD"/>
	<OpeningMove Name="GDIRefineryCrane" Weight="25%" Difficulty="MEDIUM HARD"/>

	<OpeningMove Name="GDIBrutalMixedRush" Weight="2%" Difficulty="BRUTAL"/>
	<OpeningMove Name="GDIBrutalCrane" Weight="2%" Difficulty="BRUTAL"/>
	<OpeningMove Name="GDIBrutalHogo" Weight="96%" Difficulty="BRUTAL"/>


#54 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,166 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 18 September 2007 - 05:47 PM

Hmm.. Ya playing against a BRUTAL GDI AI using the Personality you configured? It should take it.
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#55 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 18 September 2007 - 06:30 PM

GDI Optimal Being Ballanced right? If not WTF and whats steam roller?

#56 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,166 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 18 September 2007 - 06:39 PM

Yes.. GDI Optimal = Balanced.
Steamroller, I believe = GDIOverlord or GDIOffensive. Not quite sure the reason for the renaming. Bah. Try dupping your buildorder within all the other buildorders as a test to see if it takes it. It should.

Still.. I'm not sure how you have the Personality showing in-game as selectable if you make changes to the % values? I did this for Medium, Hard but did not touch Brutal. Wonder if I should. Hmmmmm
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#57 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 18 September 2007 - 06:47 PM

Yes.. GDI Optimal = Balanced.
Steamroller, I believe = GDIOverlord or GDIOffensive. Not quite sure the reason for the renaming. Bah. Try dupping your buildorder within all the other buildorders as a test to see if it takes it. It should.

Still.. I'm not sure how you have the Personality showing in-game as selectable if you make changes to the % values? I did this for Medium, Hard but did not touch Brutal. Wonder if I should. Hmmmmm


Ok I will try that cheers and you say Med and Hard didnt get taken out of the list hmm We maybe have to try stuff with them.

No Luck! It still manages to use other build orders. Maybe it can take them from other files other wise optimal cant be Ballanced.

#58 Malkor

Malkor

    Eternity

  • Members
  • 375 posts
  • Projects:Loladins of Legend.
  •  Inanely inane inanities!

Posted 25 September 2007 - 05:37 PM

You dont play online do you? 1 Miner is hell to lose 2 and you might as well give up.


Well, my comment is in the assumption you are doing something other than spamming pitbulls or scorpions or whatever the latest craze is. Most of the maps have such a retarded amount of cash on them that one worker won't exactly mean anything after 5 minutes of play when you are raking in more cash then you know what to do with.

Then all of the cash gets mined out and the game turns into a 2-hour crawl.

edit -

Then there's the games like that FFA I watched where one player spent the entire game rebuilding harvesters that threw themselves into his neighbor's sonic cannons, only to win the game by cheesy rocket infantry spam.

edit ii -

Speaking of stupid harvester AI, you might want to look into preventing computer players from throwing their harvesters into stray sonic cannons or enemy bases.

Edited by Malkor, 25 September 2007 - 05:52 PM.


#59 Hogo

Hogo

    Pro Mapper XD

  • C&C Guild Staff
  • 1,295 posts
  • Location:England
  • Projects:Enemy Enhanced, Mapping
  •  Friendly face
  • Division:C&C Guild
  • Job:Division Staff

Posted 25 September 2007 - 06:01 PM

You dont play online do you? 1 Miner is hell to lose 2 and you might as well give up.


Well, my comment is in the assumption you are doing something other than spamming pitbulls or scorpions or whatever the latest craze is. Most of the maps have such a retarded amount of cash on them that one worker won't exactly mean anything after 5 minutes of play when you are raking in more cash then you know what to do with.

Then all of the cash gets mined out and the game turns into a 2-hour crawl.

edit -

Then there's the games like that FFA I watched where one player spent the entire game rebuilding harvesters that threw themselves into his neighbor's sonic cannons, only to win the game by cheesy rocket infantry spam.

edit ii -

Speaking of stupid harvester AI, you might want to look into preventing computer players from throwing their harvesters into stray sonic cannons or enemy bases.



Well Ever herd of Scrin Growth Excelerators They help some what and makes it less of a Turtle My games never go over 30 mins MAX and 30 mins is pushing it for me and my 2 v 2 Partner.
And I guess we could make Harvestors Avoid Threats.

Edited by hogo, 25 September 2007 - 06:02 PM.


#60 Malkor

Malkor

    Eternity

  • Members
  • 375 posts
  • Projects:Loladins of Legend.
  •  Inanely inane inanities!

Posted 26 September 2007 - 09:18 PM

Yeah, scrin growth dudes help alleviate the endgame problem, but unless you are scrin or have a scrin buddy...

Edited by Malkor, 26 September 2007 - 09:19 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users