Page 1 of 1

First person.

Posted: Thu Sep 27, 2007 12:46 pm
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!

Re: First person.

Posted: Thu Sep 27, 2007 3:05 pm
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.

Re: First person.

Posted: Thu Sep 27, 2007 3:49 pm
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?

Re: First person.

Posted: Thu Sep 27, 2007 4:37 pm
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"
	}
}

Re: First person.

Posted: Fri Sep 28, 2007 10:14 am
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.

Re: First person.

Posted: Fri Sep 28, 2007 1:23 pm
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

Re: First person.

Posted: Fri Sep 28, 2007 8:55 pm
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.

Re: First person.

Posted: Sat Sep 29, 2007 3:20 pm
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:

Re: First person.

Posted: Sat Sep 29, 2007 3:59 pm
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...