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,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 103 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 » Here's a challenge: answer my simple AI question.

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 07-14-2004, 09:06 AM   #1 (permalink)
Senior Member
 
Join Date: Jan 2004
Location: Land of the babes
Posts: 1,112
Send a message via Yahoo to Whiteboy
Default Here's a challenge: answer my simple AI question.

OK thread readers, I have a very simple question that I do not yet know the answer to. I really need to know the answer, now that I am doing the AI for my mod. It is this: how do you make the AI produce the new vehicles/infantry/structures that a mod adds to the game?

The AI already builds some of the new structures my mod has. I did very little (practically none at all) rules ini editing for that. But the AI in my mod NEVER produces new vehicles or infantry. Plus, I would like to have more control over what structures the AI builds.

I know the AIMD.ini file is used to tell the AI what units to use to attack with, but does making taskforces here cause the AI to actually produce the units first? Or do you have to separately tell the AI to build the units first?

Put simply, "I made a new tank. How do I make the AI build it?"

Thanks in advance
Whiteboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 09:50 AM   #2 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,048
Send a message via MSN to DCoder
Default

1. Read the DZ's AI.ini guide.
2. Look through the original AI file to understand how it works.
3. Get my AI editor (V1, not the alpha V2). */me points at own sig* */me realizes that he has no sig* */me makes this post to get the sig at last*
Use it only to preview the AI, don't change anything yet.
4.* When you feel sure you know what you're doing, try modifying something (AI editor V1 has some bad habits, so you should edit the ai in notepad/editpad/wordpad and only preview it in V1.. sorry, I won't fix those bugs in V1 - already working on V2).
5. Stuck? Ask us.

*Another way would be to use FA2 to make AI coding in one map and then copy-paste it into ai(md).ini.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 11:05 AM   #3 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
Send a message via ICQ to Renegade
Default

Or search for a tutorial.

@DCoder: Point 4 isn't actually good advertisement for your work
Renegade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 11:18 AM   #4 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,048
Send a message via MSN to DCoder
Default

@Ren: better that, than hearing "the stupid program screwed up my AI and now it doesn't work, b00h00" :P
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 02:35 PM   #5 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
Send a message via ICQ to Renegade
Default

Pfft...that's one user complaining. Must be an operating error.

@Whiteboy: Scroll down on http://www.ppmsite.com/, they've got several AI-tutorials in their "Red Alert 2" block.
Renegade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 03:19 PM   #6 (permalink)
Senior Member
 
Join Date: Sep 2003
Location: Tahiti
Posts: 621
Default

Ren, did you mean http://www.ppmsite.com/ ?

Quote:
Originally Posted by DC
so you should edit the ai in notepad/editpad/wordpad
Still thinking XCC INI Editor is better...

Quote:
Originally Posted by Whiteboy
Plus, I would like to have more control over what structures the AI builds.
This can't be altered in the ai(md).ini, only units there. However, you can control what structure the AI build in the rules :
1) If you want it to build 1 instance (and only 1), set the AIBuildThis=Tag to yes.
2) If you want multiple instances of structure type which already have AIBuildThis=yes, just create a dummy structure (copy-paste) making sure it has TechLevel=-1.
3) For general defensive structure (IsBaseDefense=yes), put the correct Anti*Value= for each one, and make sure the AIForcePredictionFudge= is as low as possible. Note this doesn't work if you enable the AIGenerals
4) Although I don't know if it still works, you can tweak the end part of the [AI] section.
Infraid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 05:27 PM   #7 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
Send a message via ICQ to Renegade
Default

Obviously, the board punishes proper punctuation. :wtf:
Renegade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 05:38 PM   #8 (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

Quote:
Originally Posted by Renegade
Obviously, the board punishes proper punctuation. :wtf:
It's the way the bbcode is processed. Next time put the url inside [ url ] tags. For example,

which gives http://www.ppmsite.com/,

or
Code:
ppmsite.com,
which gives ppmsite.com,
Kravvitz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 05:56 PM   #9 (permalink)
Senior Member
 
Join Date: Sep 2003
Location: Tahiti
Posts: 621
Default

Quote:
Originally Posted by Kravv
Next time put the url inside [ url ] tags.
Why, is there another way to do it ?
Infraid is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-14-2004, 06:07 PM   #10 (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

For convenience. So that it will make URLs clickable without having to use the bbcode, yet when you want to do it another way you can.
Kravvitz 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
Advanced Question for those who can answer it...about co-op Sexcalibur Generals & Zero Hour Editing 3 04-05-2005 05:11 PM
one easy to answer question if you know the location of.... TankMaster Red Alert 2 & Yuri's Revenge Editing 3 12-06-2003 02:18 PM
Just a simple question Sydro Red Alert 2 & Yuri's Revenge Editing 19 03-11-2003 02:55 PM
Question I Can't Find Answer Too. Crogs Red Alert 2 & Yuri's Revenge Editing 15 02-25-2003 10:30 PM
Please answer, two simple questions ice Red Alert 2 & Yuri's Revenge Editing 18 02-07-2003 09:00 PM


All times are GMT -4. The time now is 05:44 PM.


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