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 / I tried loading a police car into my game but it is black and no texture..

Author
Message
Mark Garrett
Reviewed AGK on Steam
20
Years of Service
User Offline
Joined: 10th Jul 2005
Location: California, US
Posted: 19th Nov 2013 07:04 Edited at: 19th Nov 2013 07:16


This police car model is from 'Dark Matter'
It comes in a file with a dds document included. So, I put it in my media folder and loaded it with my hand-typed db-pro language.

Here are the files that are in the folder that I imported from Dark Matter:

H-Police Car-Move..... (x file)
L-Police Car-Move......(x file)
PoliceCa.......... (dds document)

I also tried using the 'Beach Bug' car from 'Dark Matter' and the same thing happened with that too... just a pitch-black shape appeared on in my game... just a cut-out shape like someone took a pair of sizors and cut part of the terrain out, leaving a black shape of a car only.

So, anyone know what could be the problem?

Here's the full project...



.
pcRaider
19
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 19th Nov 2013 07:21 Edited at: 19th Nov 2013 23:45
Try this



windowsXp
Mark Garrett
Reviewed AGK on Steam
20
Years of Service
User Offline
Joined: 10th Jul 2005
Location: California, US
Posted: 19th Nov 2013 07:51 Edited at: 19th Nov 2013 09:02
Wow, that works so great, thanks... Now I see how you do it.

Question...

In the 'L-Police car move' 'x' file... the 'L' means Low resolution? Is that what the L stands for?

and the 'H-Police car move' the 'H' means High resolution?.

.
Sph!nx
17
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 19th Nov 2013 14:00
Not sure, but I am sure you can find out by loading it in.

Regards Sph!nx
www.mental-image.net
GreenDixy
17
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 19th Nov 2013 16:16
Normally the "L" is a Low poly version of a model.

.:: Http://DeanWorks.Ca ::.
My software never has bugs. It just develops random features.

Login to post a reply

Server time is: 2026-07-06 20:16:10
Your offset time is: 2026-07-06 20:16:10