Page 1 of 1

HUDtag Questions.

Posted: Thu Mar 06, 2008 1:26 pm
by Caleb1117
Ok I have a few questions about HUD tags.

First, one custom weapon, a pistol, has a properly fixed tag, right where I want it, but it also has a floating doppleganger.
I think Syth had such a problem, was it fixed? and how?

Second, all gun models are (essentially) made the same way, facing along the Z axis, hp_active a 0, 0, 0, etc.
So shouldn't the same coordinates work (on most models) very well?

You see in one side, I have one weapon the is sitting perfect on the HUD, but none of the others do, and the others all use the same, or very similar coordinates.
I think the others aren't even being affected by the extraweapons.hud file.

Any help here too?

If needed, I'd be glad to post the .hud files for these sides.

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 1:31 pm
by Maveritchell
How many custom sides do you have?

I had almost the exact same problem you described, reason being I used extraweapons.hud for two distinct sides. You need to make sure with multiple sides to rename the .hud file (and make sure you call the changed name in the .req).

No, not all weapons are going to work the same way in terms of HUD positioning. I use a template for setting up custom HUDs, but sometimes new models won't fit the template and the only thing that can be done is tweaking the positioning and checking it ingame.

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 1:44 pm
by Caleb1117
I have 4 sides.

KOR: KotOR hero assault
MAN: Mandalorians
SITH: Sith Empire
OREP: Old Republic

Ok, so ech side needs a different name for it's hud file, so:
korweapons.hud
manweapons.hud
sithweapons.hud
etc.

And then call it in the side's req? How so?

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 1:53 pm
by Teancum
What's the setup in the req / directories for this? I'll use it on current sides so I don't have to replace ingame.lvl

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 3:16 pm
by FragMe!
Maveritchell wrote:How many custom sides do you have?

I had almost the exact same problem you described, reason being I used extraweapons.hud for two distinct sides. You need to make sure with multiple sides to rename the .hud file (and make sure you call the changed name in the .req).

No, not all weapons are going to work the same way in terms of HUD positioning. I use a template for setting up custom HUDs, but sometimes new models won't fit the template and the only thing that can be done is tweaking the positioning and checking it ingame.
Ah so that's why, makes sense really if there are two or more files named extraweapon.hud last one wins maybe.

@Caleb you would change the name in the sides req under the config section

REQN
{
"config"
"extraweapons"
}
would become korweapons.hud for the kor side etc. Just remember each side directory would require the modified munge_side.bat file and whatever else is in the tutorial that I can't remember right now.

@Teancum
All the extraweapon icon things reside in each particular sides folder and you are just adding a couple of lines to the sides.req file so it would be very easy to add to your current sides.

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 4:05 pm
by Teancum
Yeah, that'll be awesome too as it'll save download/install size. So the config goes in /[sidename]?

*edit*

Looks like that's it, I found that in a side download.

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 4:44 pm
by Maveritchell
FragMe! wrote:would become korweapons.hud for the kor side etc. Just remember each side directory would require the modified munge_side.bat file and whatever else is in the tutorial that I can't remember right now.
If they're all in the same map, you don't need multiple modified munge_side.bat files, since that goes in the _BUILD/Sides and not _BUILD/Sides/sidename.

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 5:08 pm
by Caleb1117
So to clarify:
ucft
{
REQN
{
"lvl"
"sith_inf_dark_trooper"
"sith_inf_engineer"
"sith_inf_officer"
"sith_inf_rifleman"
"sith_inf_rocketeer"
"sith_inf_sniper"
"sith_inf_Sithap"

}
REQN
{
"config"
"sithweapons"
}
}

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 5:19 pm
by Maveritchell
Except for one thing:

Code: Select all

ucft
{
    REQN
    {
      "lvl"
        "rvs_inf_rbasic"
	"rvs_inf_sbasic"
	"rvs_inf_rheavy"
	"rvs_inf_sheavy"
	"rvs_inf_rmelee"
	"rvs_inf_smelee"
	"rvs_inf_rsupport"
	"rvs_inf_ssupport"
	"rvs_inf_rstealth"
	"rvs_inf_sstealth"
	"rvs_inf_sadept"
	"rvs_inf_radept"
	"rvs_inf_rofficer"
	"rvs_inf_sofficer"
	"rvs_inf_rdroid"
	"rvs_inf_sdroid"
    }
    REQN
    {
	"model"
	"com_inv_mesh"
    }
    REQN
    {
    "config"
    "extraweapons"
    }
}
Make sure you call for the com_inv_mesh (which should be in your msh folder).

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 10:09 pm
by FragMe!
Maveritchell wrote:
FragMe! wrote:would become korweapons.hud for the kor side etc. Just remember each side directory would require the modified munge_side.bat file and whatever else is in the tutorial that I can't remember right now.
If they're all in the same map, you don't need multiple modified munge_side.bat files, since that goes in the _BUILD/Sides and not _BUILD/Sides/sidename.
*goes off to reread tutorial

You are of course correct Mav.
I should make more custom weapons so I can remember this stuff. :)

Re: HUDtag Questions.

Posted: Thu Mar 06, 2008 11:28 pm
by Maveritchell
FragMe! wrote:You are of course correct Mav.
And by "me" you should mean your tutorial. :)
It's just fresher in my mind since I've just had the exact same issue as Caleb.

Re: HUDtag Questions.

Posted: Fri Mar 07, 2008 8:15 am
by Caleb1117
Syth wrote:com_inv_mesh file in each side.
Theres an idea.

Re: HUDtag Questions.

Posted: Fri Mar 07, 2008 8:58 pm
by Syth
I got it working now. Just used one universal hud file for all 4 of my sides. Each side calls it in it's req and i have the file located in the Common side folder.

Re: HUDtag Questions.

Posted: Fri Mar 07, 2008 9:23 pm
by Caleb1117
And it fixed the floating doubles?

I'll get to work, right away.

Re: HUDtag Questions.

Posted: Fri Mar 07, 2008 11:59 pm
by Maveritchell
No reason why the multiple .huds shouldn't work (you need to clean before you use these), but neat to hear that you can use a common .hud.