如何改武器数据,都不知道单位用的是什么武器,找不到,各位大大你们是怎么找的?
我是先看单位数据,然后看到武器那项,里面是不是武器的名字?怎么到武器目录里根本找不到这种武器的文件名呢?求教了。
搜索下TDF文件的格式,就明白了!
很多mod把所有武器的设置都放在一个TDF里面,你找到weapons.tdf就可以修改了
比方说,这个单位,
[UNITINFO]
{
UnitName=ARMANTAR;
Version=3;
Side=ARM;
Objectname=ARMANTAR;
Designation=ARM-TER;
Name=Antarion;
Description=Assault Tank;
FootprintX=5;
FootprintZ=5;
BuildCostEnergy=53547;
BuildCostMetal=3215;
MaxDamage=5143;
MaxWaterDepth=100;
MaxSlope=12;
EnergyUse=1;
EnergyMake=1;
BuildTime=10420;
WorkerTime=0;
BMcode=1;
Builder=0;
ThreeD=1;
ZBuffer=1;
NoAutoFire=0;
SightDistance=260;
//RadarDistance=700;
//RadarDistanceJam=10;
SoundCategory=ARM_TANK;
EnergyStorage=0;
MetalStorage=0;
ExplodeAs=BIG_UNITEX;
SelfDestructAs=BIG_UNIT;
Category=ARM LEVEL3 WEAPON NOTAIR NOTSUB NOTSTRUCTURE CTRL_G CTRL_W;
TEDClass=TANK;
Copyright=Copyright 1997 Humongous Entertainment. All rights reserved.;
Corpse=armantar_dead;
GermanName=Antarion;
GermanDescription=V閔icule d’assaut lourd;
UnitNumber=954568;
FrenchName=Antarion;
Frenchdescription=V閔icule d’assaut lourd;
firestandorders=1;
StandingFireOrder=2;
mobilestandorders=1;
StandingMoveOrder=1;
canmove=1;
canpatrol=1;
canstop=1;
canguard=1;
MaxVelocity=.8;
BrakeRate=0.002629395;
Acceleration=0.04;
TurnRate=330;
SteeringMode=1;
ShootMe=1;
DefaultMissionType=Standby;
maneuverleashlength=640;
MovementClass=TANKBH3;
Weapon1=ARMANTAR_LASER;
wpri_badTargetCategory=CTRL_V;
BadTargetCategory=CTRL_V;
Weapon2=ARMANTAR_LASER;
canattack=1;
Weapon3=ARMANTAR_MISSILE;
NoChaseCategory=CTRL_V;
}
他的武器是
Weapon1=ARMANTAR_LASER;
Weapon2=ARMANTAR_LASER;
Weapon3=ARMANTAR_MISSILE;
在武器库文件Weapons.pdf里所有ID的武器名称是下面的名称,找不到上面所标武器的名称呀,怎么找呀?是不是下划线后面的才是真正的武器名称呀?
name=No Weapon;
name=Flame Thrower;
name=Bertha Cannon;
name=Bombs;
name=Advanced Bombs;
name=Bombs;
name=Advanced Bombs;
name=Torpedo Launcher;
name=Unguided Torpedo;
name=Unguided Torpedo;
name=Guided Torpedo;
name=Guided Torpedo;
name=Torpedo Launcher;
name=Torpedo Launcher;
name=E.M.G.;
name=E.M.G.;
name=J7 Laser;
name=XC Laser;
name=Disintegrator;
name=Annihilator Weapon;
name=Doomsday Weapon;
name=Lightning Gun;
name=Atomic Blast Weapon;
name=Atomic Blast Weapon;
name=Paralyzer;
name=Rocket;
name=Rocket;
name=Level 1 Mine;
name=Depth Charge;
name=Depth Charge;
name=Blast Mine;
name=Focal Mine;
name=Rocket;
name=Pop-up Cannon;
name=Flak Cannon;
name=Flak Cannon;
name=Pop-up Cannon;
name=Heavy Rockets;
name=Plasma Cannon;
name=Laser;
name=High Energy Laser;
name=High Energy Laser;
name=Light Cannon;
name=Plasma Cannon;
name=Plasma Cannon;
name=Plasma Cannon;
name=Plasma Cannon;
name=Plasma Cannon;
name=Plasma Cannon;
name=Gauss Cannon;
name=Wide Blast Mine;
name=Heavy Cannon;
name=Whap Mine;
name=Heavy Cannon;
name=Heavy Cannon;
name=Cruiser Cannon;
name=Cruiser Cannon;
name=BattleShip Cannon;
name=BattleShip Cannon;
name=Plasma Cannon;
name=Plasma Cannon;
name=Bertha Cannon;
name=Intimidator Cannon;
name=Nuclear Mine;
name=Guided Missiles;
name=Missiles;
name=Light Laser;
name=Laser;
name=Bertha Cannon;
name=Laser;
name=Laser;
name=Laser;
name=Laser;
name=Laser;
name=Laser;
name=High Energy Laser;
name=High Energy Laser;
name=High Energy Laser;
name=High Energy Laser;
name=Gas Bag;
name=Missiles;
name=Missiles;
name=Missiles;
name=Missiles;
name=Missiles;
name=Missiles;
name=Missiles;
name=Missiles;
name=Guided Missiles;
name=Guided Missiles;
name=Medium Unit;
name=Light Laser;
name=Guided Missiles;
name=Guided Missiles;
name=Guided Missiles;
name=Guided Missiles;
name=Flak Cannon;
name=Rockets;
name=Rockets;
name=Nuclear Missile;
name=Rocket;
name=Rocket;
name=Rocket;
name=Rocket;
name=Rocket;
name=Flak Cannon;
name=Rockets;
麻烦大大们帮忙解答一下。谢谢了。
对了,这个版本是TA33A。
再问一个,武器库文件里重复的武器名称是什么意思?比方说:如下
name=Rocket;
name=Rocket;
name=Rocket;
name=Rocket;
name=Rocket;
为什么同样的名称,
再问,不是说只能有五十个ID吗?怎么在Weapons.PDF。文件里就有107个ID,是不是可以自己再添加几个不受限制呀?
终于知道武器数据了,原来是中括号【】里面的是武器名,而不是NAME=。谢谢大家了
厉害!你一定会变成一个TA MOD高手的
谢谢鼓励呀,
即然来了,就顺便再问几下。
数据如下
[ARMVTOL_ADVMISSILE]
{
ID=112;
name=Guided Missiles;
rendertype=1;
lineofsight=1;
model=missile;
range=659;
reloadtime=3;
weapontimer=7;
weaponvelocity=559;
startvelocity=450;
weaponacceleration=130;
turnrate=24384;
areaofeffect=48;
soundstart=Rocklit3;
soundhit=xplosml2;
firestarter=70;
smokedelay=.1;
guidance=1;
tracks=1;
selfprop=1;
smoketrail=1;
tolerance=8000;
explosiongaf=fx;
explosionart=explode3;
waterexplosiongaf=fx;
waterexplosionart=h2o;
lavaexplosiongaf=fx;
lavaexplosionart=lavasplash;
[DAMAGE]
{
default=70;
ARMACA=150;
ARMATLAS=150;
ARMBRAWL=150;
ARMCA=150;
ARMFIG=150;
ARMHAWK=150;
ARMLANCE=150;
ARMPEEP=150;
ARMPNIX=150;
ARMTHUND=150;
CORACA=150;
CORAPE=150;
CORCA=150;
CORFINK=150;
CORHURC=150;
CORSHAD=150;
CORTITAN=150;
CORVALK=150;
CORVAMP=150;
CORVENG=150;
AAIBRAWL=150;
AAIFIG=150;
AAIHAWK=150;
AAILANCE=150;
AAIPNIX=150;
AAITHUND=150;
CAIAPE=150;
CAIHURC=150;
CAISHAD=150;
CAITITAN=150;
CAIVAMP=150;
CAIVENG=150;
armsaber=150;
corcut=150;
corsb=150;
armsb=150;
}
}
问题来了,[DAMAGE]是武器伤害的意思,
default=70;
伤害70,那下面的那些数据是什么意思呢?
ARMACA=150;
ARMATLAS=150;
ARMBRAWL=150;
ARMCA=150;
ARMFIG=150;
ARMHAWK=150;
ARMLANCE=150;
ARMPEEP=150;
ARMPNIX=150;
ARMTHUND=150;
CORACA=150;
CORAPE=150;
CORCA=150;
CORFINK=150;
CORHURC=150;
CORSHAD=150;
CORTITAN=150;
CORVALK=150;
CORVAMP=150;
CORVENG=150;
AAIBRAWL=150;
AAIFIG=150;
AAIHAWK=150;
AAILANCE=150;
AAIPNIX=150;
AAITHUND=150;
CAIAPE=150;
CAIHURC=150;
CAISHAD=150;
CAITITAN=150;
CAIVAMP=150;
CAIVENG=150;
armsaber=150;
corcut=150;
corsb=150;
armsb=150;
}
}
各位大大,有时间告诉我一下。谢谢了。
攻击对应单位的伤害
猜想就应该是那种数据,谢谢大大。
再有什么不懂的我再问哦。:)