Page 1 of 1

HUD fix retains floating weapons

Posted: Fri Feb 10, 2012 6:26 pm
by Jaspo
Hi, I can't figure out why, everything looks good, but I'm using Taivyx's Terra Strife sides and he had the HUD weapons fix implemented but the weapons are showing up both in their slots and in the center of the screen. I did fix some things in his code, so it looks like it should work, but I can't get rid of the floating ones. Funny, because I also added the naboo queen and fixed her HUD stuff and that worked fine. Any ideas?

Things I changed: he hadn't put the com_inv_msh (or whatever it's name is) file in his msh folder so I did this, and in his extraweapons file he had misnamed it com_inf_msh in some places so I renamed it correctly. Aside from that, I didn't see any mistakes as far as misplaced brackets, missing lines of code, misplaced lines of code, that sort of thing in the extraweapons file (I compared line-by-line with the original and also tried recreating it using the original--no change) His req files looked ok also, though I'm wondering if the fact that he didn't follow the weapon naming convention is causing any problems (his weapons are named things like "p90", instead of "tss_weap_p90")

Re: HUD fix retains floating weapons

Posted: Fri Feb 10, 2012 9:37 pm
by AQT
http://www.gametoast.com/forums/viewtop ... 27&t=27799 Seven topics down from this one. Have you seen it? The problem is exactly like yours.

Re: HUD fix retains floating weapons

Posted: Fri Feb 10, 2012 10:34 pm
by FragMe!
Added link to that topic in the Floating Icon thing in the FAQ.

Re: HUD fix retains floating weapons

Posted: Sat Feb 11, 2012 12:31 am
by Jaspo
Sorry, GT (for the duplicate topic)...I was in a bit of a hurry at the time and just looked in the FAQ topic after a quick search for "HUD", anyway through the link trail you've provided I'm assuming the problem is that I'm trying to have 2 extraweapons.hud files in operation at once. I'll consolidate and that should fix it. Thanks!

Edit: yup, I had to add the other custom units to the tss side file to accomodate having just 1 extraweapons file, but it fixed the problem. [Solved]