News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Mapping

Thread Tools Display Modes
Old 29th Mar 2001, 12:24 PM   #1
Bringer of War
Join Date: Oct. 18th, 2000
Location: USA
Posts: 32

Anybody know if it is possible to get into the code and change where the third person view camera is in Unreal? For Example, switching to around the side of the player, or angling it up somewhat? Any ideas would be appreciated.
- maniac -
RI_maniac is offline   Reply With Quote
Old 30th Mar 2001, 04:50 AM   #2
It's all good baby.
aspie's Avatar
Join Date: Feb. 24th, 2001
Location: Australia
Posts: 315
maybe you could attach an interpolation point to the player?
aspie is offline   Reply With Quote
Old 30th Mar 2001, 05:13 AM   #3
Quantum Singularity
BitBasher's Avatar
Join Date: Mar. 24th, 2001
Location: The Void
Posts: 171
I know where you can look. First of all, I am NOT a UnrealScript kinda-guy --- I just play one in my dreams!

Anyways, if you look into the script PlayerPawn.uc, find the function, "CalcBehindView". This function is called from pretty much everywhere a behindview is needed. The function takes as arguments, your current camera "which is probably your eyes", your rotation (probably your orientation in space), and a distance to "pull back".

It might be possible to modify this function to add addition behindview functionality, but that is beyond the scope of my brain.

If you haven't exported all the script source files, you can find this script in the editor -- goto the Actor Class Browser and drill down the tree to Actor.Pawn.PlayerPawn, and then double-click it to bring up the script's source code. From there you can search for the CalcBehindView function. In my copy of UED2, when you search for something in the script source viewer, it doesn't bother to SCROLL to what it found, it just highlights your search results SOMEWHERE deep in the code - you have to manually scroll down to find it, or export the script to a REAL editor!

Hope this helps a bit,
BitBasher is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 08:25 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.

Copyright ©1998 - 2015, BeyondUnreal
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer