找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 7045|回复: 14

空袭引导展示

[复制链接]
发表于 2022-10-12 10:49:29 | 显示全部楼层 |阅读模式
演示:红警2 :突袭--狙击手引导空中支援 (bilibili.com)
超武由于自动释放有奇怪的延迟bug(指示者出现后很久才放超武,所以改成手动了)
[SniperCallsAirStrik]
IsPowered=false
RechargeVoice=
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=2
Type=SpyPlane
Action=SpyPlane
SpyPlane.Mission=Attack
SpyPlane.Count=1
SpyPlane.Type=ORCAII
SW.AlwaysGranted=yes
SidebarImage=airstrikeicon
ShowTimer=no
DisableableFromShell=no ; gs this determines which superweapons are turned off by the checkbox
EVA.Ready=none
SW.Designators=BEACONCARRIERDEPLOY
SW.InitialReady=yes
Cursor=AirStrike
SW.RequiredHouses=British
;SW.AutoFire=yes
;SW.AITargeting=LightningRandom
;SW.RequiresTarget=units
;SW.UseAITargeting=yes
;SW.RequiresHouse=owner

地毯式攻击机
[ORCAII]
Primary=CarpetBomber;  AGMissileTargeter
Image=FALC
Prerequisite=RADAR
CanPassiveAquire=no ; Won't try to pick up own targets
CanRetaliate=no; Won't fire back when hit
Strength=1500
Category=AirPower
Armor=light
TechLevel=-1
Sight=8
RadarInvisible=no
Landable=yes
MoveToShroud=yes


PipScale=Ammo
Speed=20
itchSpeed=0.9
itchAngle=0


PitchSpeed=1.1
PitchAngle=0
OmniFire=yes


Owner=British,French,Germans,Americans,Alliance


Cost=50
Points=20
ROT=3
Ammo=1
Crewed=yes
ConsideredAircraft=yes
AirportBound=no ; If I ever need to land and there are no airports I crash because I can only land on them
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=3
IsSelectableCombatant=yes
VoiceSelect=IntruderSelect
VoiceMove=IntruderMove
VoiceAttack=IntruderAttackCommand
VoiceCrashing=IntruderVoiceDie
DieSound=
MoveSound=IntruderMoveLoop
CrashingSound=IntruderDie
ImpactLandSound=GenAircraftCrash
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20        ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=IntruderTakeOff        ;Taking off
AuxSound2=IntruderLanding        ;Landing
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=STRONGER,FIREPOWER,ROF
Fighter=yes
AllowedToStartInMultiplayer=no
ImmuneToPsionics=yes


PreventAttackMove=yes
;InitialPayload.Types=MISSILEFIRER
;InitialPayload.Nums=1
;NoManualUnload=yes
;Survivor.RookiePassengerChance=0
assengers=1
;OpenTopped=yes
Trainable=no






[CarpetBomber]
Damage=300
ROF=10
Range=10
Projectile=CarpetBomberProj ;GEF was AAHeatSeeker2 ; was HeatSeeker
Speed=30
Warhead=CarpetBomberWH
Report=IntruderAttack
Anim=
Burst=1
[CarpetBomberProj]
Image=ZBOMB
Arm=10
Shadow=no
Acceleration=50
;Vertical=yes
DetonationAltitude=20000
[CarpetBomberWH]
;Spread=4
CellSpread=4
PercentAtMax=0.1
Wall=yes
Wood=yes
Verses=100%,100%,100%,90%,80%,70%,20%,10%,5%,80%,100%
Conventional=yes
Rocker=yes
InfDeath=2
AnimList=XGRYSML1,XGRYSML2,EXPLOSML,XGRYMED1,XGRYMED2,EXPLOMED,EXPLOLRG,TWLT070
Deform=10%
DeformThreshhold=300
Tiberium=yes
Sparky=no
;Bright=yes
ProneDamage=70%     ; Presumes air burst

[SNIPE]
;DisguiseWhenStill=yes
;CanDisguise=yes
Speed=2
Secondary=BeaconLuancher
Primary=AWP
[BeaconLuancher]
Damage=1
ROF=150
Range=20
Projectile=InvisibleAll
Speed=100
Report=DefuseKit
RevealOnFire=no ; Doesn't clear shroud when fired
Warhead=BeaconHusk
FireOnce=yes

副武器--信标发射器
[BeaconHusk]
Verses=0%,0%,0%,0%,1%,1%,1%,1%,1%,1%,100% ; see note in comments above about 1%
InfDeath=1
AnimList=BeaconHuskEmptyImpact
ProneDamage=100%
MakesDisguise=yes
;Bullets=yes

指示者,第一个“荚单位”由空动画立刻刷出,然后死亡爆炸播放信标动画,phobos死亡动画立刻刷出真正的指示者
[BEACONCARRIER]
Image=
Prerequisite=GAWEAP,GATECH
rimary=SSABUFF
;Secondary=SABUFF
;ElitePrimary=SuperCometFragment ;Like [WEEDGUY] this just instantiates more weapons
Strength=10
Category=AFV
Armor=heavy
TooBigToFitUnderBridge=false
TechLevel=-1
Sight=1
Speed=6
CrateGoodie=no
Owner=British,French,Germans,Americans,Alliance
Cost=0
Points=0
ROT=5
IsSelectableCombatant=no
Selectable=no
AllowedToStartInMultiplayer=no
Explosion=
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=0        ; This value MUST be 0 for all building addons
LegalTarget=no
DesignatorRange=1
Insignificant=yes
;For when want to let weapon instantly detonate
AutoDeath.Behavior=kill
AutoDeath.AfterDelay=1
Explosion=BeaconSP
DestroyAnim=BeaconDeploy


