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 (Ayumi, NewbieZorro, TipmyPip), 13,888 guests, and 6 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
background image #12911
06/14/03 01:00
06/14/03 01:00
Joined: Jul 2002
Posts: 147
BasketBallBen Offline OP
Member
BasketBallBen  Offline OP
Member

Joined: Jul 2002
Posts: 147
is there any way to make a background image. like a panel that takes up the entire screen, but the models and levels stay above it.

because i sometimes like levels that arnt closed off, kinda like a little block you run around on, and im tired of just having one solid color in the background with bg_color = whatever.

Re: background image #12912
06/14/03 05:12
06/14/03 05:12
Joined: Nov 2002
Posts: 792
Berne, Switzerland
elsewood Offline
User
elsewood  Offline
User

Joined: Nov 2002
Posts: 792
Berne, Switzerland
code:
 bmap back_ground = <background.pcx>; 
panel back_image
{
bmap = back_ground;
pos_X = 0; pos_y = 0;
layer = -99; // behind every other stuff
flags = REFRESH,VISIBLE;
}





A bus station is where the bus stops. A train station is where the train stops.
On my desk I have a workstation...
Re: background image #12913
06/14/03 05:33
06/14/03 05:33
Joined: Jul 2002
Posts: 147
BasketBallBen Offline OP
Member
BasketBallBen  Offline OP
Member

Joined: Jul 2002
Posts: 147
ya, after i posted i decided to mess around with negative values for layers, but thanks for the help.

Re: background image #12914
06/14/03 05:42
06/14/03 05:42
Joined: Jul 2002
Posts: 147
BasketBallBen Offline OP
Member
BasketBallBen  Offline OP
Member

Joined: Jul 2002
Posts: 147
nevermind...even with -99 it still sticks out in fron of models and junk. is it supposed to be able to go behind them? i have a5.51...but maybe i need a better 3d card since i need it for overlay [Mad]

Re: background image #12915
06/14/03 07:09
06/14/03 07:09
Joined: Nov 2002
Posts: 792
Berne, Switzerland
elsewood Offline
User
elsewood  Offline
User

Joined: Nov 2002
Posts: 792
Berne, Switzerland
I just found in the manual:
quote:
view.LAYER
Determines the order of the view, if it overlaps with other views. Views with higher LAYER value will be visible over views with lower LAYER value. Panels and texts will always be displayed over all views independently of their LAYER values.

So it seems, that its not possible [Frown]


A bus station is where the bus stops. A train station is where the train stops.
On my desk I have a workstation...
Re: background image #12916
06/14/03 08:11
06/14/03 08:11
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Dont know if this will hellp BasketBallBen but a consideration is to try a sky box with the tectures you want on it and Ventilators script to run it.
What this means is that you can have the illusion of wide open spaces kinda like a background environment.
Make a model box at default size in Med, texture all the sides with your texture choice, i.e. ground-bottom, sides-view, top-sky sorta thing, then build a normal sky box in med and have it twice as large as your area with a sky texture on it and replace the default sky script with Ventilators one;
code:
 // The following script controls the sky
sky cube
{
type = <skycube2.mdl>;
layer = 3; scale_x = 55000;
scale_y = 55000;
scale_z = 55000;
flags = scene,visible;
material=mat_sky;
}

This is a good work a round solution that needs some effort to make it happen.
Cheers..


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