飞鹰战备两个特点就是攒次数和提前CD
基于Phobos(b39)的虚拟建筑,逻辑很简单
第一个超舞的CD就是次数用完的大CD,第2、3超舞的CD是次数未用完时的CD。
注意:你需要自己写个飞鹰战机,这里代码无法直接粘贴就用
- ;超级武器注册
- [SuperWeaponTypes]
- ;飞鹰轰炸1/2/3
- +=EagleAirstrike1
- +=EagleAirstrike2
- +=EagleAirstrike3
- +=EagleRetruct
- [EagleAirstrike]
- ;模板,继承用
- ;直接显示标签
- UIName=NOSTR:EagleAirstrike
- IsPowered=false
- RechargeVoice=
- ChargingVoice=
- ImpatientVoice=
- SuspendVoice=
- RechargeTime=0.5
- Type=SpyPlane
- ;鼠标
- Action=SpyPlane
- SidebarImage=NukeIcon
- ;显示时间好测试
- ShowTimer=yes
- ;不属于超舞
- DisableableFromShell=no
- ;超舞就绪闪烁频率(帧数)
- FlashSidebarTabFrames=120
- ;AI不会用
- SW.AITargeting=none
- ;指定飞机
- SpyPlane.Type=FlyEagle
- SpyPlane.Count=1
- ;任务
- SpyPlane.Mission=Attack
- ;优先级
- CameoPriority=1
- [EagleAirstrike1]:[EagleAirstrike]
- ;直接显示标签
- UIName=NOSTR:EagleAirstrike1
- ;次数内CD
- RechargeTime=0.5
- ;无源超舞
- SW.AlwaysGranted=yes
- ;创建虚拟建筑
- LimboDelivery.Types=FakeEA1
- LimboDelivery.IDs=00001
- ;取消自己
- SW.NegBuildings=FakeEA1
- [EagleAirstrike2]:[EagleAirstrike]
- ;直接显示标签
- UIName=NOSTR:EagleAirstrike2
- ;次数内CD
- RechargeTime=0.05
- ;无源超舞
- SW.AlwaysGranted=no
- ;创建虚拟建筑
- LimboDelivery.Types=FakeEA2
- LimboDelivery.IDs=00002
- ;取消自己
- SW.NegBuildings=FakeEA2
- [EagleAirstrike3]:[EagleAirstrike]
- ;直接显示标签
- UIName=NOSTR:EagleAirstrike3
- ;次数内CD
- RechargeTime=0.05
- ;无源超舞
- SW.AlwaysGranted=no
- ;解锁全部
- LimboKill.IDs=00001,00002
- [EagleRetruct]
- ;直接显示标签
- UIName=NOSTR:EagleRetruct
- IsPowered=false
- RechargeVoice=
- ChargingVoice=
- ImpatientVoice=
- SuspendVoice=
- RechargeTime=0.05
- Type=GenericWarhead
- ;鼠标
- Action=SpyPlane
- SidebarImage=SPYPICON
- ;显示时间好测试
- ShowTimer=yes
- ;不属于超舞
- DisableableFromShell=no
- ;超舞就绪闪烁频率(帧数)
- FlashSidebarTabFrames=120
- ;给自动触发用
- SW.AITargeting=NoTarget
- ;无源超舞
- SW.AlwaysGranted=yes
- SW.Damage=0
- SW.Warhead=INVISO
- SW.UseAITargeting=yes
- SW.AutoFire=no
- ;不让AI玩
- SW.AllowAI=no
- ;解锁全部
- LimboKill.IDs=00001,00002
- ;优先级
- CameoPriority=0
- ;高空战机注册
- [AircraftTypes]
- +=FlyEagle;建筑注册
- [BuildingTypes]
- +=FakeBuild
- +=FakeEA1
- +=FakeEA2
- [FakeEA1]:[FakeBuild]
- SuperWeapon=EagleAirstrike2
- [FakeEA2]:[FakeBuild]
- SuperWeapon=EagleAirstrike3
- ;假建筑模板
- [FakeBuild]
- UIName=NOSTR:FakeBuild
- BuildCat=Resource
- Prerequisite=
- TechLevel=11
- Strength=10
- Adjacent=0
- Points=0
- Power=0
- Sight=0
- Armor=none
- Cost=0
- Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
- AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
- HalfDamageSmokeLocation1=0,0,0
- DamageSmokeOffset=410, 100, 165
- ThreatPosed=0
- Crewed=no
- AIBuildThis=no
- TogglePower=no
- Capturable=true
复制代码
|