Page 1 of 1

Player actor falls flat on his face

Posted: Tue Nov 08, 2005 6:08 pm
by Creature
I create a room out of a hollow cube. I place PlayerStart PlayerSetup and EnvironmentSetup objects within the cube (as well as the camera). I compile and test the level. The player falls flat on his face and stays there. When I try to move him, he walks up and down the floor staying within the floor, as if he's crawling. When I press the Spacebar to make him jump, however, he does move upward (while still staying in the horizontal position paralel to the floor). I tried to play around w/ PlayerStart: Angle properties, and the furtherst I've gotten is getting him to fall on his back, instead of his face. I've also payed w/ PlayerSetup: actor rotation options, and the gravity option and didn't get anywhere either.

What do I do?

Posted: Tue Nov 08, 2005 6:35 pm
by AndyCR
copy the rotation values from those in the demo level that comes with rf. note that with these, due to a bug, you will have to in first person hit F1 or the view will flicker. this will not occue when you make your own player model if the player model is correctly angled right from the modeling program (virgil's angles are mixed up, i believge due to 3ds max using different angles than rf)

Posted: Tue Nov 08, 2005 6:45 pm
by Creature
When I load the rftechv1.3dt level, the Entity Attributes show "unknown entity" instead of the normal atributes..

Also, the rotation atributes you advise to copy, are they in PlayerSetup object?

Posted: Tue Nov 08, 2005 6:55 pm
by QuestOfDreams
Go to Project->Level Options and in the field "Headers Directories" browse to where the file GameEntityDataTypes.h is located (this file contains the entity definitions)
Usually it can be found in C:\RealityFactory\source

Posted: Tue Nov 08, 2005 8:05 pm
by Creature
Thanks, guys! :) I finally made it work. The player is standing up straight and is reacting properly to the directional buttons.

1 problem, though: the F3 to set the camera to Diablo style doesn't seem to be working.

Posted: Tue Nov 08, 2005 8:45 pm
by QuestOfDreams
1 problem, though: the F3 to set the camera to Diablo style doesn't seem to be working.
open the camera.ini file and under [General] change
switchtoisopersonallowed = false
to
switchtoisopersonallowed = true

for more info consult the docs ;-)

Posted: Sat Jul 28, 2007 3:35 am
by incenseman2003
I have the ActorRotation set as -90 180 0 in the playersetup.ini.
My player is still on his face. I have corrected the player angle in this manner before and it worked fine, but not this time. Is there something else that I have to do?

That's really odd. It just started working all by its self.

I'm a little eeeked now. LOL