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

Forum Info
Forum Members: 18,617
Total Threads: 8,723
Posts: 95,213

Administrators:
DeeZire, Redemption

There are currently 35 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 11-05-2003, 05:40 AM   #1 (permalink)
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default America's Hard AI Fubars...

ok, anyone any ideas why the america AI would fubar if I do the following:

1. Edit art settings.
2. remove all besides China and America from playertemplate
3. remove power upgrades from powerplants
4. kick the buildings in seperate ini's
5. remove some buildings from commandset.

Anyone ANY ideas?

The hard AI fubars while the medium one works...
The hard AI builds 4 Dozers and then they sit quitely and do nothing. Whats the first thing the hard AI builds for America anyways?
Phoib is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-05-2003, 03:35 PM   #2 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 430
Default

I think the hard AI builds the the control rods upgrade right away, because it "cheats" to get extra money, so it can afford it. Edit the Skirmish Scripts so that this is removed, and the AI will skip the control rods and continue its construction normally.
alasz11 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-05-2003, 03:50 PM   #3 (permalink)
Senior Member
 
Join Date: May 2003
Location: Eindhoven, Netherlands
Posts: 2,278
Send a message via ICQ to CodeCat Send a message via MSN to CodeCat
Default

Well, I noticed the AI mainly gets FUBARred (I love that word ) when it is either:

1. Trying to build two things at the same time. It can't figure out which to build first to it ends up getting stuck. You need to set a prerequisite for the triggers so that it will only build one of the buildings when the other is finished.

2. Trying to build something it can't build. This means that when you execute a script that tells the AI to build something it can't build (yet), it gets stuck.

The AI will build something though if it is capable of building but all of its dozers are occupied. In that case it sometimes builds an extra dozer (not sure on this). This happened to me once too: http://www.deezire.net/modules.php?n...ewtopic&t=4616.
CodeCat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-05-2003, 06:19 PM   #4 (permalink)
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default

Now it just sells its command center...
Phoib is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-05-2003, 06:24 PM   #5 (permalink)
Administrator
 
DeeZire's Avatar
 
Join Date: Dec 2002
Posts: 1,913
Send a message via ICQ to DeeZire
Default

A heck of a lot of the skirmish AI depends on the presence of power plants. Many conditions are set that depend on the presence of power plants and/or the amount of power the computer player has - and the conditions are not just laid in the base buiolding scripts either. My guess is that changing or removing the power plants has got it stumped.

The AI ignores preprequisites when base building, so the base building scripts require a power plant before almost anything else to make things fair (and to make it look like the AI is obeying prerequisite build-orders) - remove the power plant, and it wont get very far.
DeeZire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-06-2003, 04:32 AM   #6 (permalink)
Senior Member
 
Join Date: Dec 2002
Posts: 1,031
Send a message via ICQ to Phoib Send a message via MSN to Phoib
Default

Well, thats the problem. It can build the normal AmericaPowerplant, but not the pwer upgrade. Thats whats getting the Medium AI going, but Hard not.

BTW, China functions, AFAIK, as it should be.
Phoib 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
America's Rage (I lost the other thread) smooder Generals & Zero Hour Editing 5 08-13-2007 04:53 PM
Generals/ZH modding, and the hard code. smurfbizkit Generals & Zero Hour Editing 21 07-08-2004 05:27 PM
Hard Coding thearab Generals & Zero Hour Editing 6 11-02-2003 03:32 PM
Possible hard coded element? Shadow Generals & Zero Hour Editing 2 04-05-2003 05:56 AM


All times are GMT -4. The time now is 07:08 PM.


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