Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AemStones, AndrewAMD, gamers, Kingware), 1,679 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
On-Ride Camera #262425
04/23/09 16:51
04/23/09 16:51
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
Hello folks,

I'm looking for a On-Ride Camera, just like when you're sitting in your car, that is what I need!

I will convert it to C-Script later, but I post here since here are more people, and it's near the same, so why not! ^

Thanks in advance smile


A7 7.77
Re: On-Ride Camera [Re: Dreher] #262486
04/24/09 03:08
04/24/09 03:08
Joined: Jul 2008
Posts: 553
Singapore
delinkx Offline
User
delinkx  Offline
User

Joined: Jul 2008
Posts: 553
Singapore
u mean the camera just above ur head in ur car ?


A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook
Re: On-Ride Camera [Re: delinkx] #262487
04/24/09 03:54
04/24/09 03:54
Joined: Jan 2009
Posts: 33
Philippines, Quezon City
K
Kaizen_31 Offline
Newbie
Kaizen_31  Offline
Newbie
K

Joined: Jan 2009
Posts: 33
Philippines, Quezon City
On ride camera??
hmm..
maybe it's a 1st person type of camera??
just look at the manual there are many types of camera options that my fit to your gaming pleasure..

wink

Re: On-Ride Camera [Re: Kaizen_31] #262524
04/24/09 10:58
04/24/09 10:58
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
Ye, really 'On-Ride', as if you sit in a rollercoaster, so not above your head!

But I will take a look in the manual..

I have small code, but it doesn't work properly smirk

Code:
function cameraOnride ()
{
	
	while(gondel1)
	{
      vec_set(camera.x,gondel1.x);
      vec_for_vertex(camera.x, gondel1, 30431);
      vec_set(camera.pan, gondel1.pan);
      wait(1);
	}
}


Maybe I've forgotten something shocked

Last edited by Dreher; 04/25/09 23:46.

A7 7.77
Re: On-Ride Camera [Re: Dreher] #262827
04/26/09 12:03
04/26/09 12:03
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
Little update:

I've added the code that I'm using, but the camera is just hanging low down the gondel / car, so it's bad.

Playing with camera.x/y/z won't change anything too! o_O

Any advice is more than welcome! smile

Last edited by Dreher; 04/26/09 12:03.

A7 7.77
Re: On-Ride Camera [Re: Dreher] #262828
04/26/09 12:10
04/26/09 12:10
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
The camera is most probably now at the origin of your gondel.

You can try adding camera.z += 30;

function cameraOnride ()
{

while(gondel1)
{
vec_set(camera.x,gondel1.x);
vec_for_vertex(camera.x, gondel1, 30431);
vec_set(camera.pan, gondel1.pan);
camera.z += 30;
wait(1);
}
}

But, you could place it with vec_for_vertex, if you place a vertex to your gondel where you expect the camera position to be.

Re: On-Ride Camera [Re: Pappenheimer] #262831
04/26/09 12:51
04/26/09 12:51
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
After you gave me the code, I figured out that I should not play with any of these camera.x/y/z, as it will not stay at a certain place.

Best is to use a vertex indeed ^^

Thanks smile


A7 7.77
Re: On-Ride Camera [Re: Dreher] #262841
04/26/09 15:11
04/26/09 15:11
Joined: Aug 2006
Posts: 96
Netherlands
P
Polypfreak1987 Offline
Junior Member
Polypfreak1987  Offline
Junior Member
P

Joined: Aug 2006
Posts: 96
Netherlands
Thank you, you helped me out too laugh


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