-
-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Description
Until this commit with SHA f96a3e8 DelayedFiring worked very well with this 2D vehicle (I don't know other cases). Now when firing the unit stay paralized few frames then the weapon is fired and continue the firing animation.
Before that commit:
Since this commit I mentioned:
Phobos Version
Develop branch
Conditions to reproduce
Use latest commit available if you want because it started since commit f96a3e8
Then use a DelayedFire weapon you have animation etc and attack something.
INI code
[CenturionLaserFire]
Damage=85
ROF=135
Range=9
Speed=100
Warhead=FSSuperBlueWH
LaserInnerColor=0,0,255
LaserOuterColor=0,0,255
LaserOuterSpread=0,0,0
LaserDuration=15
Projectile=LLine2
IsLaser=true
IsBigLaser=true
Anim=CBLUELASERMUZZLE
MinimumRange=3
DelayedFire.Duration=19 ; integer - single or comma-sep. range (game frames)
DelayedFire.SkipInTransport=true ; boolean
DelayedFire.OpenToppedAnimation=CBLUELASERMUZZLE ; Animation
DelayedFire.AnimIsAttached=true ; boolean
DelayedFire.AnimOnTurret=true ; boolean
DelayedFire.CenterAnimOnFirer=false ; boolean
DelayedFire.RemoveAnimOnNoDelay=false ; boolean
DelayedFire.PauseFiringSequence=false ; boolean
DelayedFire.OnlyOnInitialBurst=false ; boolean
[LLine2]
Inviso=yes
Image=none
AA=no
AG=yes
SubjectToCliffs=yes
SubjectToElevation=yes
SubjectToWalls=no
[CBLUELASERMUZZLE]
Image=BLUELASERMUZZLE
Rate=460
Report=HeavyLaserSound
Note: BLUELASERMUZZLE has 11 frames.Steps to reproduce
- Set the Delayed fire weapon like in the previous example that worked since the beginning of this logic.
- Fire & watch the animation.
...
Expected behaviour
The unit does the attack animation and after the specified frames the weapon is fired.
Actual behaviour
Stays paralized and the firing weapon is desyncronized with the animation:
Additional context
No response
Checklist
- The issue happens on the latest official version of Phobos and wasn't fixed yet.
- I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
- I added a very descriptive title to this issue.
- I used the GitHub search and read the issue list to find a similar issue and didn't find it.
- I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).
Metadata
Metadata
Assignees
Labels
No labels

