Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, AndrewAMD), 833 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
how do you create a third person view ? #414417
01/01/13 20:09
01/01/13 20:09
Joined: Nov 2012
Posts: 49
A
amirmehrvarz Offline OP
Newbie
amirmehrvarz  Offline OP
Newbie
A

Joined: Nov 2012
Posts: 49
hello i want to create a third person camera but i cant build it
please give me to source code so that i will be allowed to W.A.S.D and to be able to lock around with the mouse
(3dgs v8 & lite-c)
thank you

Re: how do you create a third person view ? [Re: amirmehrvarz] #414439
01/02/13 08:04
01/02/13 08:04
Joined: Nov 2012
Posts: 49
A
amirmehrvarz Offline OP
Newbie
amirmehrvarz  Offline OP
Newbie
A

Joined: Nov 2012
Posts: 49
please help me i need this source code or doc for this very soon

Re: how do you create a third person view ? [Re: amirmehrvarz] #414450
01/02/13 10:50
01/02/13 10:50
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You're not only lazy, you're even impatient.

You can either do it yourself. In this case you will get any help you need from this community if you experience difficulties.

The other possibility is letting somebody do it for you and pay him or her.


Always learn from history, to be sure you make the same mistakes again...
Re: how do you create a third person view ? [Re: Uhrwerk] #414451
01/02/13 11:46
01/02/13 11:46
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
take a look at the manual: script libraries -> camera.c there you have different cameras ready to use


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: how do you create a third person view ? [Re: painkiller] #414455
01/02/13 15:11
01/02/13 15:11
Joined: Jul 2001
Posts: 4,801
netherlands
Realspawn Offline

Expert
Realspawn  Offline

Expert

Joined: Jul 2001
Posts: 4,801
netherlands
at my place in the basic workshops you find all camera codes.


Find all my tutorials & Workshops at : www.rp-interactive.nl

Creativity starts in the brain
Re: how do you create a third person view ? [Re: Realspawn] #414457
01/02/13 15:43
01/02/13 15:43
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
Simple and fast way without math grin
Place a bone in your playermodel at the pos where the camera should be.
use this code
Code:
void cam2bone(STRING* bonename){
  while(my){
     vec_for_bone(camera.x,   me, bonename);
     ang_for_bone(camera.pan, me, bonename);
     wait(1);
   }
}
..
action myPlayer(){
 cam2bone("Name of the in med placed bone");
 ..
}


Same works with a vertex of course


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: how do you create a third person view ? [Re: rayp] #414615
01/05/13 20:02
01/05/13 20:02
Joined: Nov 2012
Posts: 49
A
amirmehrvarz Offline OP
Newbie
amirmehrvarz  Offline OP
Newbie
A

Joined: Nov 2012
Posts: 49
no no no i want to create a third person camera for example camera in evil 5 or
mafia 2 ,...
i can to build it but only (pan) . i can not build tilt
please help me

Re: how do you create a third person view ? [Re: amirmehrvarz] #414617
01/05/13 20:18
01/05/13 20:18
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Please post your code and we will have a look at it.


Always learn from history, to be sure you make the same mistakes again...
Re: how do you create a third person view ? [Re: Uhrwerk] #414646
01/06/13 06:33
01/06/13 06:33
Joined: Mar 2009
Posts: 146
USA
P
paracharlie Offline
Member
paracharlie  Offline
Member
P

Joined: Mar 2009
Posts: 146
USA


A8 Commercial
Re: how do you create a third person view ? [Re: paracharlie] #414647
01/06/13 06:35
01/06/13 06:35
Joined: Mar 2009
Posts: 146
USA
P
paracharlie Offline
Member
paracharlie  Offline
Member
P

Joined: Mar 2009
Posts: 146
USA
Never say you weren't helped by an American


A8 Commercial
Page 1 of 2 1 2

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