Game Development Community

Different 3rd person camera views in TGE Demo?

by Zorndyke · in General Discussion · 10/13/2008 (1:00 pm) · 2 replies

Hi!

I'm currently evaluating TGE/TGEA (still not sure which one is the best for me). I just finished the T4T Intro tutorial and would like to try at least one 3rd person view that isn't mounted behind my character.

I searched a bit, but all camera modes except the default 1st/3rd person seem to require engine/source code modifications, like in "Advanced Camera" by Thomas "Man of Ice" Lund (http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471)

Is there really no way to test other camera modes neither in TGE nor in TGEA Demo?

About the author

Recent Threads


#1
10/13/2008 (2:18 pm)
Yeah, you'll need to make source changes to modify stock camera behavior. Some alternative camera mods are also found here:
Using a Separate Camera Object
Multiple 3rd Person Cameras

But you can modify (sort of) the offset of the camera while in 3rd person mode. Look in player.cs and inside the PlayerData datablock you will find a field named cameraMaxDist. You can modify it to increase the distance of the camera from the player.
#2
10/13/2008 (4:06 pm)
Thank you, SilentMike!

Hm... there's also FreeLook available... I wonder if it's possible to modify the view without code change like:
- change cameraMaxDist upon player input
- turn around (and not only turn around the camera) in FreeLook mode (it's possible to strafe/run in FreeLook mode anyhow^^)
- toggle FreeLook mode not by holding the bound key, but by pressing and releasing it (like other toggle functions)