logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,207

Administrators:
DeeZire, Redemption

There are currently 107 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Red Alert 2 & Yuri's Revenge Editing » -= AI Question. Computer will build more units=-

Red Alert 2 & Yuri's Revenge Editing Discuss any modding related issues to do with Red Alert 2 and Yuri's Revenge here.

Reply
 
LinkBack Thread Tools
Old 08-27-2004, 02:45 PM   #1 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default -= AI Question. Computer will build more units=-

Question 1: Is it possible to specify how many units computer will build before attacking. For example Soviet brutal enemy only builds 3 Kirovs. It would be nice to make the game more challenging by making computer build more Kirovs. Same with other tanks, possibly structures (more war factories)

Question 2: If I modify the game, so that player and computer start with more than one MCV, the computer goes crazy. Builds 3 or 4 times faster, places 3 or 4 structures at the same time, builds more units, etc. For a human player for example the more MCVs you have, the faster you build. For computer player, it's the more MCVs it has, the more structures it builds. Has anyone noticed this?
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2004, 04:11 PM   #2 (permalink)
Member
 
Join Date: Dec 2003
Posts: 69
Default

hi there

1: If you wanna do this, you have to Edit AI.ini (or AIMD.ini if yr). look through it a bit and you should pretty much understand straight away how to increase how many the computer builds.

2: yes... this is because the computer doesnt use actual AI... it uses scripted lines of coding which are activated in certain events. This means that the computer builds stuff straight away. AI normally undeploys mcv, builds power plant, builds refinery and builds a war factory and is just placing a radar when you have just finished your refinery. The only advice i have for you is not to give more than 1 MCV..... Why on earth (besides from setting up bases away from the first base) do you give something more than one MCV?

Hope this answers your questions
mellr0 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2004, 05:23 PM   #3 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

Well the reason I used more than 1 MCV is because I wanted to start with both Soviet and Allied technology at start.
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2004, 06:25 PM   #4 (permalink)
Member
 
Join Date: Dec 2003
Posts: 69
Default

Well.... you could make the tech tree's run into each other..... (just by changing a soviet con yard requirement entry to an allied con yard)
mellr0 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2004, 09:34 PM   #5 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

I can use aimd.ini to edit which and how many units computer builds before each attack. But what about how many strctures it builds. For example how can I control the number of base defences computer will build (i.e prisms towers) ? I'm trying to make the game more challenging. If someone knows general tips on how to make AI smarter, please contribute.
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2004, 11:06 PM   #6 (permalink)
AAG
Senior Member
 
Join Date: Oct 2003
Location: Russia, Novosibirsk
Posts: 489
Default

Find [AI] flag in rules(md).ini
You'll see some tags there. find tags:
Code:
[AI]
...
WarRatio=.1  ; ratio of base that should be composed of war factories
WarLimit=2  ; never build more than this many war factories
DefenseRatio=.4  ; ratio of base that should be defensive structures
DefenseLimit=40  ; maximum number of defensive buildings to build
AARatio=.14  ; ratio of base that should be anti-aircraft defense
AALimit=10 ; maximum number of anti-aircraft buildings to build
TeslaRatio=.16  ; ratio of base that should be telsa coils
TeslaLimit=10 ; maximum number of tesla coils to build
...
I think that is what you need
AAG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-27-2004, 11:36 PM   #7 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

Thanx for info. One question: to increase the number of certain types of structures build by compute, do I increase ratio or limit ? Also do all ratios add up to a certain number that should always be constant?
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-28-2004, 12:47 AM   #8 (permalink)
AAG
Senior Member
 
Join Date: Oct 2003
Location: Russia, Novosibirsk
Posts: 489
Default

Quote:
Originally Posted by Mercury
to increase the number of certain types of structures build by compute, do I increase ratio or limit ?
Limit. Ratio is percent of such structures in the base (AARatio=0.99 - base would only AntiAir structures)

Quote:
Originally Posted by Mercury
Also do all ratios add up to a certain number that should always be constant?
I think - no. Computer will count percent, for example, of Refineries:

RefineryRatio / (sum of all ratios)

All ratios can be even more than 1
AAG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-28-2004, 01:59 AM   #9 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,048
Send a message via MSN to DCoder
Default

sigh... why don't people read the documentation?
Quote:
Originally Posted by DeeZire
The ratio total (i.e. the sum of all the Ratio= values in this section) should exceed 100% so that the base will always try to grow as it vainly attempts to achieve the specified percentage composition. Changing the ratio values allows a small degree of control over the AI's build order, as those with a higher ratio are more likely to be constructed.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-28-2004, 03:25 AM   #10 (permalink)
AAG
Senior Member
 
Join Date: Oct 2003
Location: Russia, Novosibirsk
Posts: 489
Default

Ratio is not percent of a base, but priority: higher value - building is builded earlier?
AAG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you make the AI build units you added [if possible] SmokeyDaBear Generals & Zero Hour Editing 4 06-26-2005 12:26 AM
How to make the AI build units (dozer, aricraft etc.) Valmont Generals & Zero Hour Editing 4 12-24-2004 06:58 PM
How to build units without pilots? juLLe Generals & Zero Hour Editing 7 09-19-2004 04:41 PM
Ra2 units- reality units question. TheKGBspy Red Alert 2 & Yuri's Revenge Editing 24 06-28-2004 12:12 PM
Sorry for the double post computer froz on me Vanguard Generals & Zero Hour Editing 0 07-22-2003 02:31 PM


All times are GMT -4. The time now is 07:51 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.