Kratos:說明書/自動武器
[AttachEffectType]
自動的使用武器攻擊一個指定的位置,如附著對象A地板或由AE的來源對象發射武器到AE的附著對象等
AutoWeapon.WeaponIndex=(Integer)
自動發射單位自身的武器序號,如果賦予拋射體,此條無效,默認-1(不啟用)
0=Primary/Weapon1
1=Secondary/Weapon2
2=Weapon3
……
以此類推
優先級高於下一條
AutoWeapon.Types=(List of Weapon)
自動發射的武器,默認none
AutoWeapon.RandomTypesNum=(Integer)
隨機使用幾個武器,默認0
AutoWeapon.FireFLH=(Integer),(Integer),(Integer)
發射的FLH,默認0,0,0
AutoWeapon.TargetFLH=(Integer),(Integer),(Integer)
目標的FLH,默認0,0,0
AutoWeapon.MoveTo=(Integer),(Integer),(Integer)
如果設定,覆蓋TargetFLH且等效TargetFLH = FireFLH + MoveTo,默認0,0,0
AutoWeapon.EliteWeaponIndex=(Integer)
AutoWeapon.EliteTypes=(List of Weapon)
AutoWeapon.EliteRandomTypesNum=(Integer)
AutoWeapon.EliteFireFLH=(Integer),(Integer),(Integer)
AutoWeapon.EliteTargetFLH=(Integer),(Integer),(Integer)
AutoWeapon.EliteMoveTo=(Integer),(Integer),(Integer)
上述標籤的Elite版本,在被附加單位精英等級時調用
AutoWeapon.FireOnce=(Boolean)
武器在發射一次之後強制結束AE,默認no
AutoWeapon.FireToTarget=(Boolean)
如果設定,朝向附屬對象的目標開火,當附屬對象沒有目標時不開火,默認no
AutoWeapon.IsOnTarget=(Boolean)
如果附屬對象有目標,發射位置參考目標位置,方向是附屬對象面對目標的方向,默認no
AutoWeapon.IsOnTurret=(Boolean)
發射位置和目標位置參考炮塔方向,默認yes
AutoWeapon.IsOnWorld=(Boolean)
發射位置和目標位置以世界坐標做參考,固定朝向北方,不跟隨轉動,默認no
AutoWeapon.Powered=(Boolean)
建築需要電力才可以使用,默認no
AutoWeapon.AttackFromSpawnOwner=(Boolean)
啟用時,如果是由子機發射的武器,拋射體所屬變更為母雞,武器仍會從子機位置射出,子機為導彈類型時,建議設置為yes,否則得不到經驗,默認no
AutoWeapon.DeactiveWhenCivilian=(Boolean)
啟用時,當所屬是平民時,或者被狙掉了駕駛員,不會激活效果,默認no
攻擊者標記專屬設置
AutoWeapon.IsAttackerMark=(Boolean)
A給B掛上此模塊後,是否自動從B身上向A不斷發射指定武器,默認no
為yes時,AutoWeapon.TargetFLH設置無效,且下一條有效
AutoWeapon.ReceiverAttack=(Boolean)
是否反轉上一條,即A給B掛上此效果後,是否自動從A身上向B不斷發射指定武器,默認yes
AutoWeapon.ReceiverOwnBullet=(Boolean)
默認yes
默認情況和AutoWeapon.ReceiverAttack=yes時:
AutoWeapon.ReceiverOwnBullet=yes,武器來源跟隨武器發射者
AutoWeapon.ReceiverOwnBullet=no,武器來源跟隨AttachEffectType來源
AutoWeapon.ReceiverAttack=no時:
AutoWeapon.ReceiverOwnBullet=yes,武器來源跟隨AttachEffectType來源
AutoWeapon.ReceiverOwnBullet=no,武器來源跟隨武器發射者