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

Forum Info
Forum Members: 18,574
Total Threads: 8,654
Posts: 94,412

Administrators:
DeeZire, Redemption

There are currently 66 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » how to make AI build more than 1 superweap?

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

Reply
 
LinkBack Thread Tools
Old 10-07-2003, 06:02 PM   #1 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 11
Default how to make AI build more than 1 superweap?

i noticed the AI by default only builds 1 superweapon? anyone figured out how to script it to build more than 1?
dwaynek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2003, 06:19 PM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: uk
Posts: 556
Send a message via MSN to damo1
Default

i think you can change it in INI/Default/AIData
damo1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2003, 07:16 PM   #3 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 11
Default

Quote:
Originally Posted by damo1
i think you can change it in INI/Default/AIData
do you specifically know how?
dwaynek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2003, 07:49 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

Code:
    Structure AmericaParticleCannonUplink
      Location = X:594.59 Y:635.72
      Rebuilds = 0
      Angle = -45.00
      InitiallyBuilt = No
      AutomaticallyBuild = No
    END ;Structure AmericaParticleCannonUplink

    Structure ChinaNuclearMissileLauncher
      Location = X:386.33 Y:697.79
      Rebuilds = 0
      Angle = 135.00
      InitiallyBuilt = No
      AutomaticallyBuild = No
    END ;Structure ChinaNuclearMissileLauncher
    Structure GLAScudStorm
      Location = X:337.72 Y:593.68
      Rebuilds = 0
      Angle = -135.00
      InitiallyBuilt = No
      AutomaticallyBuild = No
    END ;Structure GLAScudStorm
    Structure AirF_AmericaParticleCannonUplink
      Location = X:536.20 Y:442.56
      Rebuilds = 0
      Angle = 45.00
      InitiallyBuilt = No
      AutomaticallyBuild = No
    END ;Structure AirF_AmericaParticleCannonUplink
Those define the structures, try adding more in the ini file. That should help some. There are others BTW, about another 8 or so.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2003, 10:23 PM   #5 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: USA
Posts: 452
Default

if youre playing zh, if you play on hard then the ai does it automatically.
guyee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2003, 10:54 PM   #6 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 386
Send a message via AIM to warlord Send a message via MSN to warlord Send a message via Yahoo to warlord
Default

From looking at that ini file it looks like it shows what the max of each building it can have but not sure since the SW buildings are only listed once for each faction. I hope by adding more code for the buildings that they do build more since I wanna make the hard computer more challenging.
warlord is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2003, 11:01 PM   #7 (permalink)
Junior Member
 
Join Date: Oct 2003
Posts: 11
Default

Quote:
Originally Posted by guyee
if youre playing zh, if you play on hard then the ai does it automatically.
not really guyee, it'll only build 1 superweap on normal AI, and the specialized Generals won't even build a single one... funnee...
dwaynek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2003, 03:55 PM   #8 (permalink)
Member
 
Join Date: Dec 2002
Posts: 93
Default

You can make the AI build as many superweapons as you want it to. The only problem is the ai fires the weapon through scripting as well. This means that in the event that two or more superweapons are ready at the same time they go crazy because the scripting is only designed to handle one of that type of object at a time.

The only way around this that I know of is you have to create a duplicate of the building object as well as it's corresponding superweapon code in the inis and change their names. This is needed for each superweapon you want the ai to build. Through this method the scripts access each object and superweapon code seperately and thus won't have problems firing even when multiple objects are ready at the same moment. As you can see this requires alot of effort just to get the ai to build two working superweapons.

A simpler method may be possible in zero hour but I haven't researched into that yet.
Curator 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
Build Time and Build Cost problem Tesla-Chrono LOTR: Battle For Middle Earth I & II Editing 23 12-18-2004 09:51 AM
How to make AI build teams and attack player gee Generals & Zero Hour Editing 4 11-10-2003 09:15 PM
Wanna know how to make it so that AIs build Grandes? OneWingedAngel Red Alert 2 & Yuri's Revenge Editing 15 02-10-2003 07:18 PM


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


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