Author Topic: Is it possible to edit the "top-down player" camera to move forward a bit?  (Read 916 times)

ik I just made a "could someone edit this" topic not too long ago but I want another one

What I basically want is instead of this:

You see this:


It always bugged me that if you used the top-down playertype you didn't even really look at the bottom half of your screen much at all and instead you were just straining to see more of the top half.
And it wouldn't hurt to "zoom" it out a tad without changing fov

Code: [Select]
datablock PlayerData(PlayerTopDownArmor : PlayerStandardArmor)
{
minJetEnergy = 0;
jetEnergyDrain = 0;
canJet = 0;
cameramaxdist = 20;
cameramindist = 0;
maxlookangle = 0;
cameratilt = 1.5;
maxlookangle = 0;
minlookangle = 0;
cameraMaxFov = 90;
thirdpersononly = 1;

uiName = "Top Down Player";
showEnergyBar = false;
};

I could probably do this myself but I'm a bit tired and sick atm and don't feel like thinking and taking time to experiment, and I'm not even sure if you could do this with the parameters provided or not or whatever

thanks

Setting the camera tilt to 1.1 fixes the problem you're getting at, although it kinda negates the whole "top-down" part of it

Isn't there some sort of way to use "object coordinates"?

That way you could just offset the camera a bit ahead of the player based on his own coordinates.

add these properties to the player type and adjust them to your needs
Code: [Select]
cameraHorizontalOffset = x;
cameraVerticalOffset = x;

add these properties to the player type and adjust them to your needs
Code: [Select]
cameraHorizontalOffset = x;
cameraVerticalOffset = x;
how do you find all of these properties anyway?

how do you find all of these properties anyway?

PlayerStandardArmor.dump();

add these properties to the player type and adjust them to your needs
Code: [Select]
cameraHorizontalOffset = x;
cameraVerticalOffset = x;
The vertical offset one actually "zooms" out, so I guess that one's on the z axis
and the horizontal one just goes left or right

so I still need something that offsets the camera forward

The vertical offset one actually "zooms" out, so I guess that one's on the z axis
and the horizontal one just goes left or right

so I still need something that offsets the camera forward
unfortunately i don't think something like that exists


which is why the side-view playertype was so difficult to create for so long


it's the same issue back then right now

dang
well I'll just settle with more zoom out for the time being but I'll keep this open in case someone finds a way