Technical support > Feature Requests

althud firing (Fixed in svn)

(1/3) > >>

lfloden:
I can't do it. When the althud is chosen there is no way to fire at the aliens except for reaction fire. I like the althud better than the default one. Is this something that is going to be fixed?

EDIT: edited the title --Werner

Hoehrer:
Yes, althud is currently broken.

The reason is that I recently implemented the code to support more than the previously max. of  2 firemodes. In order to display them in a usable way I added the pop-up list to the two huds, but only the one in the default hud seems to work. I couldn't find a way to make it work without duplicating functions in the code for every single hud (which is "teh baddest" [tm] way to solve this IMO)

hacking details: I'm accessing elements inside a "menu" definition (e.g. displaying, greying out etc... the menu entries in the popup menu) But the function that is used only seems to have access to the elements that are in the same "scope" (i.e. menu definition) that the "confunc" is defined in.
Defining the exact same "confunc" in  every menu definition also doesn't seem to work as expected.

Any tips would be helpful, I'm running in circles here :(

Werner

Mattn:
if the nodes have the same name in every menu, one confunc should be sufficient

Hoehrer:
After a quick chat with mattn althud should work now in trunk and 2.1 branch. Thanks again mattn.
If any errors pop up please report them ASAP.

Werner

lfloden:
Cool, I'll try it out.

Navigation

[0] Message Index

[#] Next page

Go to full version