Gamestudio Links
Zorro Links
Newest Posts
nba2king Latest Roster Update Breakdown
by joenxxx. 10/14/25 06:06
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (Quad, AndrewAMD), 9,200 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: How to get an overhead camera #470
02/26/01 09:00
02/26/01 09:00

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Post your code or email it to me and I will see if I can find the erors and correct them.

Re: How to get an overhead camera #471
02/27/01 05:10
02/27/01 05:10

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Here's the code. I added your code right after OverHeadView.ROLL = 0;

/////////////////////////////Over Head View///////////////////////////
VIEW OverHeadView {
POS_X 0;
POS_y 0;
SIZE_X 1024;
SIZE_Y 768;
LAYER 1.1;
DIAMETER 0;
}
SKILL CenterMeOH { X 5; Y 0; Z 0; }

ACTION my_OverHeadView {
IF (OverHeadView.VISIBLE == ON){
SET OverHeadView.VISIBLE,OFF;
} ELSE {
SET OverHeadView.VISIBLE,ON;
}
WHILE (1) {
CenterMeOH.X = 10;
CenterMeOH.Y = 0;
CenterMeOH.Z = 0;
MOVE ME,CenterMeOH,nullskill;
WAIT 1;

OverHeadView.X = 0;
OverHeadView.Y = 0;
OverHeadView.Z = 1700;
OverHeadView.PAN = 0;
OverHeadView.TILT = -90;
OverHeadView.ROLL = 0;
IF (OverHeadView.VISIBLE == ON){
SET OverHeadView.VISIBLE,OFF;
Camera.VISIBLE = ON;
} ELSE {
SET OverHeadView.VISIBLE,ON;
Camera.VISIBLE = OFF;
}


}
}
ON_O my_OverHeadView;


Re: How to get an overhead camera #472
02/27/01 06:30
02/27/01 06:30

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



There's an easier way if you're interested:

In the movement.wdl file in the template folder find the function move_view_3rd and replace it with

function move_view_3rd()
{
CAMERA.DIAMETER = 0;
camera.x = player.x;
camera.y = player.y;
camera.z = player.z + 200; //height above player
camera.tilt = -90; //look down
camera.pan = player.pan; //direction of player
camera.roll = 0;
}

hope that helps!!!!!

Let us know if this works?!?!?!?!

[This message has been edited by Smiffy (edited 26 February 2001).]


Re: How to get an overhead camera #473
02/27/01 07:12
02/27/01 07:12

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Smiffy: Your code just switched to overhead view for a split second. Afterwords it went back for First person view.
And Keebo, I would really appreciate it if you could fix that code for me. I'm only getting about nine frames per second with it in overhead view...but in first person view, I get about 30 fps.

Re: How to get an overhead camera #474
02/27/01 08:22
02/27/01 08:22

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Kagato98, this should bring your framerate back to normal:

/////////////////////////OVERHEAD VIEW ///////
VIEW OverHeadView {
POS_X 0;
POS_y 0;
SIZE_X 1024;
SIZE_Y 768;
LAYER 1.1;
DIAMETER 0;

}

SKILL CenterMeOH { X 0; Y 0; Z 0; }

ACTION my_OverHeadView {
IF (OverHeadView.VISIBLE == ON){
SET OverHeadView.VISIBLE,OFF;
Camera.VISIBLE = ON;
} ELSE {
SET OverHeadView.VISIBLE,ON;
Camera.VISIBLE = OFF;
}

WHILE (1) {
CenterMeOH.X = 0;
CenterMeOH.Y = 0;
CenterMeOH.Z = 0;
MOVE ME,CenterMeOH,nullskill;
OverHeadView.X = 0;
OverHeadView.Y = 0;
OverHeadView.Z = 1700;
OverHeadView.PAN = 0;
OverHeadView.TILT = -90;
OverHeadView.ROLL = 0;
WAIT 1;

}
}
ON_O my_OverHeadView;


Re: How to get an overhead camera #475
03/02/01 05:04
03/02/01 05:04

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Thanks man. Worked perfectly

Page 2 of 2 1 2

Moderated by  HeelX, Spirit 

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