View Single Post
Old 02-15-2004, 02:26 AM   #7 (permalink)
smurfbizkit
Senior Member
 
Join Date: Sep 2001
Posts: 1,094
Send a message via ICQ to smurfbizkit Send a message via AIM to smurfbizkit Send a message via MSN to smurfbizkit
Default

I get kinda the same thing, but it works the way I want it too. This is the code from the Maus in Blitz2. It first both the cannon(not all the time though) and the flamethrower against infantry and buildings...but only uses the cannon on other types of things.

Code:
  WeaponSet
    Conditions = None 
    Weapon = PRIMARY 128mmgunG
    Weapon = SECONDARY 75mmAPgunG 
    PreferredAgainst = SECONDARY     INFANTRY STRUCTURE VEHICLE
;    AutoChooseSources = PRIMARY FROM_SCRIPT FROM_AI ;NONE ;     FROM_SCRIPT FROM_AI
;    AutoChooseSources = SECONDARY FROM_SCRIPT FROM_AI ;NONE
  End
  WeaponSet
    Conditions = PLAYER_UPGRADE 
    Weapon = PRIMARY 128mmgunG
    Weapon = SECONDARY AlliedVehicleStuartFlamethrower
    PreferredAgainst = SECONDARY     INFANTRY STRUCTURE 
  End
smurfbizkit is offline   Reply With Quote