HUDTag Not working

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
vampire_lord
Rebel Sergeant
Rebel Sergeant
Posts: 216
Joined: Thu Mar 20, 2008 7:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City
Contact:

HUDTag Not working

Post by vampire_lord »

OK, I put the DC17 Rifle into action for my sides, and I "fixed" the HUD icons, or I thought it was fixed but no matter how I tamper with the possitioning, the icon is not even floating around.

This is in the Weapon's ODF

Code: Select all

[WeaponClass]
ClassLabel 		= "cannon"
GeometryName 		= "rep_weap_dc17blast.msh"

[Properties]
AnimationBank		= "rifle"
GeometryName 		= "rep_weap_dc17blast"
HighResGeometry     = "rep_weap_dc17blast"

HUDTag = "rep_weap_dc17blast"
And This is on the Extraweapons.hud
Hidden/Spoiler:
ViewPort("Transforms")
{
EventNameFilter("player%")

// First Weapons Section

TransformNameMesh("player1weapon1")
// add msh names of first weapons here and remove unused lines
{
NameMesh("rep_weap_inf_dc15carbine", "com_inv_mesh")
NameMesh("rep_weap_inf_new_rifle", "com_inv_mesh")
NameMesh("rep_weap_dc15st", "com_inv_mesh")
NameMesh("rep_weap_dc17blast", "com_inv_mesh")

EventInput("player1.weapon1.change")
EventOutput("player1.weapon1.mesh")
}
}

Group("extraWeaponDisplay")
{
PropagateAlpha(1)
Viewport(1)
Position(0.0000000, 1.000000, 0.000000, "Viewport")
ZOrder(255)
EventEnable("player1.weaponsEnable")
EventDisable("player1.weaponsDisable")

Group("extraWeaponIcon")
{
Viewport(1)
Position(0.346161, -0.450412, 0.000000, "Viewport")
EventEnable("initialize")

Model3D("player1.weapon1mesh")
{
EventMesh("player1.weapon1.change")
Viewport(1)
ZOrder(5)
EventEnable("player1.weapon1.mesh")
EventDisable("player1.weapon1.disable")
Position(500.000000, 501.000000, 500.000000, "Viewport")
Rotation(0.804269, 359.994110, 359.999695)
Scale(0.000000, 0.000000, 0.000000)

//change position, rotation and scale of first weapon here, remove unused lines

MeshInfo("rep_weap_inf_dc15carbine")
{
Position(-0.250000, 0.3560000, 0.013887, "Viewport")
Rotation(0.804269, 91.747269, 359.999695)
Scale(0.950000, 0.950000, 0.950000)
}
MeshInfo("rep_weap_inf_new_rifle")
{
Position(-0.200000, 0.364262, 0.045000, "Viewport")
Rotation(0.804269, 91.747269, 359.999695)
Scale(0.900000, 0.900000, 0.900000)
}
MeshInfo("rep_weap_dc15st")
{
Position(-0.265000, 0.350000, 0.013500, "Viewport")
Rotation(0.805000, 90,0747000, 360,000000)
Scale(0.900000, 0.900000, 0.900000)
}
MeshInfo("rep_weap_dc17blast")
{
Position(-0.200000, 0.364262, 0.045000, "Viewport")
Rotation(0.804269, 91.747269, 359.999695)
Scale(0.900000, 0.900000, 0.900000)
}

}
}
}
I am checking the fix tutorial, but still getting no icon to fix.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: HUDTag Not working

Post by Teancum »

Did you manually add the model to your side req?
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: HUDTag Not working

Post by RepSharpshooter »

Teancum wrote:Did you manually add the model to your side req?
We're supposed to do that? oops, maybe that's one of my problems.

Code: Select all

HUDTag = "rep_weap_dc17blast"
I thought this usually overrides the icon somehow (perhaps teancum means you should have the model in your side req so that the hudtag has it to reference).

Also, it'd be worth checking your _BUILD/side/munged/pc and see if there's a extraweapons.config (if it isn't there, it hasn't been munged).
theITfactor
Chief Warrant Officer
Chief Warrant Officer
Posts: 327
Joined: Wed Jun 28, 2006 12:56 pm
Projects :: The Pwnfest and Games Complex
Games I'm Playing :: SWTOR
xbox live or psn: You and I Know
Location: The Old Republic
Contact:

Re: HUDTag Not working

Post by theITfactor »

Just make sure you follow FragMe!'s tutorial exactly and it will work.

http://www.gametoast.com/forums/viewtop ... =64&t=9703
User avatar
vampire_lord
Rebel Sergeant
Rebel Sergeant
Posts: 216
Joined: Thu Mar 20, 2008 7:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City
Contact:

Re: HUDTag Not working

Post by vampire_lord »

Still no effect at all... and it is weird because I didn't need to add the other models to my REQ... this is horrible, btw, not even the transparent grey bar supposed to be just behind the object doesn't show, that may be a hint.
Post Reply