找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1714|回复: 7

加载建筑武器无视AffectAllies=no?

[复制链接]
发表于 2024-8-13 17:54:02 来自手机 | 显示全部楼层 |阅读模式
如题,加载建筑的武器弹头上写了AffectAllies=no,但依然对友军单位造成伤害。这是什么问题?
发表于 2024-8-13 18:57:16 | 显示全部楼层
因为打错了
回复

使用道具 举报

发表于 2024-8-13 19:22:34 | 显示全部楼层
因为打错了
回复

使用道具 举报

 楼主| 发表于 2024-8-13 20:28:52 来自手机 | 显示全部楼层
eee44567 发表于 2024-8-13 18:57
因为打错了

这里确实打错了。。。但我代码里没问题,问题依旧
回复

使用道具 举报

发表于 2024-8-13 22:33:41 | 显示全部楼层
发代码
回复

使用道具 举报

 楼主| 发表于 2024-8-14 08:23:04 | 显示全部楼层

加载建筑代码:
[DistortionAmpModule]
UIName=Nameistortion Amp Module
Name=Distortion Amplification Module
BuildCat=Combat
Strength=1000
Armor=steel
TechLevel=9
Prerequisite=GACNST;GATECH,SpaceDistorter
Adjacent=10
Sight=10
Owner=British,French,Germans,Americans,Alliance
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=1000
BaseNormal=no
Points=30
Power=-75
Crewed=no
Primary=SpaceDistortionField
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
ThreatPosed=0        ; This value should be 0 for objects that are purely anti-air, since aircraft do not use the threat values
;DamageParticleSystems=SparkSys,LGSparkSys
IsBaseDefense=yes
Powered=yes
HasStupidGuardMode=false
WorkingSound=PowerOn
NotWorkingSound=PowerOff
ImmuneToPsionics=yes
Drainable=yes
AntiInfantryValue=10
AntiArmorValue=25
AntiAirValue=25
Selectable=no
PowersUpBuilding=SpaceDistorter
PowersUpToLevel=1

武器代码:
[SpaceDistortionField]
Damage=15
ROF=30
Range=10;-2
Projectile=InvisibleAll
Speed=100
Bright=no
Report=ChronoLegionAttack;ChronosphereOpen
Warhead=SpaceDistortionFieldWH
Burst=2
AreaFire=yes
OmniFire=yes

弹头代码:
[SpaceDistortionFieldWH]
Verses=100%,100%,100%,100%,100%,100%,50%,50%,50%,100%,100%
Conventional=no
Rocker=no
AnimList=FORCSHLD;CHRONOSK
InfDeath=10
Sonic=yes
AffectsAllies=no
UnitLost.Suppress=yes
DieSound.Override=<none>
VoiceDie.Override=<none>
DeathWeapon.SuppressVehicles=yes
DeathWeapon.SuppressInfantry=yes
Ripple.Radius=8
CellSpread.MaxAffect=1
DamageAirThreshold=-1
AttachEffect.Animation=CHRONOSK
AttachEffect.Duration=60
AttachEffect.TemporalHidesAnim=yes
AttachEffect.SpeedMultiplier=.5
AttachEffect.ROFMultiplier=2
;AttachEffect.ForceDecloak=yes
AttachEffect.PenetratesIronCurtain=yes
AttachEffect.Cumulative=no
AttachEffect.AnimResetOnReapply=no
回复

使用道具 举报

发表于 2024-8-14 12:11:33 | 显示全部楼层
看上去没什么问题
回复

使用道具 举报

 楼主| 发表于 2024-8-14 14:09:07 来自手机 | 显示全部楼层
航味麻酱 发表于 2024-8-14 12:11
看上去没什么问题

所以机制就是这样吗😅
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-4-23 17:02 , Processed in 0.067351 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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