原理很简单,可以连续点击两次的超武是哪个呢?对了,超时空传送。
代码很简单,这个功能还能干什么呢,它有3个动画,所以为所欲为吧。
[Animations]
+=BEAMTARGET
+=BEAMATTACK
+=BEAMHIT
[SuperWeaponTypes]
+=IonBeamSpecial
+=IonPointSpecial
[Warheads]
+=IonBeamWH
[WeaponTypes]
+=IonBeam
;离子炮打击打击=====================================
[IonBeamSpecial]
UIName=Name:Chrono
Name=Chrono Sphere
IsPowered=false
RechargeVoice=00-I156
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=0.01
Type=ChronoSphere
Cursor=AttackMove
SidebarImage=IONCICON
PreClick=yes
ShowTimer=no
DisableableFromShell=no ; gs this determines which superweapons are turned off by the checkbox
Range=4
;LineMultiplier=3
EVA.Detected=none
EVA.Ready=none
EVA.Activated=none
SW.AITargeting=None ;禁止AI使用
SW.Animation=BEAMTARGET ;第一发落点标注动画
SW.AnimationVisibility=team ;落点标注动画仅友军可见
SW.AffectsHouse=none ;超时空传送功能谁都不影响,也就是什么都传送不了
Chronosphere.BlastSrc=BEAMATTACK ;第一发离子炮
Chronosphere.BlastDest=BEAMATTACK ;第二发离子炮
SW.PostDependent=IonPointSpecial
;离子炮第二位置,假的超武,有效的只有范围圈和鼠标指针
[IonPointSpecial]
UIName=Name:Chrono2
Name=Chrono Warp
IsPowered=false
RechargeVoice=
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=1
Type=ChronoWarp
Cursor=AttackMove
SidebarImage=XXXXICON
PostClick=yes
PreDependent=ChronoSphere
Range=4
;LineMultiplier=3
[IonBeam]
Damage=1
ROF=15
Projectile=InvisibleAll
Warhead=IonBeamWH
[IonBeamWH]
Verses=100%,100%,100%,100%,100%,100%,100%,100%,100%,100%,100%
Rocker=yes
CellSpread=4
CellSpread.MaxAffect=1
PercentAtMax=.2
DamageAirThreshold=-1
AnimList= ;CRIVEXP2
ProneDamage=100%
InfDeath=2
IonCannon.Ripple=24 ;离子炮震荡动画
Wall=no
Wood=no
Tiberium=no
Sparky=no
ShakeXlo=4
ShakeXhi=4
ShakeYlo=10
ShakeYhi=10
======= Air.ini ========
[BEAMTARGET]
Image=RING
Layer=top
Rate=400
TranslucencyDetailLevel=1
LoopCount=-1
[BEAMATTACK]
Image=IONBEAM
;Translucent=yes
Rate=200
Start=0
LoopStart=0
LoopEnd=13
End=13
LoopCount=2
Tiled=yes
TranslucencyDetailLevel=1
;Report=ChronosphereMove
Flat=true
TrailerAnim=RING
TrailerSeperation=16
Next=BEAMHIT
[BEAMHIT]
Image=CHRONOBM
Translucent=yes
Rate=400
Tiled=yes
TranslucencyDetailLevel=1
Report=ChronosphereMove
Flat=true
Damage=350
Damage.Delay=8
Weapon=IonBeam
TrailerAnim=PODRING
TrailerSeperation=16
|