HUD changes

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
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)

HUD changes

Post by Anakin »

Hi
i want to make a new HUD for all maps. so before this i have to understand how to make it for one map.

i've created a test map.
i've read the all you need thread and also the HUD reference post.

question:

is it only possible to make a HUD work in BFII after you have modeled a HUD with XSI??
I have a gif file. Is there a way to make this file shown in BFII as a HUD??

which files have i to edit??
i think it's the ingame.req and the HUD files. but what have i to write??
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: HUD changes

Post by DarthD.U.C.K. »

Anakin wrote: is it only possible to make a HUD work in BFII after you have modeled a HUD with XSI??
no, you can use whatever model you want
Anakin wrote: I have a gif file. Is there a way to make this file shown in BFII as a HUD??
no, battlefront only supports .tga files
Anakin wrote: which files have i to edit??
Hidden/Spoiler:
[quote="RepSharpshooter"]Munging the hud files.

Huds go in the ingame.lvl. Note that a complete ingame.req is found in BF2_ModTools\data\Common not your data_MOD folder. If you wish to create a mod map that only modifies the hud, do as follows.

Change your ingame.req in ..\data_MOD\ to this:

ucft
{
REQN
{
"model"
"any_new_msh_you_added_to_common_mshs"
"just_list_them_all_here"
}
REQN
{
"config"
"1playerhud"
}
}

Then in your lua change it as follows:

ReadDataFile("ingame.lvl")
ReadDataFile("dc:ingame.lvl") --add this part

After you munge it, make sure to copy the ingame.lvl

from: BF2_ModTools\data_MOD\_LVL_PC
to: Star Wars Battlefront II\GameData\Addon\MOD\data[/quote]
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: HUD changes

Post by Anakin »

so this is the HUD_reference file i have read it.

but i have no model. i only have a picture file i can save as tga but i think if i do this there won't be transparency or can this save it too??
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: HUD changes

Post by DarthD.U.C.K. »

yeah, tga supports transparency
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: HUD changes

Post by Anakin »

ok so i save the HUD as tga no problem but how comes it into the game??

and pls not the full hud reference file

only say open you explorer go to C:/BF modtools/what ever/ data_BSP/... open the file named ... add/write... save.

remember i have a new test map and the HUD as tga.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: HUD changes

Post by DarthD.U.C.K. »

i uploaded a simple 2d plane for use in the HUD here. the texturename should be hud_simpleplane.tga
i made it from the viewfinder, removed the buttons and made the whole thing use one texture you you can simply slap the hudtexture on it. you might have to rotate an scale it in the hud though.
one thing i forgot to say: your visor will either hide the weaponsymbols or be behind the weapon in first person (so the weapon will be between you and the visor, i dont know how you could correct that.
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: HUD changes

Post by Anakin »

ok i will see if this works.

many thanks.

==========EDIT=============

ok here comes a picture from the msh viewer:
Hidden/Spoiler:
Image
Hidden/Spoiler:
Image
how you can see there are some problems:
-completely transperiences are saved, but not the oone which are only a bit transperant.
- i mean if you compare with the original picture the glow effect isn't saved.
-the sides have texture problems.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: HUD changes

Post by DarthD.U.C.K. »

thats related to the skin, you have to make the half-transparent parts halftransparent yourself
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: HUD changes

Post by Anakin »

there are parts halftransperant
Post Reply