HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with a First Person Camera using the Arrow Keys!

07-01-2004, 06:59 PM#1
Scyze
NOTE: Normally I'd try to limit my help posts to one per page, but this is really annoying.

Ok, heres the deal: I want a trigger where when you use a dummy ability called Look, it sends you into a first person view. And then it gives you an ability called Normal which sends you back to the locked 3rd person view.

I already have everything down with the dummy abilities and so, but I can't seem to get first person view right! It always jumps, or doesn't move at all, and is NEVER smooth. This is the trigger I have for each direction (up down left and right):

Code:
Up On
    Events
        Player - Player 1 (Red) Presses the Up Arrow key
    Conditions
    Actions
        Set LookUp = True

Up Off
    Events
        Player - Player 1 (Red) Releases the Up Arrow key
    Conditions
    Actions
        Set LookUp = False

Up
    Events
        Time - Every 1.00 seconds of game time
    Conditions
        LookUp Equal to True
        LookDown Equal to False
    Actions
        Camera - Set Player 1 (Red)'s camera Angle of attack to ((Angle of attack of the current camera view) + 0.10) over 0.20 seconds

Why isn't it working right?
07-01-2004, 10:32 PM#2
Deathperception
Why not just go into the repository theres a completed camera system already posted there. You may be able to pick it apart and learn from it.
07-02-2004, 11:34 AM#3
johnfn
This is probably because of slow detection of the key being pressed, but I dont know. How exactly does it 'jump', is it a quick small skipping or does it jump all the way up?
07-07-2004, 04:57 PM#4
Scyze
It's a big jump, like halfway from looking down to looking up.