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
C-script camera code #260815
04/13/09 21:34
04/13/09 21:34
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
Hi, sorry i've been asking alot lately but i need to know if anyone has a camera code lying around that i can use for A7. I have a third person camera but i need it so its not "attached" to the player. For example when the vehicle bounces left and right or does a barrel roll, don't want the camera to do the same. I just want it to stay x distance behind the player at all times and follow the (vertical rotation of the object) slightly.
THanks for your help

Re: C-script camera code [Re: xbox] #261143
04/16/09 00:20
04/16/09 00:20
Joined: Nov 2006
Posts: 497
Ohio
xbox Offline OP
Senior Member
xbox  Offline OP
Senior Member

Joined: Nov 2006
Posts: 497
Ohio
even tutorials on how to do this would be fine.

Re: C-script camera code [Re: xbox] #261147
04/16/09 00:35
04/16/09 00:35
Joined: Feb 2008
Posts: 69
Australia
M
MegaMarioDeluxe Offline
Junior Member
MegaMarioDeluxe  Offline
Junior Member
M

Joined: Feb 2008
Posts: 69
Australia
I have one for the A5 templates. It's called adjust_plyr_cam():

Code:
//Function to update camera views.
//Inspired my Mario Galaxy. Zooms out when you move around, but zooms in when you're idle.
//Intended for A5/A6, as it just mods a few values and such.
function adjust_plyr_cam()
{
 person_3rd = 0.5;//move_view_3rd_old() from camera.wdl
 camera_dist.x = 125;
 camera_dist.z = -50;
 head_angle.tilt = 345;
}


Edit as you please, credit me if used. smile


----
MegaMario
Regular 3D Game Studio User
http://www.krystalgaming.net
Re: C-script camera code [Re: MegaMarioDeluxe] #265712
05/13/09 19:24
05/13/09 19:24
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
ill add one to my website tonight if i remember...


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: C-script camera code [Re: DLively] #267275
05/22/09 21:53
05/22/09 21:53
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
If you haveny solved this,
I added a camera script to my free resources.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com

Moderated by  adoado, checkbutton, mk_1, Perro 

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