About fire angel system... |
About fire angel system... |
19 Apr 2018, 12:59
Post
#1
|
|
Group: Members Posts: 149 Joined: 1 March 2014 From: China(Mainland) Member No.: 10320 |
In Ench there are fire angel system, allowing artillery unit use different fire pitch for different weapon(a precise but shorter range and a long range but inaccurate one)
However I don't get its code's logic First for different fire pitch there should be two turret, but..... Turret = TURRET TurretPitch = TURRETEL AltTurret = TURRET AltTurretPitch = TURRETEL (shocking...) Well I see if I just copy that there will be a problem, when the unit using its primary weapon. The turret will instantly recover to default state after fire,and will pitch from default if weapon change frome secondary to primary. And the author also said there is some code fixing it: TransitionState = TRANS_UsingA TRANS_None Model = AVM270 Animation = AVM270.AVM270 AnimationMode = ONCE AnimationSpeedFactorRange = -3.0 -3.0 Turret = TURRET TurretPitch = TURRETEL WeaponLaunchBone = PRIMARY WeaponA End TransitionState = TRANS_UsingAReallyDamaged TRANS_ReallyDamaged Model = AVM270_D Animation = AVM270_D.AVM270_D AnimationMode = ONCE AnimationSpeedFactorRange = -3.0 -3.0 Turret = TURRET TurretPitch = TURRETEL WeaponLaunchBone = PRIMARY WeaponA End Can't figur out what it do and how it fix the problem.... |
|
|
Lo-Fi Version | Time is now: 28 April 2024 - 10:09 |