|
|
|
 |
Cry-Criminal  |
Crytek Staff Member | Member since: 03.08.2007, 05:16 | Posts: 607 | Location: Frankfurt, Germany |
Likes: 0 |
| |
|
Post Topic: How To Enable Third Person View Posted 22.08.2011, 13:51 |
Hey guys! I have gotten a few PM's and questions about where Third Person mode has gone. I wanted to let you know how to enable it in case the game you are creating needs something other than First Person. To enable Third Person: 1. Explore to (or export from the gamedata.pak) the Libs folder. 2. Within the Libs folder is the Config directory which contain the file that we need to modify called "defaultProfile.xml" 3. Open the file in a text editor. Locate the "debug" block for the action map (should be right near the top) Code: <actionmap name="debug" version="22"> <!-- debug keys - move to debug when we can switch devmode--> <action name="flymode" onPress="1" noModifiers="1" keyboard="f3" /> <action name="godmode" onPress="1" noModifiers="1" keyboard="f4" /> <action name="toggleaidebugdraw" onPress="1" noModifiers="1" keyboard="f11" /> <action name="togglepdrawhelpers" onPress="1" noModifiers="1" keyboard="f10" /> <action name="ulammo" onPress="1" noModifiers="1" keyboard="np_2" /> <action name="debug" onPress="1" keyboard="7" /> <!-- debug keys - end --> </actionmap> 4. Add the string "thirdperson" to an action at the end of the block Code: <action name="thirdperson" onPress="1" keyboard="f1" /> so you will end up with a block that looks like the following: Code: <actionmap name="debug" version="22"> <!-- debug keys - move to debug when we can switch devmode--> <action name="flymode" onPress="1" noModifiers="1" keyboard="f3" /> <action name="godmode" onPress="1" noModifiers="1" keyboard="f4" /> <action name="toggleaidebugdraw" onPress="1" noModifiers="1" keyboard="f11" /> <action name="togglepdrawhelpers" onPress="1" noModifiers="1" keyboard="f10" /> <action name="ulammo" onPress="1" noModifiers="1" keyboard="np_2" /> <action name="debug" onPress="1" keyboard="7" /> <action name="thirdperson" onPress="1" keyboard="f1" /> <!-- debug keys - end --> </actionmap> Restart the editor and press F1 for thirdperson Enjoy! -Sean
|
|
|
|
|
|
|
|
 |
the_grim  |
Superstar Dolphin | Member since: 16.08.2004, 10:46 | Posts: 9512 | Location: Finland |
Likes: 39 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 22.08.2011, 14:35 |
Thanks for the info! For the record, third person mode can also be enabled using a console variable.
|
|
|
|
|
|
|
 |
Cry-Criminal  |
Crytek Staff Member | Member since: 03.08.2007, 05:16 | Posts: 607 | Location: Frankfurt, Germany |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 22.08.2011, 15:44 |
Quote by the_grim: Thanks for the info! For the record, third person mode can also be enabled using a console variable.  You just HAD to one up me didn't you  This is true of course, i just guess I like having it in the action map since I'm used to it being there.
|
|
|
|
|
|
|
b3h47pte  |
Beginner | Member since: 11.11.2008, 06:01 | Posts: 3 |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 23.08.2011, 22:46 |
Quote by the_grim: Thanks for the info! For the record, third person mode can also be enabled using a console variable.  Which console variable? :3 I tried doing it using the defaultProfile.xml way however it hasn't worked for me. Any help? Thanks. Edit: Nevermind, figured out the console variable. However, I don't understand why extracting GameData.pak and then modifying the defaultProfile.xml didn't work.  Do i need to repackage my GameData folder?
|
|
|
|
|
|
|
 |
modsuki  |
24/7 Modder | Member since: 02.02.2007, 07:25 | Posts: 4456 | Status: Online |
Likes: 13 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 24.08.2011, 13:49 |
Thanks Criminal.
Last edited by modsuki on 24.08.2011, 23:14, edited 1 time in total.
|
|
|
|
|
|
|
 |
helpsl  |
Trainee | Member since: 27.07.2009, 15:53 | Posts: 149 | Location: Space |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 24.08.2011, 15:09 |
add this line to system.cfg g_tpview_force_goc=1 this will stop the camera going through objects
|
|
|
|
|
|
|
 |
VG_Director  |
Beginner | Member since: 18.08.2011, 14:15 | Posts: 18 |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 24.08.2011, 19:04 |
Nice! But how do you change the positioning of the camera?
|
|
|
|
|
|
|
 |
the_grim  |
Superstar Dolphin | Member since: 16.08.2004, 10:46 | Posts: 9512 | Location: Finland |
Likes: 39 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 24.08.2011, 20:16 |
You can adjust the position using the "tpv" console commands.
|
|
|
|
|
|
|
 |
modsuki  |
24/7 Modder | Member since: 02.02.2007, 07:25 | Posts: 4456 | Status: Online |
Likes: 13 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 24.08.2011, 22:45 |
Only tpv dist & tpv yaw in Cvar. Poor for adjustment. Original GOC had xyz value. And "pitch" is more important than yaw.  And g_tpview_control & g_tpvie_enable don't work in system.cfg. EDIT: Oh, missed
|
|
|
|
|
|
|
wootwoots  |
Uber Modder | Member since: 18.01.2010, 23:11 | Posts: 1730 |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 26.08.2011, 05:09 |
thoses Goc cvar only work for the CE3 SDK i suppose ? :/
|
|
|
|
|
|
|
Azza  |
Beginner | Member since: 04.08.2007, 14:07 | Posts: 9 | Location: australia,brisbane |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 04.09.2011, 14:03 |
Where is the library located in CE3? I did a quick search and can't find it.
|
|
|
|
|
|
|
FrostDM  |
Beginner | Member since: 25.11.2009, 19:13 | Posts: 23 | Location: Serbia |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 06.09.2011, 14:58 |
That is all nice and dandy but how to create proper 3rd person view? I mean enter game bee in 3rd person, aim-switch to 1st person, prone, animated cover system all that jazz? Anyone made something like that so far?
|
|
|
|
|
|
|
 |
jojimbo  |
Beginner | Member since: 05.09.2011, 20:44 | Posts: 12 |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 08.09.2011, 20:49 |
worked a treat thanks for that, only thing is the 3rd person guy doesnt rflect the 1st person arms, is there a way to have the 3rd person guy the 1st person guy so i can see my legs?
sorry about the awful explanation
"So shall it be at the end of the world: the angels shall come forth, and sever the wicked from among the just, And shall cast them into the furnace of fire: there shall be weeping and gnashing of teeth." (Matthew 13:49-50)
|
|
|
|
|
|
|
 |
YamahaAlex37  |
Trainee | Member since: 24.08.2004, 01:34 | Posts: 123 |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 09.09.2011, 10:30 |
Why does this very simple script give me an actionmap default user does not exist error?
|
|
|
|
|
|
|
McTune  |
Beginner | Member since: 07.09.2011, 01:19 | Posts: 3 |
Likes: 0 |
| |
|
Post Topic: Re: How To Enable Third Person View Posted 11.09.2011, 08:10 |
Hello I have moderate experience scripting but I am new to cryengine. I can't open the Gamedata.Pak file. I can't find any DefaultProfile.xml I found gamedata but I can't open or export a Pak file. What should I use or where do you think I am failing to look? any ideas thanks
|
|
|
|
|