Page 1 of 1

Floating Icons still present after Icon fix

Posted: Fri May 23, 2014 5:34 pm
by TWINKEYRUNAWAY
Image

Hello guys, hope all is going well. Anyway I am having an issue persisting with the floating icon fix. It will display the majority of the weapons in the right place, but will still have a floating icon present. It is quite annoying and this doesnt seem to be a problem when applied to the imperial side. Here is how my extreweaponshud.hud looks like. Any help would be most appreciated.
Hidden/Spoiler:
Code:

ViewPort("Transforms")
{
EventNameFilter("player%")

// First Weapons Section

TransformNameMesh("player1weapon1")
// add msh names of first weapons here and remove unused lines
{
NameMesh("all_weap_inf_misslelauncher", "com_inv_mesh")
NameMesh("all_weap_inf_repairkit", "com_inv_mesh")
NameMesh("all_weap_inf_dl44", "com_inv_mesh")
NameMesh("all_weap_inf_A280", "com_inv_mesh")
NameMesh("delta20", "com_inv_mesh")
NameMesh("acp_array_gun", "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, 500.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("all_weap_inf_dl44")
{
Position(-0.242922, 0.360546, 0.003365, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.900000, 0.900000, 0.900000)
}

MeshInfo("all_weap_inf_A280")
{
Position(-0.242922, 0.360546, 0.003365, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.900000, 0.900000, 0.900000)
}

MeshInfo("delta20")
{
Position(-0.242922, 0.360546, 0.003365, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.900000, 0.900000, 0.900000)
}


MeshInfo("acp_array_gun")
{
Position(-0.242922, 0.360546, 0.003365, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.900000, 0.900000, 0.900000)
}

MeshInfo("all_weap_inf_misslelauncher")
{
Position(-0.204363, 0.367216, 0.000847, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.560000, 0.560000, 0.560000)
}

MeshInfo("all_weap_inf_repairkit")
{
Position(-0.240446, 0.358461, 0.001095, "Viewport")
Rotation(355.836060, 135.827820, 69.479843)
}
}
}
}

// Second Weapons Section

TransformNameMesh("player1weapon2")
// add names of second weapons here
{
NameMesh("weap_inf_detonator_arranged", "com_inv_mesh")


EventInput("player1.weapon2.change")
EventOutput("player1.weapon2.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.weapon2mesh")
{
EventMesh("player1.weapon2.change")
Viewport(1)
ZOrder(5)
EventEnable("player1.weapon2.mesh")
EventDisable("player1.weapon2.disable")
Position(500.000000, 500.000000, 500.000000, "Viewport")
Rotation(0.804269, 359.994110, 359.999695)
Scale(0.000000, 0.000000, 0.000000)

// adjust position, rotation and scale of second weapon here

MeshInfo("weap_inf_detonator_arranged")
{
Position(-0.274201, 0.284023, 15.000000, "Viewport")
Rotation(0.000000, 0.000000, 359.999695)
Scale(1.750000, 1.750000, 1.750000)
}
}
}
}

Re: Floating Icons still present after Icon fix

Posted: Fri May 23, 2014 7:32 pm
by JimmyAngler
Ah , I had the same problem. Here's the fix.

Only use one extraweapons.HUD file for all of you sides.
Vereh simple.

Re: Floating Icons still present after Icon fix

Posted: Fri May 23, 2014 9:36 pm
by TWINKEYRUNAWAY
:o it does not matter where it is placed? I mean can I have it in just the imperial side folder and it will work for all the others?

Re: Floating Icons still present after Icon fix

Posted: Fri May 23, 2014 9:53 pm
by AQT
Yep. Just be sure to load your Imperial side regardless if you're using units from that side or not.

Re: Floating Icons still present after Icon fix

Posted: Fri May 23, 2014 10:53 pm
by Maveritchell
JimmyAngler wrote:Ah , I had the same problem. Here's the fix.

Only use one extraweapons.HUD file for all of you sides.
Vereh simple.
The issue is not multiple .hud files, it's multiple .hud files with the same name. You can have multiple extra .hud files, you just can't literally have multiple "extraweapons.hud" files.