Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
GTA Style Camera #158724
10/05/07 01:30
10/05/07 01:30
Joined: Oct 2007
Posts: 42
Minnesota, USA
Techd Offline OP
Newbie
Techd  Offline OP
Newbie

Joined: Oct 2007
Posts: 42
Minnesota, USA
Does anyone have an idea of how to code a camera that follows the player in a car for a certain distance and if the car gets to far ahead it zooms in, also if the car turn's left the camera show's the left side of car and goes back to following the player from a distance? Like in GTA San andreas!..

I have the started with this as reference

CAMERA_dist.z = -100; //-up+down
CAMERA_dist.y = -20;//side to side
CAMERA_dist.x = 300;//in and out

Re: GTA Style Camera [Re: Techd] #158725
10/05/07 19:25
10/05/07 19:25
Joined: Oct 2007
Posts: 42
Minnesota, USA
Techd Offline OP
Newbie
Techd  Offline OP
Newbie

Joined: Oct 2007
Posts: 42
Minnesota, USA
Is this to complicated for anyone here to do? If not why no replies, at least saying If I could I would or something, some community...

Re: GTA Style Camera [Re: Techd] #158726
10/05/07 19:54
10/05/07 19:54
Joined: Apr 2007
Posts: 249
Louisana, USA
Ilidrake Offline
Member
Ilidrake  Offline
Member

Joined: Apr 2007
Posts: 249
Louisana, USA
Because sometimes it just takes a while before someone replies. Patiene grasshopper....


Just Because Your Paranoid Doesn't Mean They Aren't After You...Because They Really Are

http://spearbang.awardspace.com/news.php
Re: GTA Style Camera [Re: Ilidrake] #158727
10/05/07 20:09
10/05/07 20:09
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Happy Birthday Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
hmmm try to look at sin/cos (fsin/fcos)

and here a snippet you can use to make movement smooth:

Code:
camera.pan += ang(player.pan-camera.pan)*0.3*time_step;//change 0.3 for "smoothness"



Re: GTA Style Camera [Re: Scorpion] #158728
10/05/07 21:18
10/05/07 21:18
Joined: Oct 2007
Posts: 42
Minnesota, USA
Techd Offline OP
Newbie
Techd  Offline OP
Newbie

Joined: Oct 2007
Posts: 42
Minnesota, USA
Well.. Now some replies thank for replaying I feel like a human again


Life is what you make it just like Games!
Re: GTA Style Camera [Re: Techd] #158729
10/05/07 21:20
10/05/07 21:20
Joined: Oct 2007
Posts: 42
Minnesota, USA
Techd Offline OP
Newbie
Techd  Offline OP
Newbie

Joined: Oct 2007
Posts: 42
Minnesota, USA
..o yeah Thanks!


Life is what you make it just like Games!
Re: GTA Style Camera [Re: Techd] #158730
10/05/07 21:46
10/05/07 21:46
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Many people never get replies at all so dont be so pushy, just accept what everyone else does or go somewhere else actually.
You've posted the same in another thread and that is one hell of a way to get yourself ignored

What does it mean to be ignored? No one who has 'ignored' you will ever know of your posts, just the references others use to answer you.

If after a day of no reply(Better, 2 days) you may freely bump or repost for attention without attracting MOD interest otherwise, its your call.

Re: GTA Style Camera [Re: Nems] #158731
10/05/07 22:41
10/05/07 22:41
Joined: Oct 2007
Posts: 42
Minnesota, USA
Techd Offline OP
Newbie
Techd  Offline OP
Newbie

Joined: Oct 2007
Posts: 42
Minnesota, USA
Quote:

Many people never get replies at all so dont be so pushy, just accept what everyone else does or go somewhere else actually.
You've posted the same in another thread and that is one hell of a way to get yourself ignored





I understand and I apologize if I was a little pushy and next time will have more patience cool..


Life is what you make it just like Games!
Re: GTA Style Camera [Re: Techd] #158732
10/06/07 01:22
10/06/07 01:22
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
I cant really speak for anyone else but I have to say this to you.
Your apology is gratefully received and appreciated

It may sound harsh but I was hoping to catch you before the silent critics get in for a bit of restorative justice like actually choosing to ignore, ranting back (good for flame wars)or directly insulting.
In other words, it could get a little uncomfortable with your present avatar and may affect many in a negative way.

Still, I did that too in my 'youth' and was Moderated for it, several times in fact but in the end I learnt a little patience (didnt really have any before as I wanted everything NOW.)

I hope thats quite clear as to the why's and wherefores and not as a MOD getting heavy, I'm just an oppinionated user who is long past being a MOD.

Re: GTA Style Camera [Re: Nems] #158733
10/06/07 04:38
10/06/07 04:38
Joined: Dec 2005
Posts: 478
India
M
msl_manni Offline
Senior Member
msl_manni  Offline
Senior Member
M

Joined: Dec 2005
Posts: 478
India
Nemisis - I think you are returning to your basic self again. There is no need of such a long ranting in public forums as you are Mod now and you could have used PM for warning the poor Chap. Leash your thoughts and take control over your temperament.


My Specialities Limited.
Page 1 of 2 1 2

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

Gamestudio download | 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