First person.

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
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

First person.

Post by Caleb1117 »

Ok, I take the all_1st_inf_combat_engineer_arms.tga, in my sides /msh/pc folder. and reskin the sleeves red.
I then call the first person:

Code: Select all

[GameObjectClass]
ClassParent     = "all_inf_default_rifleman"

[Properties]
GeometryName    = "all_inf_tantive4trooper"
GeometryLowRes  = "all_inf_tantive4trooper_low1"
FirstPerson         = "all\alleng;all_1st_engineer"
I have done the same/similar things to others.
In all cases of attempted custom first persons, Eather:
It uses the default, or it doesn't show up at all.

:?
'Elp!
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Re: First person.

Post by VF501 »

All 1st person views are pulled from GameData/Data/_lvl_pc/Side/fpm/***

In your case *** is all. Now, after you munge in the ModID/LVL_PC/FPM folder there should all the 1st person views munged. What you did will replace the default engineer. So if you want to keep the default and use the new one, just change the name of the msh and its odf call.

To add a new view, pull the 1st Person .lvl from the ModID/LVL_PC/FPM/*** folder and place it in the directory given earlier.

Example:

Code: Select all

//This line calls up the alleng.lvl from GameData/Data/_lvl_pc/Side/fpm/all
FirstPerson         = "all\alleng;all_1st_engineer"
So pull the new alleng.lvl from ModID/LVL_PC/FPM/all, and place it into GameData/Data/_lvl_pc/Side/fpm/all to make the change to the new 1st person view.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: First person.

Post by Caleb1117 »

Ok, so If I just want the change applyed to the one mod map, I would make a new folder in Gamedata/addon/IPF/data/_LVL_PC, Name it FPM and place my custom alleng.lvl and all other custom views in there?
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Re: First person.

Post by VF501 »

That I am not too sure of. Seening as the call line in the odf doesnt use dc:, I dont know if it will look for it there, ( you are certainly welcome to test it though). The easiest way is to just to use a different name for the msh and call it in the odf. Then put the .lvl into the fpm folder. Forgot to say this too. You also need to make the .reqs for a brand new 1st view. They go into ModID/side/***/req/fpm.

Example:

rep_1st_boss.req

Code: Select all

ucft
{    
	REQN
	{
		"model"
		"rep_1st_boss"
	}
}
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: First person.

Post by Caleb1117 »

Ok... heres what I did.
I changed the name of the first person .msh: all_1st_tatooinehansolo.msh
to: all_1st_tatooinehansol2.msh
I changed the .msh.option in the same manner.
I renamed the texture for han solo's arms, the new texture name just replaced the o at the end of solo with a 2 like the msh. I then Hexedited the msh to call the new textre, and saved.
Then in my sides' req/fpm folder I found: allhstat.req
and changed it to: allhstat2.req then I went in and changed
ucft
{
REQN
{
"model"
"all_1st_tatooinehansolo"
}
}
^that to this V
ucft
{
REQN
{
"model"
"all_1st_tatooinehansol2"
}
}
And then I changed the ODF call to:
FirstPerson = "all\allhstat2;all_1st_tatooinehansol2"
And munged.-----------------V side name
In my Data_***/_lvl_pc/FPM/orep there was the allhstat2.lvl.
Ingame, there is no first person.
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Re: First person.

Post by VF501 »

From my first reply.
All 1st person views are pulled from GameData/Data/_lvl_pc/Side/fpm/***
Example:

Code: Select all

//This line calls up the alleng.lvl from GameData/Data/_lvl_pc/Side/fpm/all
FirstPerson         = "all\alleng;all_1st_engineer"

So pull the new alleng.lvl from ModID/LVL_PC/FPM/all, and place it into GameData/Data/_lvl_pc/Side/fpm/all to make the change to the new 1st person view.
All 1st person views are pulled from GameData/Data/_lvl_pc/Side/fpm/***

In your case *** is all. Now, after you munge in the ModID/LVL_PC/FPM folder there should all the 1st person views munged. What you did will replace the default engineer. So if you want to keep the default and use the new one, just change the name of the msh and its odf call.

To add a new view, pull the 1st Person .lvl from the ModID/LVL_PC/FPM/*** folder and place it in the directory given earlier.
In your case alleng.lvl is replaced by allhstat2.lvl
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: First person.

Post by Caleb1117 »

Ok, ok.
*organizes train of thought*
*train wrecks*
:runaway:

Ok so your saying, that I would say... keep all my changes, but move my newly munged first person veiw [(alleng2.lvl) from Data_***/_lvl_pc/FPM] into my GameData/Data/_lvl_pc/Side/fpm/all

So that the game could (as it does by default) load the new FPM?

If I did this, I would have to use an auto installer, for my map to insure that the FPM files would go into GameData/Data/_lvl_pc/Side/fpm/all Instead of somewere in addon.

I was hoping for a easyier solution, but perhaps there is none.
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: First person.

Post by authraw »

Caleb1117 wrote:I was hoping for a easyier solution, but perhaps there is none.
Forcemode = 1

When it gets too hard, be lazy! :lol:
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: First person.

Post by Caleb1117 »

authraw wrote:
Caleb1117 wrote:I was hoping for a easyier solution, but perhaps there is none.
Forcemode = 1

When it gets too hard, be lazy! :lol:
Golf, I hope not. :|
I'm all for lazy, but...
Post Reply