本帖最后由 焚风副指挥 于 2024-7-16 15:27 编辑
同样地,我还是用的ARES和PHOBOS B41。
我经过一上午和下午的研究发现,
我不知道如何让建筑能够拦截抛射体。
下面是INI。
[ATESLA];拦截抛射体的建筑
...;这里略去的是原版[ATESLA]的INI
Ammo=10
PipWrap=5
PipScale=none
EmptyReload=8
Reload=8
Interceptor=yes
Interceptor.GuardRange=10
Interceptor.EliteGuardRange=10
Primary=InterceptePrism
ElitePrimary=InterceptePrismE
Interceptor.Weapon=0
[InterceptePrism]
Damage=20
ROF=1
Range=10
Projectile=InvisibleAll
Speed=40
Report=RailGunFireMeduim
Anim=PRISMMUZZLE
Warhead=IntercepteWH
LaserInnerColor=50,255,255
LaserDuration=4
IsSingleColor=yes
LaserThickness=1
IsLaser=true
IsHouseColor=false
Bright=yes
OmniFire=yes
Ammo=1
[InterceptePrismE]
Damage=20
ROF=1
Range=10
Projectile=InvisibleAll
Speed=40
Report=RailGunFireMeduim
Anim=PRISMMUZZLE
Warhead=IntercepteWH
LaserInnerColor=255,50,255
LaserDuration=4
IsSingleColor=yes
LaserThickness=1
IsLaser=true
IsHouseColor=false
Bright=yes
OmniFire=yes
Ammo=1
[IntercepteWH]
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%
Versus.proj=100%
Malicious=no
PreventScatter=yes
Bright=yes
CombatLightSize=20%
Tiberium=yes
Sparky=yes
[Ares-CannonInviso];这是被拦截的抛射体
Shadow=no
AA=no
AG=yes
Image=CANNONIMAGE
SubjectToCliffs=no
SubjectToElevation=yes
SubjectToWalls=yes
Trajectory.Speed=220.0
Trajectory=Straight
Acceleration=100
Interceptable=yes
Armor=proj
Strength=65
[BuildingTypes]
+=ATESLA
[WeaponTypes]
+=InterceptePrism
+=InterceptePrismE
[Projectiles]
+=Ares-CannonInviso
[Warheads]
+=IntercepteWH
[ArmorTypes]
proj=0%
我试过把武器InterceptePrism给非建筑单位时,单位能够拦截抛射体。
我不知道是哪些地方出了错,感觉像是建筑的哪些属性限制了建筑对抛射体的拦截。
欢迎大佬们来指正问题!
|