[BEACONCARRIERDEPLOY]
Image=
Prerequisite=GAWEAP,GATECH
rimary=SSABUFF
;Secondary=SABUFF
ElitePrimary=SuperCometFragment ;Like [WEEDGUY] this just instantiates more weapons
Strength=10
Category=AFV
Armor=heavy
TooBigToFitUnderBridge=false
TechLevel=-1
Sight=1
Speed=6
CrateGoodie=no
Owner=British,French,Germans,Americans,Alliance
Cost=0
Points=0
ROT=5
IsSelectableCombatant=no
Selectable=no
AllowedToStartInMultiplayer=no
Explosion=
VoiceSelect=
VoiceMove=
VoiceAttack=
VoiceFeedback=
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=0        ; This value MUST be 0 for all building addons
LegalTarget=no
DesignatorRange=1
Insignificant=yes
;For when want to let weapon instantly detonate
AutoDeath.Behavior=vanish
AutoDeath.AfterDelay=1000


art部分
空动画
[BeaconHuskEmptyImpact]
Image=empty
Translucency=100
CreateUnit=BEACONCARRIER
CreateUnit.Owner=Invoker


[BeaconSP]信标动画(sp应该去掉才对)
Image=beacon
Translucency=100
LoopStart=0
LoopEnd=13
LoopCount=13
Rate=200
UseNormalLight=yes
;CustomPalette=explosion.pal
alette=unittem.pal
Loop=4      


[BeaconDeploy]又一个空动画来刷指示者
Layer=Ground
Translucent=yes
Image=empty
;Translucency=100
Start=0
Rate=200
;UseNormalLight=yes
;CustomPalette=explosion.pal


      
CreateUnit=BEACONCARRIERDEPLOY                            ; UnitType
;CreateUnit.Facing=0                    ; integer, `CreateUnit` facings in range of 0-255
CreateUnit.RandomFacing=true           ; boolean, `CreateUnit` use random facings
CreateUnit.InheritFacings=false        ; boolean, inherit facing from destroyed unit
CreateUnit.InheritTurretFacings=false  ; boolean, inherit facing from destroyed unit
CreateUnit.RemapAnim=false             ; boolean, whether to remap anim to owner color
CreateUnit.Mission=Guard               ; MissionType
CreateUnit.Owner=Killer                ; Owner house kind, Invoker/Killer/Victim/Civilian/Special/Neutral/Random
CreateUnit.ConsiderPathfinding=false  















发表于 2022-10-12 11:11:05 | 显示全部楼层
本帖最后由 紫色放逐 于 2022-10-12 14:38 编辑

没太看明白,技术要点是什么?实现了什么特性?


补充资料:https://phobos.readthedocs.io/zh_CN/latest/New-or-Enhanced-Logics.html#launch-superweapons-on-impact
回复

使用道具 举报

 楼主| 发表于 2022-10-12 11:16:05 | 显示全部楼层
紫色放逐 发表于 2022-10-12 11:11
没太看明白,技术要点是什么?实现了什么特性?

由一个单位放出超武指示者然后自动释放超武。(自动释放那块有bug,不知道为什么延迟很大)
回复

使用道具 举报

发表于 2022-10-12 11:19:21 来自手机 | 显示全部楼层
为什么不直接开火放超武
回复

使用道具 举报

发表于 2022-10-12 11:24:57 来自手机 | 显示全部楼层
紫色放逐 发表于 2022-10-12 11:11
没太看明白,技术要点是什么?实现了什么特性?

他第一句是个哔哩哔哩的外链 点进去可以看视频

类似鲍里斯召唤米格一样 但是第二段是要手动释放的超武 飞机是地毯式轰炸
回复

使用道具 举报

发表于 2022-10-12 11:27:17 来自手机 | 显示全部楼层
双杀步枪 发表于 2022-10-12 11:19
为什么不直接开火放超武

确实 我就说看视频总觉得哪里不对劲
回复

使用道具 举报

 楼主| 发表于 2022-10-12 11:44:55 | 显示全部楼层
双杀步枪 发表于 2022-10-12 11:19
为什么不直接开火放超武

不知道还可以这么弄。请问开火放搜索哪个关键词?
回复

使用道具 举报

发表于 2022-10-12 11:50:39 | 显示全部楼层
本帖最后由 ruanhuhu 于 2022-10-12 11:53 编辑
street 发表于 2022-10-12 11:44
不知道还可以这么弄。请问开火放搜索哪个关键词?

phobos的弹头关联超武 写在弹头上 LaunchSW=
Kratos的发射武器时一并发射超级武器 写在单位上 FireSuperWeapon.Types=
Kratos的动画关联超武 写在动画上FireSuperWeapon.LaunchMode=



回复

使用道具 举报

 楼主| 发表于 2022-10-12 12:23:36 | 显示全部楼层
双杀步枪 发表于 2022-10-12 11:19
为什么不直接开火放超武

因为一堆狙击手能瞬间召唤一堆超武,过于imba。手动无论放了多少个信标,一段时间内只能炸一次。
回复

使用道具 举报

发表于 2022-10-12 12:30:27 | 显示全部楼层
street 发表于 2022-10-12 12:23
因为一堆狙击手能瞬间召唤一堆超武,过于imba。手动无论放了多少个信标,一段时间内只能炸一次。 ...


请用弹头挂AE ae不可叠加
最后ae放超武
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|Archiver|手机版|管理员邮箱|红警DIY论坛 |网站地图

GMT+8, 2026-8-30 02:57 , Processed in 0.057769 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表