egrep -o 'udTable\.Get[A-Za-z]*\(.*\)' rts/Sim/Units/UnitDefHandler.cpp wrote:
udTable.GetString("buildPic", "")
udTable.GetString("name", "")
udTable.GetString("filename", "")
udTable.GetString("description", ud.name)
udTable.GetString("decoyFor", "")
udTable.GetString("gaia", "")
udTable.GetBool("commander", false)
udTable.GetFloat("metalStorage", gameSetup->startMetal)
udTable.GetFloat("energyStorage", gameSetup->startEnergy)
udTable.GetFloat("metalStorage", 0.0f)
udTable.GetFloat("energyStorage", 0.0f)
udTable.GetFloat("extractsMetal", 0.0f)
udTable.GetFloat("windGenerator", 0.0f)
udTable.GetFloat("tidalGenerator", 0.0f)
udTable.GetFloat("metalUse", 0.0f)
udTable.GetFloat("energyUse", 0.0f)
udTable.GetFloat("metalMake", 0.0f)
udTable.GetFloat("makesMetal", 0.0f)
udTable.GetFloat("energyMake", 0.0f)
udTable.GetFloat("maxDamage", 0.0f)
udTable.GetFloat("autoHeal", 0.0f) * (16.0f / GAME_SPEED)
udTable.GetFloat("idleAutoHeal", 10.0f) * (16.0f / GAME_SPEED)
udTable.GetInt("idleTime", 600)
udTable.GetInt("buildAngle", 0)
udTable.GetFloat("buildCostMetal", 0.0f)
udTable.GetFloat("mass", 0.0f)
udTable.GetFloat("buildCostEnergy", 0.0f)
udTable.GetFloat("buildTime", 0.0f)
udTable.GetInt("cobID", -1)
udTable.GetFloat("sightDistance", 0.0f) * modInfo.losMul / (SQUARE_SIZE * (1 << modInfo.losMipLevel))
udTable.GetFloat("airSightDistance", -1.0f)
udTable.GetFloat("sightDistance", 0.0f) * modInfo.airLosMul * 1.5f / (SQUARE_SIZE * (1 << modInfo.airMipLevel))
udTable.GetBool("canSubmerge", false)
udTable.GetBool("canFly", false)
udTable.GetBool("canMove", false)
udTable.GetBool("reclaimable", true)
udTable.GetBool("capturable", true)
udTable.GetBool("repairable", true)
udTable.GetBool("canAttack", true)
udTable.GetBool("canFight", true)
udTable.GetBool("canPatrol", true)
udTable.GetBool("canGuard", true)
udTable.GetBool("canRepeat", true)
udTable.GetBool("builder", true)
udTable.GetBool("canRestore", ud.builder)
udTable.GetBool("canRepair", ud.builder)
udTable.GetBool("canReclaim", ud.builder)
udTable.GetBool("canAssist", ud.builder)
udTable.GetBool("canBeAssisted", true)
udTable.GetBool("canSelfRepair", false)
udTable.GetBool("fullHealthFactory", false)
udTable.GetBool("factoryHeadingTakeoff", true)
udTable.GetBool("upright", false)
udTable.GetBool("collide", true)
udTable.GetBool("onoffable", false)
udTable.GetFloat("maxSlope", 0.0f)
udTable.GetFloat("minWaterDepth", -10e6f)
udTable.GetFloat("maxWaterDepth", +10e6f)
udTable.GetFloat("minCollisionSpeed", 1.0f)
udTable.GetFloat("slideTolerance", 0.0f)
udTable.GetBool("pushResistant", false)
udTable.GetFloat("waterline", 0.0f)
udTable.GetBool("canSelfDestruct", true)
udTable.GetInt("selfDestructCountdown", 5)
udTable.GetFloat("maxVelocity", 0.0f)
udTable.GetFloat("maxReverseVelocity", 0.0f)
udTable.GetFloat("acceleration", 0.5f))
udTable.GetFloat("brakeRate", 3.0f * ud.maxAcc)) * (ud.canfly? 0.1f: 1.0f)
udTable.GetFloat("turnRate", 0.0f)
udTable.GetBool( "turnInPlace", true)
udTable.GetFloat("turnInPlaceDistance", 350.f)
udTable.GetFloat("turnInPlaceSpeedLimit", 15.f)
udTable.GetBool("noAutoFire", false)
udTable.GetBool("canFireControl", !noAutoFire)
udTable.GetInt("fireState", ud.canFireControl ? -1 : 2)
udTable.GetInt("moveState", (ud.canmove && ud.speed>0.0f) ? -1 : 1)
udTable.GetBool("buildRange3D", false)
udTable.GetFloat("buildDistance", 128.0f)
udTable.GetFloat("workerTime", 0.0f)
udTable.GetFloat("repairSpeed", ud.buildSpeed)
udTable.GetFloat("maxRepairSpeed", 1e20f)
udTable.GetFloat("reclaimSpeed", ud.buildSpeed)
udTable.GetFloat("resurrectSpeed", ud.buildSpeed)
udTable.GetFloat("captureSpeed", ud.buildSpeed)
udTable.GetFloat("terraformSpeed", ud.buildSpeed)
udTable.GetInt("flankingBonusMode", modInfo.flankingBonusModeDefault)
udTable.GetFloat("flankingBonusMax", 1.9f)
udTable.GetFloat("flankingBonusMin", 0.9)
udTable.GetFloat("flankingBonusMobilityAdd", 0.01f)
udTable.GetFloat("damageModifier", 1.0f)
udTable.GetInt("radarDistance", 0)
udTable.GetInt("sonarDistance", 0)
udTable.GetInt("radarDistanceJam", 0)
udTable.GetInt("sonarDistanceJam", 0)
udTable.GetBool("stealth", false)
udTable.GetBool("sonarStealth", false)
udTable.GetBool("isTargetingUpgrade", false)
udTable.GetBool("isFeature", false)
udTable.GetBool("canResurrect", false)
udTable.GetBool("canCapture", false)
udTable.GetBool("hideDamage", false)
udTable.GetBool("showPlayerName", false)
udTable.GetFloat("cloakCost", -1.0f)
udTable.GetFloat("cloakCostMoving", -1.0f)
udTable.GetBool("initCloaked", false)
udTable.GetFloat("minCloakDistance", 0.0f)
udTable.GetBool("decloakSpherical", true)
udTable.GetBool("decloakOnFire", true)
udTable.GetInt("highTrajectory", 0)
udTable.GetBool("kamikaze", false)
udTable.GetFloat("kamikazeDistance", -25.0f)
udTable.GetBool("showNanoFrame", true)
udTable.GetBool("showNanoSpray", true)
udTable.GetBool("canHover", false)
udTable.GetBool("floater", udTable.KeyExists("WaterLine"))
udTable.GetBool("builder", false)
udTable.GetBool("airStrafe", true)
udTable.GetBool("hoverAttack", false)
udTable.GetFloat("cruiseAlt", 0.0f)
udTable.GetFloat("airHoverFactor", -1.0f)
udTable.GetBool("bankingAllowed", true)
udTable.GetInt("transportSize", 0)
udTable.GetInt("minTransportSize", 0)
udTable.GetInt("transportCapacity", 0)
udTable.GetBool("isFirePlatform", false)
udTable.GetBool("isAirBase", false)
udTable.GetFloat("loadingRadius", 220.0f)
udTable.GetFloat("unloadSpread", 1.0f)
udTable.GetFloat("transportMass", 100000.0f)
udTable.GetFloat("minTransportMass", 0.0f)
udTable.GetBool("holdSteady", true)
udTable.GetBool("releaseHeld", false)
udTable.GetBool("cantBeTransported", false)
udTable.GetBool("transportByEnemy", true)
udTable.GetFloat("fallSpeed", 0.2)
udTable.GetFloat("unitFallSpeed", 0)
udTable.GetInt("transportUnloadMethod" , 0)
udTable.GetFloat("wingDrag", 0.07f)
udTable.GetFloat("wingAngle", 0.08f)
udTable.GetFloat("frontToSpeed", 0.1f)
udTable.GetFloat("speedToFront", 0.07f)
udTable.GetFloat("myGravity", 0.4f)
udTable.GetFloat("crashDrag",0.005f)
udTable.GetFloat("maxBank", 0.8f)
udTable.GetFloat("maxPitch", 0.45f)
udTable.GetFloat("turnRadius", 500.0f)
udTable.GetFloat("verticalSpeed", 3.0f)
udTable.GetFloat("maxAileron", 0.015f)
udTable.GetFloat("maxElevator", 0.01f)
udTable.GetFloat("maxRudder", 0.004f)
udTable.GetFloat("maxFuel", 0.0f)
udTable.GetFloat("refuelTime", 5.0f)
udTable.GetFloat("minAirBasePower", 0.0f)
udTable.GetInt("unitRestricted", MAX_UNITS)
udTable.GetString("category", "")
udTable.GetString("category", ""))
udTable.GetString("noChaseCategory", ""))
udTable.GetString("iconType", "default")
udTable.GetBool("canDGun", false)
udTable.GetString("TEDClass", "0")
udTable.GetBool("extractSquare", false)
udTable.GetFloat("maxAcc", 0.065f)
udTable.GetString("movementClass", ""))
udTable.GetString("objectName", "")
udTable.GetString("script", unitName + ".cob")
udTable.GetString("corpse", "")
udTable.GetString("explodeAs", "")
udTable.GetString("selfDestructAs", "")
udTable.GetFloat("power", (ud.metalCost + (ud.energyCost / 60.0f)))
udTable.GetBool("activateWhenBuilt", false)
udTable.GetInt("footprintX", 1)
udTable.GetInt("footprintZ", 1)
udTable.GetString("yardMap", "c"))
udTable.GetBool("leaveTracks", false)
udTable.GetFloat("trackWidth", 32.0f)
udTable.GetFloat("trackOffset", 0.0f)
udTable.GetFloat("trackStrength", 0.0f)
udTable.GetFloat("trackStretch", 1.0f)
udTable.GetString("trackType", "StdTank"))
udTable.GetBool("useBuildingGroundDecal", false)
udTable.GetInt("buildingGroundDecalSizeX", 4)
udTable.GetInt("buildingGroundDecalSizeY", 4)
udTable.GetFloat("buildingGroundDecalDecaySpeed", 0.1f)
udTable.GetString("buildingGroundDecalType", ""))
udTable.GetBool("canDropFlare", false)
udTable.GetFloat("flareReload", 5.0f)
udTable.GetFloat("flareDelay", 0.3f)
udTable.GetFloat("flareEfficiency", 0.5f)
udTable.GetInt("flareTime", 3)
udTable.GetInt("flareSalvoSize", 4)
udTable.GetInt("flareSalvoDelay", 0)
udTable.GetBool("smoothAnim", false)
udTable.GetBool("canLoopbackAttack", false)
udTable.GetBool("canCrash", true)
udTable.GetBool("levelGround", true)
udTable.GetBool("strafeToAttack", false)
udTable.GetString("collisionVolumeType", "")
udTable.GetInt("collisionVolumeTest", COLVOL_TEST_DISC)
udTable.GetBool("usePieceCollisionVolumes", false)
udTable.GetInt("seismicDistance", 0)
udTable.GetFloat("seismicSignature", -1.0f)
udTable.GetString("pieceTrailCEGTag", "")
udTable.GetInt("pieceTrailCEGRange", 1)