I have been cursed (double hud icons) [Solved]

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
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

I have been cursed (double hud icons) [Solved]

Post by RepSharpshooter »

Ok, a common theme around here- floating icons! But I am not a noob, I have an encompassing knowledge of the hud system.

This is the problem, fixing the hud icons for certain weapons causes both:
  1. Fixed icon in appropriate spot.
  2. Floating icon in the screen.
I have tried two methods, 1. doing the extraweapons.hud fix. 2. completely making a new ingame.lvl and overwriting the 1playerhud.hud. Both resulted in the same double icon effect. I have no idea what is causing it. I know this issue has been around before, and I was hoping perhaps someone knew the remedy.
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: I have been cursed (double hud icons)

Post by theITfactor »

I have the same problem with one of my weapons, and have not been able to fix it either :roll:
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: I have been cursed (double hud icons)

Post by RepSharpshooter »

Well I might as well post my .hud, although I really don't know what I could have messed up (obviously messed something up).

These are the two weapon groups, notice the 1-2 hud tags, my stuff for battle arena starts at "rock":
Hidden/Spoiler:
Group("player1weapon1group")
{
Viewport(1)
Position(0.346161, -0.450412, 0.000000, "Viewport")
EventEnable("initialize")
Model3D("player1weapon1mesh")
{
EventMesh("player1.weapon1.mesh")
Viewport(1)
ZOrder(5)
EventEnable("player1.weapon1.mesh")
EventDisable("player1.weapon1.disable")


MeshInfo("westar34")
{
Position(-0.252832, 0.341293, 0.014590, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("arccaster")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("imp_weap_inf_sonic_pistol")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("rep_weap_inf_dc15carbine")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("rep_weap_dc15st")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("leia")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("e11s")
{
Position(-0.206269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("rep_weap_dc15s_ex")
{
Position(-0.206269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("leia")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("kylan")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("dl19")
{
Position(-0.236269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("rock")
{
Position(-0.204363, 0.367216, 0.000847, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("protosniper")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("mdr_weap_inf_rifle")
{
Position(-0.242269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("weap_acpr")
{
Position(-0.242269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("mds_weap_weapon3")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("m9")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("com_weap_inf_binoculars")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("a295")
{
Position(-0.236269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("dh17")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("EE_3")
{
Position(-0.206269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("T_21")
{
Position(-0.236269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("flechette")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("a280")
{
Position(-0.236269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("rep_weap_inf_dc17pistol")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("arcrifle")
{
Position(-0.206269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("weap_acp")
{
Position(-0.202832, 0.341293, 0.014590, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("hud_vehicle_lasers")
{
Position(-0.185992, 0.354928, -0.000509, "Viewport")
Rotation(0.804269, 359.994110, 359.999695)
Scale(1.200000, 1.200000, 1.200000)
}

MeshInfo("hud_stealth")
{
Position(-0.269501, 0.352591, 1.800601, "Viewport")
Rotation(0.002055, 90.580322, 0.000000)
Scale(0.270001, 0.270001, 0.270001)
}

MeshInfo("hud_vehicle_beam_cannon")
{
Position(-0.217103, 0.354157, 0.006280, "Viewport")
Scale(1.200000, 1.200000, 1.200000)
}

MeshInfo("hud_vehicle_chaingun")
{
Position(-0.201828, 0.356458, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_guided_rocket")
{
Position(-0.228913, 0.354333, 0.006280, "Viewport")
Scale(1.2500000, 1.250000, 1.250000)
}

MeshInfo("hud_geo_turret")
{
Position(-0.203592, 0.354333, 0.006280, "Viewport")
Scale(1.909999, 1.909999, 1.909999)
}

MeshInfo("hud_vehicle_stingers")
{
Position(-0.278276, 0.250243, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_torpedo")
{
Position(-0.278276, 0.250243, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_missile")
{
Position(-0.240880, 0.356816, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_mortar")
{
Position(-0.278276, 0.250243, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_recoiless")
{
Position(-0.232116, 0.355484, 0.006280, "Viewport")
Scale(1.280000, 1.280000, 1.280000)
}

MeshInfo("hud_vehicle_flak")
{
Position(-0.270610, 0.353623, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_bombs")
{
Position(-0.278276, 0.250243, 0.006280, "Viewport")
}

MeshInfo("cis_weap_inf_pistol")
{
Position(-0.260316, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.800000, 0.800000, 0.800000)
}

MeshInfo("cis_weap_inf_sniperrifle")
{
Position(-0.230193, 0.361898, -0.003271, "Viewport")
Rotation(359.802399, 90.747269, 359.999695)
}

MeshInfo("cis_weap_inf_rifle")
{
Position(-0.236938, 0.359879, 0.001903, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("cis_weap_inf_fusioncutter")
{
Position(-0.237654, 0.359785, -0.003261, "Viewport")
Rotation(355.836060, 135.827820, 69.479843)
}

MeshInfo("cis_weap_inf_launcher")
{
Position(-0.206654, 0.362510, 0.003622, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.660000, 0.660000, 0.660000)
}

MeshInfo("hud_cis_wristblaster")
{
Position(-0.264100, 0.350311, 1.022745, "Viewport")
Rotation(0.000000, 0.000000, 120.000000)
Scale(0.653289, 0.653289, 0.653289)
}

MeshInfo("hud_cis_trishot")
{
Position(-0.268002, 0.352302, 0.734317, "Viewport")
Rotation(359.967194, 359.763428, 119.966087)
Scale(0.653289, 0.653289, 0.653289)
}

MeshInfo("hud_lightsaber")
{
Position(-0.232567, 0.355873, -0.087683, "Viewport")
Rotation(359.967194, 359.763428, 0.003998)
Scale(1.170000, 1.170000, 1.170000)
}

MeshInfo("rep_weap_inf_pistol")
{
Position(-0.249442, 0.359076, 0.007261, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(1.140000, 1.140000, 1.140000)
}

MeshInfo("rep_weap_inf_fusioncutter")
{
Position(-0.247656, 0.353992, -0.002562, "Viewport")
Rotation(355.836060, 135.827820, 69.479843)
}

MeshInfo("rep_weap_inf_launcher")
{
Position(-0.207665, 0.361767, 0.007124, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.670000, 0.670000, 0.670000)
}

MeshInfo("rep_weap_inf_chaingun")
{
Position(-0.193610, 0.368393, 0.007124, "Viewport")
Rotation(354.177856, 99.922020, 359.610596)
Scale(0.700000, 0.700000, 0.700000)
}

MeshInfo("com_weap_inf_torpedo")
{
Position(-0.229334, 0.360748, 0.009504, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.810000, 0.810000, 0.810000)
}

MeshInfo("rep_weap_inf_sniperrifle")
{
Position(-0.228348, 0.367230, -0.007488, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.820000, 0.820000, 0.820000)
}

MeshInfo("rep_weap_inf_rifle")
{
Position(-0.219723, 0.364485, 0.003263, "Viewport")
Rotation(1.538445, 95.690582, 4.455857)
Scale(0.800000, 0.800000, 0.800000)
}

MeshInfo("hud_imp_flamethrower")
{
Position(-0.173776, 0.358333, 0.205979, "Viewport")
Rotation(0.013809, 0.000000, 359.991669)
Scale(0.250001, 0.250001, 0.250001)
}

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

MeshInfo("imp_weap_inf_pistol")
{
Position(-0.264184, 0.356163, -0.003873, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(1.240000, 1.240000, 1.240000)
}

MeshInfo("imp_weap_inf_launcher")
{
Position(-0.206202, 0.374467, 0.011042, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.640000, 0.640000, 0.640000)
}

MeshInfo("imp_weap_inf_fusioncutter")
{
Position(-0.239710, 0.356673, -0.000329, "Viewport")
Rotation(355.836060, 135.827820, 69.479843)
}

MeshInfo("imp_weap_inf_sniperrifle")
{
Position(-0.211808, 0.367069, 0.001418, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.810000, 0.810000, 0.810000)
}

MeshInfo("all_weap_inf_pistol")
{
Position(-0.264115, 0.358155, 0.013887, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.720000, 0.720000, 0.720000)
}

MeshInfo("all_weap_inf_lightsabre")
{
Position(-0.399193, 0.415118, -49.262363, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("all_weap_inf_rifle")
{
Position(-0.222677, 0.361293, 0.014590, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

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

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

MeshInfo("all_weap_inf_sniperrifle")
{
Position(-0.231335, 0.355448, 0.003653, "Viewport")
Rotation(0.804269, 90.573097, 359.999695)
}

MeshInfo("all_weap_inf_bowcaster")
{
Position(-0.241302, 0.357451, -0.001890, "Viewport")
Rotation(353.358673, 99.140221, 1.132509)
Scale(0.630000, 0.630000, 0.630000)
}

MeshInfo("all_weap_inf_seeker")
{
Position(-0.235594, 0.360432, 0.000240, "Viewport")
Rotation(347.354980, 117.284363, 1.132509)
Scale(0.950000, 0.950000, 0.950000)
}

MeshInfo("ewk_spear")
{
Position(-0.086126, 0.206732, 199.969666, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.590000, 0.590000, 0.590000)
}

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

MeshInfo("tat_weap_tuskrifle")
{
Position(-0.214412, 0.355448, 0.003653, "Viewport")
Rotation(0.804269, 90.573097, 359.999695)
}

MeshInfo("wok_weap_inf_bowcaster")
{
Position(-0.197062, 0.357451, -0.001890, "Viewport")
Rotation(353.358673, 99.140221, 1.132509)
Scale(0.830000, 0.830000, 0.830000)
}

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

MeshInfo("geo_weap_inf_blunderbuss")
{
Position(-0.253835, 0.363164, -0.002834, "Viewport")
Rotation(325.134644, 90.232857, 342.582642)
}

MeshInfo("gun_weap_inf_fusioncutter")
{
Position(-0.254565, 0.357203, -0.002834, "Viewport")
Rotation(124.471199, 68.442780, 177.787216)
Scale(0.872851, 0.872851, 0.872851)
}

}

}

Group("player1weapon2group")
{
Viewport(1)
Position(0.353928, -0.414382, 0.000000, "Viewport")
EventEnable("initialize")
Model3D("player1weapon2mesh")
{
EventMesh("player1.weapon2.mesh")
Viewport(1)
ZOrder(5)
EventEnable("player1.weapon2.mesh")
EventDisable("player1.weapon2.disable")

MeshInfo("hud_thermaldetonator")
{
Position(-0.284209, 0.250243, 0.006280, "Viewport")
Rotation(0.056783, 359.996582, 359.999695)
Scale(0.610000, 0.610000, 0.610000)
}
MeshInfo("mdr_weap_inf_thermaldetonator")
{
Position(-0.274201, 0.254023, 0.006280, "Viewport")
Rotation(0.056783, 359.996582, 359.999695)
Scale(1.653860, 1.653860, 1.653860)
}
MeshInfo("rep_weap_inf_fusioncutter")
{
Position(-0.274201, 0.284023, 15.000000, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("m9")
{
Position(-0.274201, 0.284023, 15.000000, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("wok_weap_inf_thermaldetonator")
{
Position(-0.281954, 0.240963, 0.006280, "Viewport")
Rotation(51.626522, 352.026947, 0.000000)
Scale(1.653860, 1.653860, 1.653860)
}

MeshInfo("gun_weap_inf_grenadethermal")
{
Position(-0.256918, 0.236531, 0.000000, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}


MeshInfo("hud_droideka_shield")
{
Position(-0.254297, 0.247155, 0.013074, "Viewport")
Scale(0.640000, 0.640000, 0.640000)
}

MeshInfo("hud_detpack_plunger")
{
Position(-0.276081, 0.242515, 0.039169, "Viewport")
Rotation(0.056783, 359.996582, 359.999695)
Scale(0.440000, 0.440000, 0.440000)
}

MeshInfo("hud_vehicle_beam_cannon")
{
Position(-0.221990, 0.250243, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_chaingun")
{
Position(-0.278276, 0.250243, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_guided_rocket")
{
Position(-0.229027, 0.251896, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_stingers")
{
Position(-0.227707, 0.251667, 0.006280, "Viewport")
Scale(1.430000, 1.430000, 1.430000)
}

MeshInfo("hud_vehicle_torpedo")
{
Position(-0.229027, 0.251896, 0.006280, "Viewport")
Scale(1.260000, 1.260000, 1.260000)
}

MeshInfo("hud_vehicle_missile")
{
Position(-0.240880, 0.250430, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_mortar")
{
Position(-0.233111, 0.250243, 0.006280, "Viewport")
Scale(2.039999, 2.039999, 2.039999)
}

MeshInfo("hud_vehicle_recoiless")
{
Position(-0.230713, 0.251495, 0.006280, "Viewport")
Scale(1.280000, 1.280000, 1.280000)
}

MeshInfo("hud_vehicle_flak")
{
Position(-0.278276, 0.250243, 0.006280, "Viewport")
}

MeshInfo("hud_vehicle_bombs")
{
Position(-0.265339, 0.250243, 0.006280, "Viewport")
Scale(0.630000, 0.630000, 0.630000)
}

MeshInfo("com_weap_inf_torpedo")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("com_weap_inf_grenadethermal")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("com_weap_inf_thermaldetonator")
{
Rotation(353.358673, 99.140221, 1.132509)
}

MeshInfo("com_weap_inf_seismic_mine")
{
Position(-0.266703, 0.248956, 0.000000, "Viewport")
Rotation(0.056783, 359.996582, 359.999695)
Scale(0.810000, 0.810000, 0.810000)
}

MeshInfo("com_weap_inf_detpack")
{
Position(-0.265352, 0.243674, 0.000000, "Viewport")
Rotation(0.056783, 359.996582, 359.999695)
Scale(0.810000, 0.810000, 0.810000)
}

MeshInfo("com_weap_inf_torpedo")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("com_weap_inf_landmine")
{
Position(-0.273909, 0.229540, 0.000000, "Viewport")
Rotation(302.401611, 288.247955, 359.707031)
Scale(0.790000, 0.790000, 0.790000)
}

MeshInfo("all_weap_inf_powerup_dispenser")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("all_weap_inf_thermaldetonator")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("all_weap_inf_grenadethermal")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("cis_weap_walk_droideka_shield")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("cis_weap_inf_mine_dispenser")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("hud_cis_wristrocket")
{
Position(-0.258918, 0.249950, 0.000000, "Viewport")
Rotation(0.067146, 0.027435, 0.869930)
}

MeshInfo("hud_imp_wristrocket")
{
Position(-0.235938, 0.252083, 0.000000, "Viewport")
Rotation(0.067146, 0.027435, 0.869930)
Scale(1.220000, 1.220000, 1.220000)
}

MeshInfo("rep_weap_inf_grenadethermal")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("rep_weap_inf_landmine")
{
Rotation(106.459229, 90.747269, 359.999695)
}

MeshInfo("rep_weap_inf_powerup_dispenser")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("hud_rep_weap_defense_buff_icon")
{
Position(-0.235665, 0.230309, 0.013074, "Viewport")
Rotation(0.056783, 359.996582, 359.999695)
Scale(0.340001, 0.340001, 0.340001)
}

MeshInfo("hud_rep_defense_buff")
{
Position(-0.259348, 0.250207, 0.013074, "Viewport")
Scale(0.500001, 0.500001, 0.500001)
}

MeshInfo("hud_health_regen")
{
Position(-0.295264, 0.249070, 0.000000, "Viewport")
Rotation(4.668793, 7.205190, 0.869930)
Scale(0.530001, 0.530001, 0.530001)
}

MeshInfo("imp_weap_inf_powerup_dispenser")
{
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("com_item_powerup_dual")
{
Position(-0.281854, 0.276486, 0.000000, "Viewport")
Rotation(358.137604, 304.921997, 0.000000)
Scale(0.540000, 0.540000, 0.540000)
}

MeshInfo("ewk_rock")
{
Position(-0.060943, 0.076415, 276.444824, "Viewport")
Rotation(0.056783, 359.996582, 359.999695)
Scale(0.780000, 0.780000, 0.780000)
}

MeshInfo("com_weap_probedroid")
{
Position(-0.275655, 0.258602, 0.000000, "Viewport")
Rotation(346.000000, 202.460000, 6.200000)
Scale(1.180000, 1.180000, 1.180000)
}

MeshInfo("com_weap_inf_dropturret")
{
Position(-0.282107, 0.373784, 0.000000, "Viewport")
Rotation(10.050000, 26.660000, 7.010000)
Scale(0.540187, 0.540187, 0.540187)
}

MeshInfo("hud_poison")
{
Position(-0.251899, 0.248431, 0.000000, "Viewport")
Scale(0.330001, 0.330001, 0.330001)
}

MeshInfo("hud_rage")
{
Position(-0.251899, 0.248431, -0.010000, "Viewport")
Scale(0.330001, 0.330001, 0.330001)
}

MeshInfo("hud_invun_buff")
{
Position(-0.259348, 0.250207, 0.013074, "Viewport")
Scale(0.500001, 0.500001, 0.500001)
}

MeshInfo("hud_defencebuff")
{
Position(-0.259348, 0.250207, 0.013074, "Viewport")
Scale(0.500001, 0.500001, 0.500001)
}

MeshInfo("hud_force_choke")
{
Position(-0.277730, 0.250243, 0.060000, "Viewport")
Rotation(0.020765, 359.925140, 359.999695)
}

MeshInfo("hud_force_saberthrow")
{
Position(-0.272903, 0.241462, 5.214769, "Viewport")
Rotation(0.020765, 359.925140, 359.999695)
Scale(0.180001, 0.180001, 0.180001)
}

MeshInfo("hud_force_pull")
{
Position(-0.258612, 0.253261, 0.060000, "Viewport")
Rotation(0.020765, 359.925140, 359.999695)
}

MeshInfo("hud_force_push")
{
Position(-0.260633, 0.250827, 0.060000, "Viewport")
Rotation(0.020765, 359.925140, 359.999695)
}

MeshInfo("hud_force_lightning")
{
Position(-0.259680, 0.251856, 0.060000, "Viewport")
Rotation(0.020765, 359.925140, 359.999695)
Scale(0.490000, 0.490000, 0.490000)
}

}

}
Ingame.req
Hidden/Spoiler:
ucft
{
REQN
{
"config"
"1playerhud"

}
}
Lua call
Hidden/Spoiler:
ReadDataFile("ingame.lvl")
ReadDataFile("dc:ingame.lvl")
My only WHIM is that perhaps the M9 being a primary and secondary weapon it is doing something, but I really don't know :( What baffles me is that the hud tags worked fine in battle arena, when they were actually in an extraweapons.hud in the CIT (spectator) side. As soon as I put them in Rhen Var, it started doing the double thing (even with reading the CIT people in the lua). I could try putting them in another map to see if it is perhaps do to the map...

found this in the log, doesn't make any sense, but it's an error and it says HUD

Code: Select all

Message Severity: 2
.\Source\ObjectiveManager.cpp(40)
too many objective lists attached to player0's HUD!
edit: what the heck! now battle arena's huds have doubles too! :( that makes absolutely no sense. I'm using a program that I wrote to crosscheck every byte between the faulty mdr.lvl and the one shipped with battle arena. Program returns... they're identical :?

OK guys, narrowed it down to something in the mission.lvl (of all things) that is causing the double huds.




EDIT: Ok I fixed it in some odd way. I used what worked for battle arena.
cit.req

Code: Select all

           REQN
    {
    "model"
    "com_inv_mesh"
    }
    
    REQN
{
"config"
"extraweapons"
}
}
extraweapons.hud
Hidden/Spoiler:
Code:

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

// First Weapons Section

TransformNameMesh("player1weapon1")
// add msh names of first weapons here and remove unused lines
{
NameMesh("gar_weap_inf_launcher", "com_inv_mesh")
NameMesh("gar_weap_inf_fusioncutter", "com_inv_mesh")
NameMesh("gar_weap_inf_pistol", "com_inv_mesh")
NameMesh("rep_weap_inf_dc15carbine", "com_inv_mesh")

NameMesh("protosniper", "com_inv_mesh")
NameMesh("mdr_weap_inf_rifle", "com_inv_mesh")
NameMesh("weap_acpr", "com_inv_mesh")
NameMesh("mds_weap_weapon3", "com_inv_mesh")
NameMesh("m9", "com_inv_mesh")
NameMesh("com_weap_inf_binoculars", "com_inv_mesh")
NameMesh("rock", "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("gar_weap_inf_pistol")
{
Position(-0.258881, 0.364262, 0.013887, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.720000, 0.720000, 0.720000)
}

MeshInfo("rep_weap_inf_dc15carbine")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

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

MeshInfo("gar_weap_inf_fusioncutter")
{
Position(-0.240446, 0.358461, 0.001095, "Viewport")
Rotation(355.836060, 135.827820, 69.479843)
}
MeshInfo("rock")
{
Position(-0.204363, 0.367216, 0.000847, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

MeshInfo("protosniper")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("mdr_weap_inf_rifle")
{
Position(-0.242269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("weap_acpr")
{
Position(-0.242269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("mds_weap_weapon3")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("m9")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("com_weap_inf_binoculars")
{
Position(-0.256269, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}



}
}
}

// Second Weapons Section

TransformNameMesh("player1weapon2")
// add names of second weapons here
{
NameMesh("gar_weap_inf_thermaldetonator", "com_inv_mesh")
NameMesh("rep_weap_inf_fusioncutter", "com_inv_mesh")
NameMesh("m9", "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("mdr_weap_inf_thermaldetonator")
{
Position(-0.274201, 0.254023, 0.006280, "Viewport")
Rotation(0.056783, 359.996582, 359.999695)
Scale(1.653860, 1.653860, 1.653860)
}
MeshInfo("gar_weap_inf_thermaldetonator")
{
Position(-0.274201, 0.284023, 15.000000, "Viewport")
Rotation(0.000000, 0.000000, 359.999695)
Scale(1.750000, 1.750000, 1.750000)
}
MeshInfo("rep_weap_inf_fusioncutter")
{
Position(-0.274201, 0.284023, 15.000000, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}
MeshInfo("m9")
{
Position(-0.274201, 0.284023, 15.000000, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
}

}
}
}
lua
Hidden/Spoiler:
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:sound\\baa.lvl;baacw")
ReadDataFile("SIDE\\rep.lvl",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")


ReadDataFile("dc:SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower",
"baa_bldg_cam")
ReadDataFile("dc:SIDE\\cit.lvl",
"baa_cit1",
"baa_cit2")
ReadDataFile("dc:SIDE\\mdr.lvl",
"mdr_inf_rifleman",
"mdr_inf_rocketeer",
"mdr_inf_engineer",
"mdr_inf_sniper",
"mdr_inf_officer",
"mdr_inf_jettrooper",
"mdr_inf_rrifleman",
"mdr_inf_rrocketeer",
"mdr_inf_rengineer",
"mdr_inf_rsniper",
"mdr_inf_rofficer",
"mdr_inf_rjettrooper")
For some reason that works. When I commented out the readdatafile rep.lvl etc it didn't work.
Post Reply