Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Backdrop overriding my other colors....?

Author
Message
MasterInsan0
23
Years of Service
User Offline
Joined: 14th May 2003
Location: United States
Posted: 16th Jun 2003 10:23
I seem to be having a problem with my backdrop color overriding all other colors except object textures. My entire BSP level, already messed-up from Patch 4.1's odd problem with my textures, is now half-transparent and is entirely green. However, I can change that green to whatever color I want using the color backdrop command. So why is my backdrop color affecting my level? I'll post my code on request (it's pretty long, so I won't bother unless someone has to see it).
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 16th Jun 2003 13:35
Green? So does that mean that you're not using the default camera? Have you made the mistake of creating a camera, not realising that one already exists by default?

Post the code into the code box, and we'll have a look.
MasterInsan0
23
Years of Service
User Offline
Joined: 14th May 2003
Location: United States
Posted: 17th Jun 2003 00:49
Hmm...I made a camera at the very beginning, but it hadn't affected it before. Is the value for the default camera 0? When using the BSP commands, it ususally asks for a camera number, so I don't really have a number if I don't make the camera.

By the way, I will post my code once I am finished taking out all of the references to camera 1.
MasterInsan0
23
Years of Service
User Offline
Joined: 14th May 2003
Location: United States
Posted: 17th Jun 2003 01:55
Well, it worked. But, however, now I cannot do the BSP collision and my guns don't appear anymore. (sigh) Anyway, I have posted my code of the "clean" version, removing all things not really valid to the point. This is the one that lacks the "make camera 1" and all references to camera 1. The necessary files are the level and the two guns I have implemented. They don't really show up, but I'm afraid I'd break the code if I took them out. Unfortunately, Geocities won't take the level1.bsp for some stupid reason, saying it has an invalid file name. But, you can get the pistol and shotgun from http://www.geocities.com/justin3165/pistol.x and http://www.geocities.com/justin3165/shotgun.x. Or if you have DarkMatter you can just use those models.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Jun 2003 02:36
You can reactivate collision by putting the 'set bsp camera collision...' commands back in and changing the camera number to 0.

For your gun to appear, try taking out the references to 'camera position...'. ie, make it read 'position object 12,0,-0.5,1.6' and see if that fixes it.

I don't have time to try these myself, coz I'm busy coding my next masterpiece
MasterInsan0
23
Years of Service
User Offline
Joined: 14th May 2003
Location: United States
Posted: 17th Jun 2003 06:06
Yes, it works perfectly. Thanks IanM.

Login to post a reply

Server time is: 2026-07-11 14:56:35
Your offset time is: 2026-07-11 14:56:35