图1是自动武器,发射至固定坐标点,图2是主动攻击,攻击时武器贴图激光正常显示;自动武器不显示,但是发射点到目标点的连线有一条及其细微的像素错位
相关代码如下,目前不清楚是什么原因
[m1auto]
Duration=0
InitialRandomDelay=0,5
AutoWeapon.Types=M1Carbine ;自动发射的武器
AutoWeapon.FireFLH=100,6,80 ;发射的FLH
AutoWeapon.TargetFLH=2000,0,0 ;目标的FLH
[M1Carbine]
Damage=15
ROF=25
Range=4
Projectile=InvisibleLow
IsLaser=yes
LaserTexture=bullet.png
PixelShader=laserPSdefinitions.hlsl
LaserTextureNoStretch=yes
LaserTextureSpeed=50
LaserTextureThickness=100
SourceBlend=5
DestinationBlend=6
BlendOperation=1
Speed=100
Warhead=SA
Report=ConscriptAttack
OccupantAnim=UCCONS
|