BF Log Error

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
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

BF Log Error

Post by JimmyAngler »

Could anyone explain this error and how to remove it?

Code: Select all

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\HUDElement.cpp(367)
HUD Element Scale requires 3 arguments
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: BF Log Error

Post by Nedarb7 »

Hmmm... Try looking for a scale hud element in your hud file that only has two or less arguments (values I'd assume; x, y, z). It could be that you are missing either the x, y, or z axis value.
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: BF Log Error

Post by Anakin »

please post your hud file
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: BF Log Error

Post by JimmyAngler »

Finny thing is, I haven't set up any hud items yet. :P
Hidden/Spoiler:
FileInfo("HaloHUD")
{
Viewports(1)
}

Group("player1reticule")
{
EventPosition("player1.weapon1.reticule.position")
Position(0.500000, 0.315481, 0.000000, "Viewport")
Alpha(0.650000)
EventEnable("player1.weapon1.reticule.position")
EventDisable("player1.weapon1.reticule.disable")

Model3D("player1reticule_shape")
{
Mesh("reticule")
Scale(0.260000, 0.260000, 0.260000)
Alpha(0.520000)
ColorChangeRate(0.001000)
EventEnable("initialize")
EventColor("player1.weapon1.target.teamColor")
}
Model3D("player1reticule_outline")
{
Mesh("reticule")
Scale(0.260000, 0.260000, 0.260000)
Alpha(0.500000)
Color(0, 0, 0)
EventEnable("initialize")
}

}
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: BF Log Error

Post by Anakin »

Ok this looks all fine. Try to remove the custom ingame file and look if the problem is still there.
And remember to copy the ingame file manuel.
JimmyAngler
High General
High General
Posts: 837
Joined: Mon Nov 04, 2013 10:37 am
Projects :: Battlefront Halation
Games I'm Playing :: SWBF 1-2-2015
xbox live or psn: none
Location: Area 51

Re: BF Log Error

Post by JimmyAngler »

Custom ingame? I have many... :P The ingamebmpkill one you had in your tutorial?
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: BF Log Error

Post by Anakin »

So start with removing them all and add one after the other. Than find the file that causes the problems
Post Reply