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.

Dark GDK / Problem with textures and lightmapping

Author
Message
Essal
18
Years of Service
User Offline
Joined: 15th Jan 2006
Location: inside your webcam, watching YOU.
Posted: 9th Sep 2009 12:06
Hey all,
I'm working on a test level, just to get me started in understanding all of the commands i need for making a decent level,
and its been going o.k...UNTIL NOW.
I made my level in FPSCreator, and loaded it. And it worked like a charm, but the lights done in fpsc, did not show up. But then i used the command dbLightMappingOn, and used one of the lightmaps that was exportet with the level in fpsc.

The good thing that happened was: my lights from FPSC showed up
But the bad thing is : Suddenly my textures are gone, and have been replaced by a "blue/white" kind of color.

here is all code i have relating to the loading of the level:


Please someone help me. It's driving me insane.

p.s Screenie attached

Attachments

Login to view attachments
Essal
18
Years of Service
User Offline
Joined: 15th Jan 2006
Location: inside your webcam, watching YOU.
Posted: 10th Sep 2009 12:15
Nevermind problem solved.

Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 10th Sep 2009 17:57
What was it?

People may search the same problem in the future and find this thread with no answer lol.
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 10th Sep 2009 19:24
It was probably the directory structure , when loading a fpsc dbo level the directorys need to be the same as fpsc with the same textures and stuff ,otherwise it can`t load them .

chunks

nvidia geforce 9500gt + amd athlon 64
windows vista ultimate.
Essal
18
Years of Service
User Offline
Joined: 15th Jan 2006
Location: inside your webcam, watching YOU.
Posted: 11th Sep 2009 12:57 Edited at: 11th Sep 2009 12:57
Not exacly sure what the exact problem was, but it fixed itself when i removed the "dbSetLightMappingOn ( 1, 2)" from my code, and moved the lightmap dds files to the same folder as my dbo.

@Chunks
My textures were already at the correct directory, as they were working BEFORE using the command.

Cheers,
Essal

Login to post a reply

Server time is: 2024-11-20 15:38:20
Your offset time is: 2024-11-20 15:38:20