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

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,525

Administrators:
DeeZire, Redemption

There are currently 26 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 09-16-2003, 09:54 AM   #11 (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

Allright, never mind. I solved it myself. Here's the winning code:

Code:
WeaponSet
  Conditions        = None

  Weapon            = PRIMARY OverlordTankGun
  PreferredAgainst  = PRIMARY VEHICLE
  AutoChooseSources = PRIMARY FROM_PLAYER FROM_SCRIPT FROM_AI
 
  Weapon            = SECONDARY OverlordTankGun
  PreferredAgainst  = SECONDARY STRUCTURE
  AutoChooseSources = SECONDARY FROM_PLAYER FROM_SCRIPT FROM_AI

  Weapon            = TERTIARY MammothTuskMissile
  PreferredAgainst  = TERTIARY INFANTRY
  AutoChooseSources = TERTIARY FROM_PLAYER FROM_SCRIPT FROM_AI

  ShareWeaponReloadTime = Yes
End
So, as you can see, I cheated a bit by giving it the gun twice. It uses the first gun against vehicles and the second against buildings, but because the two are identical you won't see any difference ingame.
CodeCat 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
AI script problem, need help!(Solved) homura Generals & Zero Hour Editing 0 06-04-2005 09:31 PM
[SOLVED] Auto Guard CodeCat Generals & Zero Hour Editing 5 03-01-2005 05:08 AM
Problem with code[solved] Silent_Killa Generals & Zero Hour Editing 10 11-02-2004 01:25 AM
Airfeild Problem[SOLVED] RedLeader Generals & Zero Hour Editing 5 08-21-2004 01:10 AM
Creating a new building problem, Dozer don't auto build... DPsygnet Generals & Zero Hour Editing 3 08-24-2003 06:44 PM


All times are GMT -4. The time now is 08:10 AM.


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