Announcement

Collapse
No announcement yet.

Documentation help (unit.txt)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Documentation help (unit.txt)

    I found some lines that are should be can used in the unit.txt, but I don't have any documentation about it. Therefore I need some documentation about the unused ones in order to use them correctly and if the list is complete. Now here is the list:

    MovementType: DB, Land, Sea, Air, Mountain, Trade, ShallowWater or Space
    CanCarry: SmallLand, MedLand, LargeLand, SmallAir, MedAir, LargeAir, SmallWater, MedWater, LargeWater, SmallSpace, MedSpace or LargeSpace
    EnableAdvance
    ObsoleteAdvance
    Size: Small, Medium, Large
    LossMoveToDmgNone
    LossMoveToDmgTwo
    NoFuelThenCrash
    TransformPartial
    IgnoreZOC
    NoZoc
    CanBombard: Land, Air, Water, Space or Mountain
    CanCounterBombard
    CanLiftOff
    Settle: Land, Water, Mountain, Space
    SettleCityType
    SettleSize
    SettleBuilding
    SpaceLaunch
    SpaceLaunchValue
    SpaceLand
    CantCaptureCity
    HasPopAndCanBuild
    IsTrader
    ExertsMartialLaw
    CanEntrench
    CanPatrol
    NeedsNoSupport
    CanExpelPop
    IsFlanker
    CanBeachAssault
    Defend: Land, Air, Water, Space or Mountain
    DefendAgainstSpies
    DefendAgainstSpiesValue
    CanBeExpelled
    CanBeSued
    AttackFromSpaceship
    CantBeAttacked
    CargoPod
    IsMounted
    IgnoreCityWalls
    IsSubmarine
    NoLandAttack
    NoSeaAttack
    NoAirAttack
    NoSpaceAttack
    NoUnderwaterAttack
    NoMountainAttack
    NoShallowWaterAttack
    Paratrooper
    AssistedDrops
    BonusAgainstMounted
    SingleUse
    BonusAirDefense
    WoodenShip
    AttackWoodenShipBonus
    HasAttackCityBonus
    HasAttackBonusSubmarine
    ReplaceWithCargoModule
    ReplaceWithCargoModuleValue
    VisibileAttacking
    NuclearAttack
    NuclearAttackValue
    CanSue
    IsStealthy
    SeeSurfaceFromSpace
    EstablishEmbassy
    ThrowParty
    HearGossip
    StealTechnology
    StealTechnologyValue
    InciteRevolution
    InciteRevolutionValue
    AssasinateRuler
    AssasinateRulerValue
    InvestigateReadiness
    InvestigateReadinessValue
    NullifyCityWalls
    CreateFranchise
    CreateFranchiseValue
    CauseUnhappiness
    CauseUnhappinessValue
    ConductHits
    ConductHitsValue
    BioTerror
    BioTerrorValue
    NanoTerror
    NanoTerrorValue
    Plague
    PlagueValue
    SlaveRaids
    SlaveRaidsValue
    SettlerSlaveRaids
    SettlerSlaveRaidsValue
    SlaveUprising
    SlaveUprisingValue
    UndergroundRailway
    UndergroundRailwayValue
    VictoryEnslavement
    DefuseLandMines
    DefuseSeaMines
    DefuseXrayMines
    IndulgenceSales
    IndulgenceSalesValue
    ConvertCities
    ConvertCitiesValue
    BuildXrayMines
    BuildWonder
    GovernmentType
    NoSlaves
    CreateRift
    CanCloak
    ParatrooperTransport
    CantBuild
    PlantNuke
    PlantNukeValue
    IsTelevangelist
    CanSoothsay
    CanSoothsayValue
    CanBeRustled
    CreateParks
    CreateParksValue
    CanInjoin
    CanInjoinValue
    WormholeProbe
    HasBonusFood
    LandCityCanBuild
    SeaCityCanBuild
    SpaceCityCanBuild
    IsSpecialForces
    NotAffectedByLandMines
    InternalReserved
    DeathEffectsHappy
    EnableCarrierDefenses
    ActiveDefenseOnlyWhenCarryingEnablers
    BuildingRemovesAPop
    Explodes
    Advertise
    CanRustle
    OnlyBuildOne
    CanExpel
    CanReform
    CanReformValue
    CanPillage
    CanPirate
    VisionClass: Standard, Underwater, Stealth, UnusedBit3, UnusedBit4, UnusedBit5, UnusedBit6, UnusedBit7, UnusedBit8, UnusedBit9, UnusedBit10, UnusedBit11, UnusedBit12, UnusedBit13, UnusedBit14 or UnusedBit15
    CanSee: Standard, Underwater, Stealth, UnusedBit3, UnusedBit4, UnusedBit5, UnusedBit6, UnusedBit7, UnusedBit8, UnusedBit9, UnusedBit10, UnusedBit11, UnusedBit12, UnusedBit13, UnusedBit14 or UnusedBit15
    CanAttack: Land Sea, Air, Mountain, Trade, ShallowWater Space or Underwater
    CargoData
    CargoDataValue
    ShieldCost
    PowerPoints
    MaxHP
    MaxHPr
    Attack
    Defense
    Firepower
    ZBRangeAttack
    Armor
    BRange
    BRangeValue
    BRadius
    BRadiusValue
    VisionRange
    ActiveDefenseRange
    ElectronicCombatFactor
    ElectronicCombatFactorValue
    MaxMovePoints
    MaxFuel
    TransType
    TransTypeValue
    ProbOfBombHit
    ProbOfBombHitValue
    BombRounds
    BombRoundsValue
    ShieldHunger
    FoodHunger
    DefaultSprite
    LaunchPollution
    LaunchPollutionValue
    DeathPollution
    DeathPollutionValue
    MountedBonus
    MountedBonusValue
    AirBonus
    AirBonusValue
    WoodenShipBonus
    WoodenShipBonusValue
    AttackCityBonus
    AttackCityBonusValue
    AttackBonusSubmarine
    AttackBonusSubmarineValue
    CargoModule
    CargoModuleValue
    SpyVsSpy
    SpyVsSpyValue
    InvestigateCity
    InvestigateCityValue
    BonusFood
    BonusFoodValue
    BombardRange
    BombardRangeValue
    Revolution
    RevolutionValue
    SoundSelect1
    SoundSelect2
    SoundMove
    SoundAcknowledge
    SoundCantMove
    SoundAttack
    SoundWork
    SoundVictory
    SoundDeath
    SoundLoad
    SoundUnload
    SpecialAttacks
    CityGrowthCoefficient
    CityGrowthCoefficientValue
    UserFlags: UF1 UF2 UF3 UF4 UF5 UF6 UF7 UF8 UF9 UF10 UF11 UF12 UF13 UF14 UF15 UF16 UF17 UF18 UF19 UF20 UF21 UF22 UF23 UF24 UF25 UF26 UF27 UF28 UF29 UF30 UF31
    DefaultIcon
    NoIndex
    CheatIndex
    CheatIndexValue
    Description
    Advice
    AdviceValue
    Category
    GLHidden
    CantMove
    Civilian
    Civ2 military advisor: "No complaints, Sir!"

  • #2
    Oh my god! I have been looking for this for so long!
    Some of these values do not work, I am sure, but if some of them do, they will make combat SO much better.

    The ones I am interested in trying out. Please post any info you have on them:

    LossMoveToDmgTwo- to simulate a crippled ship

    NoUnderwaterAttack
    NoShallowWaterAttack
    AttackBonusSubmarine & Value- these could change undersea combat drastically.

    HasAttackCityBonus
    NullifyCityWalls
    CityAttackBonus & Value- Harlan, are you listening?

    AirBonus & Value

    IsStealthy

    Comment


    • #3
      Wes I can give you a hint about IsStealthy look for ab equevalent flag in the unit.txt of CTP1. I suppose that it work like IS_STEALTHY there. The phantom unit use that flag there.

      -Martin

      Civ2 military advisor: "No complaints, Sir!"

      Comment


      • #4
        AttackCityBonus

        If this works - Siege Tower warfare!!!

        Something I really wanted to incorporate...
        Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
        ...aisdhieort...dticcok...

        Comment


        • #5
          I got hexagonian's consent to post the on his http://www.mydocsonline.com account.

          login is hexagonia
          password is hextapul

          A special thanks to Hexagonian
          -Martin
          Civ2 military advisor: "No complaints, Sir!"

          Comment


          • #6
            quote:

            Originally posted by hexagonian on 04-10-2001 03:03 PM
            AttackCityBonus
            If this works - Siege Tower warfare!!!
            Something I really wanted to incorporate...


            Battering Ram sprite anyone ?

            Concrete, Abstract, or Squoingy?
            "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

            Comment


            • #7
              quote:

              Originally posted by Martin Gühmann on 04-06-2001 03:21 PM
              CantBeAttacked
              DefuseLandMines
              DefuseSeaMines
              DefuseXrayMines
              BuildXrayMines
              NotAffectedByLandMines
              Explodes
              CantMove




              Landmines so nearly went in didn't they... :wistful:
              Concrete, Abstract, or Squoingy?
              "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

              Comment

              Working...
              X