Development > Newbie Coding
UI Adjustments.
dodon:
--- Quote from: Mattn on November 04, 2010, 12:57:51 pm ---i don't the chance yet to verify this statement, are you really sure about this? there is rf-multiple and rf-single stuff in the game lib code the last time i looked at it.
--- End quote ---
Yes STATE_REACTION_ONCE and STATE_REACTION_MANY are still in use (just checked that with a month old copy of the master branch)
But most of the time the code handles the existing UI. (e_event_actorstatechange.c, cl_hud.c and cl_hud_callbacks.c).
In g_ai.c, g_ai_lua.c and g_morale.c the state is only set.
g_client.c handles the "Request to turn on multi- or single-reaction fire mode." and uses the same code for both states.
g_reaction.c only checks if one of the states is set and handles both the same way.
So I am quite shure: at the moment STATE_REACTION_ONCE and STATE_REACTION_MANY work the same way.
mor2:
pffft, how many big boys in this little newby thread ;D
btw speaking of which any chance for that ammo container/node/whatever, so we can show which ammo the weapon is loaded with in the hud similar to the base container (i would have created an entry on source forge but it has declared a crusade against my laptop :-\ )
so big please
H-Hour:
Regarding the single/multi-shot reaction fire. What is the benefit of having both? As I understand it, in the past reaction fire would have taken some of the next turn's TU, so I can see the benefit of it. But I believe that doesn't happen now, so I guess choosing single would only preserve ammo.
Is that necessary or just an added complication? Would anyone really use single-shot?
Kildor:
When I`ve played last time, there was at least one difference. RF-single reserved TU for single shot, and RF-multi reserved as much TU as possible. That`s all.
H-Hour:
--- Quote from: Kildor on November 05, 2010, 04:20:46 am ---When I`ve played last time, there was at least one difference. RF-single reserved TU for single shot, and RF-multi reserved as much TU as possible. That`s all.
--- End quote ---
That makes sense and sounds like a good enough reason to keep it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version