Changeset 2333

Show
Ignore:
Timestamp:
06/28/08 00:59:36 (6 months ago)
Author:
carrepairer
Message:
  • Added separate mod option for chickenfaction so it can be played without the "lollab."
  • Modified T1 fighters categories. They now have onlytargetcategory=all of them, to be compatible with satellite script in postdefs. Essentially T1 fighters are the only units in the game that can target all 5 categories.
  • T2 fighters can no longer attack ground.
  • Removed roostfac from concept engineer; Added drone to concept factory.
Location:
trunk/mods/ca
Files:
8 modified

Legend:

Unmodified
Added
Removed
  • trunk/mods/ca/LuaRules/Gadgets/unit_replace_comm.lua

    r2267 r2333  
    9797local function Chicken(cmd, line, words, playerID) 
    9898        local _, _, _, playerTeam = GetPlayerInfo(playerID) 
    99         if (not tobool(Spring.GetModOptions().hiddenunits)) then 
    100                 Spring.Echo("You may only join the chicken clan after enabling the mod option 'Unlock Hidden Units'") 
     99        if (not tobool(Spring.GetModOptions().chickenfaction)) then 
     100                Spring.Echo("You may only join the chicken clan after enabling the mod option 'Enable Chicken Faction'") 
    101101                return 
    102102 
  • trunk/mods/ca/ModOptions.lua

    r2231 r2333  
    142142    key    = 'HiddenUnits', 
    143143    name   = 'Unlock Hidden Units', 
    144     desc   = "** For Testing Purposes ** Enables the building of hidden units and structures not in the game. Typing .chicken immediately after the game starts replaces your commander with a chicken drone. \nkey: hiddenunits", 
     144    desc   = "** For Testing Purposes ** Enables the building of hidden units and structures not in the game through the concept factory. \nkey: hiddenunits", 
    145145    type   = 'bool', 
    146146    def    = false, 
    147147  }, 
     148  { 
     149    key    = 'ChickenFaction', 
     150    name   = 'Enable Chicken Faction', 
     151    desc   = "Typing .chicken immediately after the countdown timer replaces your commander with a chicken drone. \nkey: chickenfaction", 
     152    type   = 'bool', 
     153    def    = false, 
     154  },   
    148155  { 
    149156    key    = 'BackupPlayers', 
  • trunk/mods/ca/units/armfig.lua

    r2321 r2333  
    7474      mainDir     = "0 0 1", 
    7575      maxAngleDif = 60, 
     76      onlyTargetCategory = "VTOL HOVER FLOAT SINK SATELLITE", 
    7677    }, 
    7778 
  • trunk/mods/ca/units/armhawk.lua

    r2271 r2333  
    7070      beamTime                = 0.01, 
    7171      beamttl                 = 15, 
     72      canAttackGround         = 0, 
    7273      coreThickness           = 0.5, 
    7374      craterMult              = 0, 
  • trunk/mods/ca/units/concept_con.lua

    r2309 r2333  
    1414 
    1515  buildoptions        = { 
    16     "roostfac", 
    1716    "concept_factory", 
    1817    "armasp", 
  • trunk/mods/ca/units/concept_factory.lua

    r2324 r2333  
    3838    "core_slicer", 
    3939    "armpt2", 
     40    "chicken_drone", 
    4041  }, 
    4142 
  • trunk/mods/ca/units/corvamp.lua

    r2270 r2333  
    6666      areaOfEffect            = 8, 
    6767      avoidFriendly           = true, 
     68      canAttackGround         = 0, 
    6869      collideFriendly         = false, 
    6970      craterBoost             = 1, 
  • trunk/mods/ca/units/fighter.lua

    r2331 r2333  
    6464      mainDir     = "0 0 1", 
    6565      maxAngleDif = 60, 
     66      onlyTargetCategory = "VTOL HOVER FLOAT SINK SATELLITE", 
    6667    }, 
    6768