Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
3rd Person Shooter #276600
07/05/09 18:49
07/05/09 18:49
Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Roxas Offline OP
Member
Roxas  Offline OP
Member

Joined: Apr 2008
Posts: 144
Germany | Niedersachsen (Lower...
Heya

I've got a Problem again.
At the moment I try several things to find something for me what I can handle. So i came up with the idea "hey an egoshooter shouldn't be too hard for the beginning." and then i thought "egoshooters are boring so why not try to code a 3rd person shooter." The next thing i did was typing in "google.com" in firefox and searched for a 3rd person shooter that could make a fine example.

Final Fantasy VII Dirge of Cerberus

[video:youtube]http://www.youtube.com/watch?v=t3xU_p8PY68[/video]

now my problem. I want to make something like that but i've got serious problems with the camera. I thought that would be easy but it's not.

I want something like this:

1. The player is NOT in "gun-mode"

--> when the character's not moving
----> the camera should circle around the charakter and look at him all the time. camera moved by mouse_force (pan and tilt -> tilt should be clamped in a certain range)

--> when the character's moving:
----> the camera follows the character. when i move the mouse the cam should work like an egoshooter, but the character should face the direction the cameras facing and the camera should look at the character.

2. The player is IN "gun-mode"
if i click and hold the right mouse button the character should switch into gun-mode. that means the character rises his arm and aims at the cross hair which appears on the screen. the camera should be moved a little to the right and up and facing the direction the cross hairs facing so that the camera looks over the right shoulder of the character. if i move the mouse I should be able to aim like in an egoshooter, the character should turn with the cross hair. he's always facing the cameras direction in this mode. a little bit of dead space/resident evil 4/5 style.

well watch the youtube video i posted above, that should point out what I tried to do. unsuccessfully -.-

hope you can help me with that problem!

greetings - Roxas

Re: 3rd Person Shooter [Re: Roxas] #276847
07/06/09 19:04
07/06/09 19:04
Joined: Sep 2007
Posts: 173
USA, Florida
3dworld Offline
Member
3dworld  Offline
Member

Joined: Sep 2007
Posts: 173
USA, Florida
I've try my self a bunch of the codes that you can find in AUM and other tutorials, even I try the codes find some of the demos around to see if one of this codes will be good for me. I mix the codes and follow tutorials without any result. Every time I try and I think I have the answer I get the big gap when the player get's close to the wall in certain point you can see trough the wall. So please if you find a good tutorial let me know. Thank you.


No matter what people tell you,  words and ideas can change the world.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1