今天遇到了一个问题,我新增了一个阵营[HuaXia],在阵营中新增国家[China],copy苏联的矿场和矿车&矿车(倒矿),并在全局变量中定义了矿场&矿车,为什么进入游戏后建造矿场自带的矿车不会自动采矿?手动控制采矿后也有采矿与倒矿的动画,但是实际没有金钱增加?(矿车完成采矿后下面没有显示矿的格子数),以下是代码:
[General]
HarvesterUnit=HARV,CMIN,CNARV ;定义矿车
PrerequisiteProc=GAREFN,NAREFN,YAREFN,CNSM ;注册矿厂
[CNSM]
;中国矿场 --苏军矿厂
UIName=Name:CNSM
Name=Soviet Ore Refinery
Image=NAREFN
BuildCat=Resource
DockUnload=yes
Refinery=yes
NumberOfDocks=1
;//gs revertNumberOfWaitingPoints=8
Bib=yes
NumberImpassableRows=3 ; This is the fix to the Repair depots are flat and RadioContact/Enter means I can drive on you assumption. It counts from game west
Prerequisite=POWER,CABUILD
Strength=2000
Adjacent=2
Armor=wood
TechLevel=1
FreeUnit=CNORV
Sight=6
Owner=China
AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil
Cost=2000
Soylent=300
Points=80
Power=-50
Storage=200
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
HalfDamageSmokeLocation1=0,0,0
MaxDebris=8
PipScale=Tiberium
ThreatPosed=0 ; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=410, 100, 165
AIBuildThis=yes
TogglePower=no
RefinerySmokeOffsetOne=-80, -232, 372
RefinerySmokeOffsetTwo=-80, 232, 372
RefinerySmokeFrames=50
RefinerySmokeParticleSystem=SmallGreySSys;
Spyable=yes
;WantsExtraSpace=yes ; gs This will look for a space AIBaseSpacing+1 when the computer places, but will settle for AIBasSpacing
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
ResourceDestination=yes;gs for the AI to handle the slave miner, it has to understand what makes money
[CNARV]
;中国矿车
UIName=Name:CNARV
Name=War Miner
Image=HARV
Prerequisite=CNWEAP,PROC
Nominal=yes
ToProtect=yes
Category=Support
Strength=4000
Armor=medium
Dock=CNSM
Turret=yes
Primary=20mmRapid
ElitePrimary=20mmRapidE
Harvester=yes
TechLevel=1
Sight=4
Speed=4
Owner=China
AllowedToStartInMultiplayer=no
PipScale=Tiberium
CrateGoodie=yes
Storage=40
Cost=1400
Soylent=1400
Points=55
ROT=5
Crusher=yes
AutoCrush=yes
Crewed=no
SelfHealing=yes
OpportunityFire=yes
UnloadingClass=CNORV
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=WarMinerSelect
VoiceMove=WarMinerMove
VoiceAttack=WarMinerAttackCommand
VoiceEnter=WarMinerMove
VoiceHarvest=WarMinerHarvest
DieSound=GenVehicleDie
CrushSound=TankCrush
MaxDebris=6
DebrisTypes=TIRE
DebrisMaximums=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Crusher
ThreatPosed=0 ; This value MUST be 0 for all building addons
ThreatAvoidanceCoefficient=.65
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToVeins=yes
ImmuneToPsionics=yes
ImmuneToRadiation=yes
ZFudgeColumn=9
ZFudgeTunnel=14
ZFudgeBridge=7
Size=3
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
Trainable=yes
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
ResourceGatherer=yes;gs for the AI to handle the slave miner, it has to understand what makes money
Bunkerable=no; Units default to yes, others default to no
[CNORV]
;中国矿车(倒矿)
UIName=Name:CNORV
Name=War Miner
Image=HORV
Nominal=yes
ToProtect=yes
Category=Support
Strength=4000
Armor=medium
Dock=CNSM
Harvester=yes
TechLevel=-1
Sight=4
Speed=4
Owner=China
AllowedToStartInMultiplayer=no
Cost=1400
Points=25
ROT=5
Crusher=yes
Crewed=no
SelfHealing=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
VoiceFeedback=
CrushSound=TankCrush
DieSound=GenVehicleDie
Maxdebris=3
DebrisTypes=TIRE
DebrisMaximums=4
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Crusher
ThreatPosed=0 ; This value MUST be 0 for all building addons
ThreatAvoidanceCoefficient=1
DamageParticleSystems=SparkSys,SmallGreySSys
ImmuneToRadiation=yes
|