Change 1st person model?

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:

Change 1st person model?

Post by CdtFox »

When I want to change the first person model by a dual pistol 1st ferson model the game crash, here is my odf:

Code: Select all

[GameObjectClass]
ClassParent         = "rep_inf_default_officer"


[Properties]

GeometryName        = "rep_41e_TCW_ARF_Recon_Trooper"
GeometryLowRes      = "rep_41e_TCW_ARF_Recon_Trooper"
FirstPerson         = "REP/rep_1st_weap_inf_pistol_dc17_twohanded"
Model and textures are in rep/msh

I've tried to change the req file, but there is no modifications:

Code: Select all

ucft
{
    REQN
    {
        "class"
        "rep_inf_for_officer"
    }
	REQN
    {
	"texture"
	"imp_1st_inf_stormtrooper_arms"
	}
	REQN
    {
	"texture"
	"imp_1st_inf_stormtrooper_hands"
    }
    REQN
    {
	"model"
	"rep_1st_weap_inf_pistol_dc17_twohanded"
    }
}
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: Change 1st person model?

Post by thelegend »

You do not need to include the textures inside your req file. They are already read by your .msh files.
Secondly:
FirstPerson = "REP/rep_1st_weap_inf_pistol_dc17_twohanded"
Change this to:
FirstPerson = "REP/NameOfYourSide'sReqFile/rep_1st_weap_inf_pistol_dc17_twohanded"

So if your req's name is rep.req change "NameOfYourSide'sReqFile" to "rep".
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:

Re: Change 1st person model?

Post by CdtFox »

Hum, I miss something...I'm pretty sure it's very easy, but I failed... :oops:

Code: Select all

GeometryName        = "rep_41e_TCW_ARF_Recon_Trooper"
GeometryLowRes      = "rep_41e_TCW_ARF_Recon_Trooper"
FirstPerson         = "REP/rep/rep_1st_weap_inf_pistol_dc17_twohanded"
This part is good? I think so.

My .req looks like that:

Code: Select all

ucft
{    
	REQN
	{
		"model"
		"rep_1st_weap_inf_pistol_dc17_twohanded"
	}
}
and I've added "rep_1st_weap_inf_pistol_dc17_twohanded.req" to"rep.req"
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: Change 1st person model?

Post by thelegend »

A fp model doesn't need a custom .req file...I have been confused too about this but this last post by AceMastermind explained it a lot: http://www.gametoast.com/viewtopic.php?f=27&t=12319
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: Change 1st person model?

Post by Anakin »

do you still have my RCM files?? there are references.
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:

Re: Change 1st person model?

Post by CdtFox »

Thanks the_legend, The game didn't crash this time!

But....Here is the result:

Image
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: Change 1st person model?

Post by thelegend »

Yeah...when exporting an FP model (which has enveloped bones such as hands) have "Export Animation" selected when exporting. I had the same problem too as well when I read about it.
Post Reply