Thread Tools
Old April 6, 2001, 15:21   #1
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 11:26
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
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
Martin Gühmann is offline  
Old April 7, 2001, 23:56   #2
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 03:26
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
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
WesW is offline  
Old April 8, 2001, 06:05   #3
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 11:26
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
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

Martin Gühmann is offline  
Old April 10, 2001, 15:03   #4
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 04:26
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
AttackCityBonus

If this works - Siege Tower warfare!!!

Something I really wanted to incorporate...
hexagonian is offline  
Old April 10, 2001, 15:31   #5
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 11:26
Local Date: October 31, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
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
Martin Gühmann is offline  
Old April 11, 2001, 13:30   #6
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 10:26
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
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 ?

Immortal Wombat is offline  
Old April 11, 2001, 13:36   #7
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 10:26
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
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:
Immortal Wombat is offline  
 

Bookmarks

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 On

Forum Jump


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


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team