project-navigation
Personal tools

Author Topic: 27972 - reaction fire reservation doesn't work  (Read 2665 times)

Ildamos

  • Guest
27972 - reaction fire reservation doesn't work
« on: January 16, 2010, 04:00:50 pm »
I downloaded Muton's 27972 package (http://ufoai.ninex.info/forum/index.php?topic=2830.375 - reply #382) and the " reaction fire reservation doesn't work  " is back.


Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 27972 - reaction fire reservation doesn't work
« Reply #1 on: January 16, 2010, 04:05:29 pm »
already fixed in current trunk

Ildamos

  • Guest
Re: 27972 - reaction fire reservation doesn't work
« Reply #2 on: January 16, 2010, 04:10:18 pm »
Ah. I hope someone uploads the most recent build soon.  ;D

In the meantime, I'm going back to finger counting.  :D

Offline Halleth

  • Rookie
  • ***
  • Posts: 52
    • View Profile
Re: 27972 - reaction fire reservation doesn't work
« Reply #3 on: January 20, 2010, 09:50:34 pm »
R 28183. Only single reservation is fine. Multiple reservation doesn't work properly - it doesn't freeze more points.

I remember how TU reservation used to work, it had 3 possible states:
x = no reservation
| = single shot reservation
||| = reservation for maximum number of shots

Now it is:
x = no reservation
| = single shot reservation
||| = single shot reservation but if you have more points, soldier can shoot more times

I would like to propose new solution. Button would have only one function - toggling. When its clicked, check is performed if we have enough TUs to reserve one more shot (it is done anyway). If yes, just add one more shot, if not, toggle reservation to OFF:

if (enough TUs to reserve next shot):
 status = +1 shot reservation
else:
 status = no reservation