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

Forum Info
Forum Members: 18,581
Total Threads: 8,668
Posts: 94,537

Administrators:
DeeZire, Redemption

There are currently 50 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-28-2004, 11:12 PM   #11 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

Thanx for everyone`s responses. I still have few questions. When editing AIMD.ini, I can create existing TaskForces and add new ones.

If I was to edit the following TaskForce:
Quote:
[07C256DC-G]
Name=1 BF, 2 Guard, 2 GI, 1 SEAL
0=1,BFRT
1=2,E1
2=2,GGI
3=1,GHOST
Group=-1
and edit it in such way that computer will build 2 BFs and put 5 GGIs inside each. Would this be the new code?:

Quote:
[07C256DC-G]
Name=2 BF, 10 Guard
0=2,BFRT
1=10,GGI
Group=-1
Also how can I be sure that computer will put GGIs inside the BF instead of attacking with empty BF and a bunch of GGIs following it. Is this what TaskScripts are used for? Can I edit a TaskForce without having to edit the corresponding TaskScript?
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-29-2004, 12:36 AM   #12 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,056
Send a message via MSN to DCoder
Default

Once again.. read the documentation: Go to the downloads section, and find DeeZire's INI guide. It contains so much information about modding...
While you're on the AI editing subject, go to *points at sig* and download one of the AI editors from there. I recommend AI V1 new, which can not edit AI, only to preview the way it works. When used together with the ini guie, it can be a big help.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-30-2004, 02:37 PM   #13 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

Ok this is driving me crazy, so someone please respond. Don't respond if you're not sure or if you are guessing. I need a straight answer. And yes I've read documentation on AI stuff. The question is: can computer build more than 1 WAR factory/Barracs/Airstrip ? I was told it was possible by editing Warratio and warlimit entries in rulesmd.ini, which I did, but nothing worked (Computer still builds only 1) In a different post, someone mentioned that the AI ability to build more than 1 factory was removed from game engine, because the logic of building units faster by having more than 1 War factory only works for a human player (Computer on the other hand doesn't build faster, but clones units) Can someone confirm if this is true? If it is, is there a way around this? (To give computer player an ability to produce units faster by building more factories)
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-30-2004, 06:41 PM   #14 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 1,858
Send a message via ICQ to Kravvitz Send a message via AIM to Kravvitz Send a message via MSN to Kravvitz Send a message via Yahoo to Kravvitz
Default

When the AI builds more than one of each type of factory building, everything it builds will come out of all buildings of that type at the same time, so you really don't want to have them build multiples of factory buildings.
Kravvitz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-30-2004, 07:18 PM   #15 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

Quote:
Originally Posted by Kravvitz
When the AI builds more than one of each type of factory building, everything it builds will come out of all buildings of that type at the same time, so you really don't want to have them build multiples of factory buildings.
So what you're saying is that nothing can be done about it. In other words there is no possible way to make computer build units faster like human player when having multiple factories?
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-31-2004, 12:29 AM   #16 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,056
Send a message via MSN to DCoder
Default

[Easy]
BuildSpeed=0.75

[Normal]
BuildSpeed=0.5

[Difficult]
BuildSpeed=0.25

This speeds up AI's unit creation, but it still clones the units if it can...
Although you can try creating a dummy building with the factory image and sticking industrial plant logic on it, and making the AI build it. I am already using that idea and it works nicely - the AI has multiple factories, but uses only one of them. However, if that one is destroyed...
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-31-2004, 02:23 PM   #17 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

Is it possible to create AI entirely from scratch, because editing existing AIMD.ini is a pain. Has anyone made a completely new AI? Also if I change IDs for teams/triggers/scripts, would this cause any prolems in the game. Are these identifiers used anywhere else? Can I safely rename IDs for teams and scripts?
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-01-2004, 12:22 AM   #18 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,056
Send a message via MSN to DCoder
Default

They can be used in map-specific triggers.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-01-2004, 12:39 PM   #19 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 26
Default

Ok If I was to make AI from the scratch, how would I go about it? Am I free to make new identifiers for teams/scripts, etc, or do I still need to include the old ones. I just don't know how the game will react if I erase all existing scripts and teams, and start scripting from the beginning (blank aimd.ini)
Mercury is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-01-2004, 01:13 PM   #20 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,056
Send a message via MSN to DCoder
Default

The maps may call the existing AI elements and expect them to behave in a certain way (Example: the map calls the trigger which tells 3 kirovs to fly towards your base. If you changed the taskforce to be, say, 2 GI, the trigger would not be carried out in naval maps, possibly causing the AI to get stuck). So, you should leave those original IDs in there, uncorrected. Just make up as many new IDs as you need. You can tweak the taskforces' quantities, but don't overdo that.
DCoder 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 04:14 AM.


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