Issue with Fragme's floating fix

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
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Issue with Fragme's floating fix

Post by CdtFox »

Hello there,

Since a couple of years, i've tried to fix floating icons with Fragme's fix and tutorial. I'm on win7 and for some reasons the mungeside.bat coming with the pack always corrupted the whole visualmunge
(with or without Marvel's improved & fixed munge files).

Anyways, today i edited the stock mungeside.bat with the following code:

Code: Select all

configmunge -inputfile $*.hud %MUNGE_ARGS% -sourcedir %SOURCE_DIR% -outputdir %MUNGE_DIR% 2>>%MUNGE_LOG%
move /y configmunge.log configmunge_hud.log
Now it munges perfectly but i don't have my icon at all.

I have setup my odf with the correct HUDtag stuff.

I was wondering if i made the right choice when editing the mungeside.bat

Here is my hud file:
Hidden/Spoiler:
[code]
ViewPort("Transforms")
{
EventNameFilter("player%")

// Second Weapons Section

TransformNameMesh("player1weapon2")
// add names of second weapons here
{
NameMesh("hud_new_defense_buff", "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("hud_new_defense_buff")
{
Position(-0.259348, 0.250207, 0.013074, "Viewport")
Scale(0.500001, 0.500001, 0.500001)
}
}
}
}[/code]
Thanks for readig guys, :D
User avatar
Dasher
Private Third Class
Posts: 49
Joined: Fri Aug 04, 2017 1:46 pm
Projects :: Loronar Jade Moon
xbox live or psn: No gamertag set

Re: Issue with Fragme's floating fix

Post by Dasher »

Been having issues with munging animations until I edited all .bat files responsible for animation munge adding the "@set path=C:/windows/system32" line. Prior to that I had no output files at all, but now everything's working just fine, maybe it wont change anything, but it's worth a try, I'm on Win7 as well.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Issue with Fragme's floating fix

Post by Anakin »

did you try this: http://www.gametoast.com/viewtopic.php?f=64&t=30415

Dasher, your problem is caused by () character in your path variable. It's the same fix above, or you move the C:/windows/system32 to the front of you system environment variable PATH
User avatar
Dasher
Private Third Class
Posts: 49
Joined: Fri Aug 04, 2017 1:46 pm
Projects :: Loronar Jade Moon
xbox live or psn: No gamertag set

Re: Issue with Fragme's floating fix

Post by Dasher »

Hmm the first option sounds easier to me :D cheers :thumbs:
Post Reply