本文发布于: 2020-05-21 19:01 星期四           QQ群:680585334

【红警规则】盖特逻辑武器基础

想添加一个类似盖特的新武器的话试试下面代码吧

;是否为盖特类型武器
IsGattling=yes

;炮塔种类数
TurretCount=1
;武器有几阶
WeaponCount=6

Weapon1=AGGattling
EliteWeapon1=AGGattlingE
Weapon2=AAGattCann
EliteWeapon2=AAGattlingE
Weapon3=AGGattling2
EliteWeapon3=AGGattling2E
Weapon4=AAGattCann2
EliteWeapon4=AAGattling2E
Weapon5=AGGattling3
EliteWeapon5=AGGattling3E
Weapon6=AAGattCann3
EliteWeapon6=AAGattling3E

;武器一共有多少个阶段
WeaponStages=3

;攻击后,根据时间长短替换武器
Stage1=200
Stage2=400
Stage3=600
EliteStage1=100
EliteStage2=200
EliteStage3=300

;时间的增加与减少
RateUp=1
RateDown=50

[AGGattling]
Damage=25;50
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop1
;DownReport=GattlingGunDecreaseLoop1
Burst = 2
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW

; rapid fire anti-air machine gun
[AAGattling]
Damage=25
ROF=16
Range=8
Projectile=Invisible4 ;GEF Anti air ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop1
;DownReport=GattlingGunDecreaseLoop1
Burst = 2
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW

; rapid fire anti-ground machine gun
[AGGattling2]
Damage=25;50
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=SA
Report=GattlingGunAttackLoop2
;DownReport=GattlingGunDecreaseLoop2
Anim=GUNFIRE
Burst = 2

; rapid fire anti-air machine gun
[AAGattling2]
Damage=30
ROF=8
Range=8
Projectile=Invisible4 ;GEF Anti air ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop2
;DownReport=GattlingGunDecreaseLoop2
Anim=GUNFIRE
Burst = 2

; rapid fire anti-ground machine gun
[AGGattling3]
Damage=25;50
ROF=16
Range=5
Projectile=Invisiblelow ;GEF Anti ground ;SA
Speed=100
Warhead=SSA
Report=GattlingGunAttackLoop3
;DownReport=GattlingGunDecreaseLoop3
Anim=VTMUZZLE
Burst = 2

; rapid fire anti-air machine gun
[AAGattling3]
Damage=40
ROF=4
Range=8
Projectile=Invisible4 ;GEF Anti air ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop3
;DownReport=GattlingGunDecreaseLoop3
Anim=VTMUZZLE
Burst = 2

; rapid fire anti-air machine gun
[AAGattCann]
Damage=30;40;50
ROF=16
Range=12
Projectile=Invisible4 ;GEF Anti air ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop1
;DownReport=GattlingGunDecreaseLoop1
Burst = 2
Anim=MGUN-N,MGUN-NE,MGUN-E,MGUN-SE,MGUN-S,MGUN-SW,MGUN-W,MGUN-NW

; rapid fire anti-air machine gun
[AAGattCann2]
Damage=30;40;50
ROF=8
Range=12
Projectile=Invisible4 ;GEF Anti air ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop2
;DownReport=GattlingGunDecreaseLoop2
Anim=GUNFIRE
Burst = 2

; rapid fire anti-air machine gun
[AAGattCann3]
Damage=30;40;50
ROF=4
Range=12
Projectile=Invisible4 ;GEF Anti air ;SA
Speed=100
Warhead=GattWH
Report=GattlingGunAttackLoop3
;DownReport=GattlingGunDecreaseLoop3
Anim=VTMUZZLE
Burst = 2

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

微信 OR 支付宝 扫描二维码
为本文作者 打个赏
pay_weixin pay_weixin
金额随意 快来“打”我,让ra2.club走得更远~