[这个贴子最后由littlecore在 2004/10/19 01:20pm 第 1 次编辑]
解开ta数据文件,进入unites目录,可以看到许多后缀为fbi的文件,这些就是定义unite属性的文件。用编辑器打开后可以看到许多等式。现已k为例说明其中的一些重要作用:
文件名:corkorg.fbi
[UNITINFO]
{
UnitName=CORKROG; ------------单位名称
Version=1.2; ------------版本
Side=CORE; ------------阵营
Objectname=CORKROG; ------------内部名称
Designation=ARM-KL; ------------游戏中名称
Name=Krogoth;
Description=Experimental Kbot; ------------说明
FootprintX=3; ------------
FootprintZ=3; ------------占地面积
BuildCostEnergy=116664; ------------建造所需资源
BuildCostMetal=29489; ------------建造所需金属
MaxDamage=29918;
MaxWaterDepth=12; ------------能够下水的深度
MaxSlope=17; ------------平时耗费能量
EnergyUse=1.1; ------------建造时间
BuildTime=382193; ------------工作速度(工程部队使用
WorkerTime=0;
BMcode=1;
Builder=0; ------------能否建造
ThreeD=1; ------------是否为3d物件
ZBuffer=1;
NoAutoFire=0; ------------是否自动开火
SightDistance=255; ------------视野范围
RadarDistance=0; ------------雷达范围
SoundCategory=KROGOTH; ------------使用的声音套组(以后详细说明)
EnergyStorage=0; ------------能源储备量------------
MetalStorage=0; ------------金属储备量
ExplodeAs=NUCLEAR_MISSILE; ------------爆炸调用的武器
SelfDestructAs=NUCLEAR_MISSILE; ------------自爆调用的武器
Category=CORE KBOT LEVEL2 WEAPON NOTAIR NOTSUB CTRL_W; -------分组
TEDClass=KBOT; ------------类型
Copyright=Copyright 1997 Humongous Entertainment. All rights reserved.;
Corpse=corkrog_dead; ------------尸体
GermanName=Krogoth;
GermanDescription=Experimental-Kbot;
UnitNumber=231; ------------id
FrenchName=Krogoth;
Frenchdescription=Kbot Exp閞imental;
firestandorders=1;
StandingFireOrder=2;
mobilestandorders=1;
StandingMoveOrder=1; ------------缺省的开火模式
canmove=1; ------------能否移动
canpatrol=1; ------------能否巡逻
canstop=1; ------------能否停止
SpanishName=Krogoth;
SpanishDescription=Kbot experimental;
ItalianName=Krogoth;
ItalianDescription=Kbot sperimentale;
canguard=1; ------------能否守卫
MaxVelocity=1; ------------最高速度
BrakeRate=0.19; ------------制动速度
Acceleration=0.09; ------------加速度
TurnRate=960; ------------转弯速度
SteeringMode=2; ------------刹车方式
ShootMe=1;
EnergyMake=1.1; ------------产出能量
DefaultMissionType=Standby;
maneuverleashlength=640; ------------使用maneuver的移动范围
MovementClass=TANKSH3; ------------ 移动方式
Upright=1; -----------是否站立
canattack=1; -----------能否攻击
Weapon1=CORKROG_FIRE; -----------一号武器
downloadable=1;
NoChaseCategory=VTOL;
Weapon2=CORKROG_HEAD; -----------二号武器
Weapon3=CORKROG_ROCKET; -----------三号武器
cantbetransported=1; -----------能否被运输
}