UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #3235 [minor] delaybetweenshots / shots weapon parameter prioritie
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/3235 Item 3235] imported from sourceforge.net tracker on 2013-01-28 20:05:19

This is a really minor "bug", in that it is just a difference between expected behavior and actual behavior.

Weapon firedefs have two parameters:

shots -- How many shots this firedef takes (ie - a burst shot would be 3 so the game will show the soldier firing 3 times)

delaybetweenshots -- How much time there should be between each firing animation

If shots = 1 but delaybetweenshots is also set to something, the firing animation will play twice. Not a "bug" per say, but the code doesn't appear to be checking if there should be a second shot before applying the delaybetweenshots.

Might be worth tweaking in the code when someone wants a small coding job.
===== Comments Ported from Sourceforge =====

====== tlh2000 (2012-04-16 17:54:28) ======

should be fixed in a85808d2c5a1b9d1ca651d527b0d8e79a6c878a6

the script parser is printing a warning in case shots == 1 and delaybetweenshots > 0.0f - and it sets delaybetweenshots to 0.0f now in this case
====== aduke1 (2012-09-20 22:06:24.060000) ======

- **status**: pending --> closed
- **milestone**: --> 2.0-RC2
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif