Custom First Person Animations for certain units?

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
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Custom First Person Animations for certain units?

Post by thelegend »

Hey all,
I already know how to add custom FP arms and also got custom FP animations working. However following this tutorial works fine for all human soldiers. But how do I get custom FP animations working for Super Battle Droids or Droidekas? These are the only units which have no "human arms". When trying to use the same names (sbdroidfp for example) doesn't change anything in-game.
By the way which code or file tells the game which First Person Character has to read which FP animation?

Thanks.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Custom First Person Animations for certain units?

Post by AceMastermind »

It looks to me like the SBD and Droideka just have the FP animations loaded in their req files and the FP animations are just munged to the "munged" folder in the side. You shouldn't need to touch the ingame.lvl for these.

cis_inf_rifleman.req
Hidden/Spoiler:
[code]ucft
{
REQN
{
"class"
"cis_inf_rifleman"
}

REQN
{
"zafbin"
"sbdroidfp"
}
REQN
{
"zaabin"
"sbdroidfp"
}
REQN
{
"model"
"hud_cis_wristblaster"
}
REQN
{
"model"
"hud_cis_wristrocket"
}
REQN
{
"model"
"hud_cis_trishot"
}
}
[/code]

cis_inf_droideka.req
Hidden/Spoiler:
[code]ucft
{
REQN
{
"class"
"cis_inf_droideka"
}

REQN
{
"zafbin"
"droidekafp"
}
REQN
{
"zaabin"
"droidekafp"
}
REQN
{
"model"
"hud_droideka_shield"
}
REQN
{
"texture"
"hud_droideka_shield"
}

}
[/code]
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Custom First Person Animations for certain units?

Post by thelegend »

Thanks Ace. I didn't realize they were loaded there. It worked fine for the Droideka. But for the SBD there still was no change. Hm..I will take a closer look at this later.
Post Reply