|
VIEW script here
#454899
09/28/15 12:18
09/28/15 12:18
|
Joined: Jul 2001
Posts: 4,801 netherlands
Realspawn
OP
Expert
|
OP
Expert
Joined: Jul 2001
Posts: 4,801
netherlands
|
I want a view to be visible on screen that gives a view from an other point in the level. I gues i need that view stuff but how is it used correctly. I looked in the manual but how do i determine the view and make it appear thx for your time as always
Last edited by Realspawn; 09/29/15 09:49.
|
|
|
Re: Question about view
[Re: MasterQ32]
#454903
09/28/15 19:24
09/28/15 19:24
|
Joined: May 2005
Posts: 868 Chicago, IL
Dooley
User
|
User
Joined: May 2005
Posts: 868
Chicago, IL
|
Once you have a VIEW set up, then you will need ot create an object that displays that VIEW. Here's how I set it up in my game, you will probably use different variables and such, but it may help you understand: while(screen_exists_n == 1) { camera2_view.bmap = bmap_for_entity(my,1); vec_set(camera2_view.x,ent_spaceship.x); // set the view positions here vec_set(camera2_view.pan,ent_spaceship.pan); // set the view angles here wait(1); } I asked a question about using dynamic lights in a VIEW entity. You may want to look at some of the links and comments from that thread: http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=453845#Post453845
|
|
|
Re: Question about view
[Re: Dooley]
#454906
09/28/15 19:35
09/28/15 19:35
|
Joined: Jul 2001
Posts: 4,801 netherlands
Realspawn
OP
Expert
|
OP
Expert
Joined: Jul 2001
Posts: 4,801
netherlands
|
I figured it out after hours will post a simple example soon also the aum examples are from the oldy days thx for your responses
Last edited by Realspawn; 09/29/15 09:36.
|
|
|
|