找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4733|回复: 6

【求助】超时空传送超武的一个疑惑

[复制链接]
发表于 2022-10-11 09:32:08 | 显示全部楼层 |阅读模式
平台:Ares3.0+Kratos-Lite-v0.4+Phobos31

有时AI发射超时空超武时会弹框,当然概率不大,debug.log显示如下内容:

[LAUNCH] ChronoWarpSpecial
ChronoWarp typed super weapon triggered as standalone. Use ChronoSphere instead.

意思好像是:ChronoWarp超级武器作为独立触发。使用ChronoSphere来代替。


小白向大佬们请教,可能是哪里出了问题呢?



发表于 2022-10-11 09:38:52 | 显示全部楼层
你给超时空传送的副超武(ChronoWarp)设置AITargeting了?
回复

使用道具 举报

 楼主| 发表于 2022-10-11 10:29:18 | 显示全部楼层
紫色放逐 发表于 2022-10-11 09:38
你给超时空传送的副超武(ChronoWarp)设置AITargeting了?

没有啊,[ChronoSphereSpecial]和[ChronoWarpSpecial]用的都是原版尤里复仇的数据
回复

使用道具 举报

发表于 2022-10-11 10:48:52 | 显示全部楼层
nuclearape 发表于 2022-10-11 10:29
没有啊,[ChronoSphereSpecial]和[ChronoWarpSpecial]用的都是原版尤里复仇的数据

不如你把代码发上来我看看
回复

使用道具 举报

 楼主| 发表于 2022-10-11 10:51:08 | 显示全部楼层
ruanhuhu 发表于 2022-10-11 10:48
不如你把代码发上来我看看

;Chrono Sphere
[GACSPH]
UIName=Name:GACSPH
Name=Allied Chrono Sphere
;Image=GACHRO ;GEF we need to get this name straightened out
BuildCat=Combat
;Image=NTIRON
Prerequisite=GATECH,GACNST
TechLevel=10
Strength=3500
Powered=true
Adjacent=2
Armor=concrete
Sight=5
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry,Republic
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=2500
Points=30
Power=-200
Crewed=yes
Capturable=true
RevealToAll=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
SuperWeapon=ChronoSphereSpecial
Nominal=yes
;SuperWeapon2=ChronoWarpSpecial
ThreatPosed=1        ; This value MUST be 0 for all building addons
AIBuildThis=yes
ProtectWithWall=yes
Spyable=yes
ChargedAnimTime=1                ;Number of minutes left at which weapon should switch to charged state
BuildLimit=1
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6LG,DBRIS6SM,DBRIS7LG,DBRS10LG
MaxDebris=15
MinDebris=7
ImmuneToPsionics=no
ImmuneToEMP=no
EligibileForAllyBuilding=yes
AIBaseNormal=yes



[ChronoSphereSpecial]
UIName=Name:Chrono
Name=Chrono Sphere
IsPowered=true
RechargeVoice=00-I156
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=7
Type=ChronoSphere
Action=ChronoSphere
SidebarImage=CHROICON
PreClick=yes
ShowTimer=yes
DisableableFromShell=yes ; gs this determines which superweapons are turned off by the checkbox
; Range=1.4
; LineMultiplier=3

;Do we need a dummy weapon?
[ChronoWarpSpecial]
UIName=Name:Chrono2
Name=Chrono Warp
IsPowered=false
RechargeVoice=
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=1
Type=ChronoWarp
Action=ChronoWarp
SidebarImage=XXXXICON
PostClick=yes
PreDependent=ChronoSphere
Range=1.4
LineMultiplier=3

回复

使用道具 举报

发表于 2022-10-11 11:11:50 | 显示全部楼层
nuclearape 发表于 2022-10-11 10:51
;Chrono Sphere
[GACSPH]
UIName=Name:GACSPH

指定一下ChronoSphere超时空的SW.PostDependent=吧
这个默认是第一个Type=ChronoWarp的超武 如果你在前面插入了别的ChronoWarp类型的超武 可能会出错

EligibileForAllyBuilding=yes
AIBaseNormal=yes
还有这两句没有意义 一个是结盟用并且可被盟友在旁边建造
后边是ares的功能AI能否用此建筑进行拓展 在此处默认就是yes了
回复

使用道具 举报

 楼主| 发表于 2022-10-11 11:20:18 | 显示全部楼层
ruanhuhu 发表于 2022-10-11 11:11
指定一下ChronoSphere超时空的SW.PostDependent=吧
这个默认是第一个Type=ChronoWarp的超武 如果你在前面 ...

感谢大佬回复,我去试一试
回复

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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