Problem Runway textures problem

Marijn

Active member
Joined
Mar 5, 2008
Messages
755
Reaction score
166
Points
43
Location
Amsterdam
Hello,

I am at my first attempt to create a surface base. At this point, I am having problems to apply the textures on runways.

When I change the default Runway2 texture to anything else, my runway renders just plain grey.

I created a 256x256 image with GIMP and exported it using a plugin to the DDS format and placed the file in the Textures folder.

I must be doing somehing wrong, but even when I set the default Runway1 texture, the runway also renders plain grey. For some readon, only the default Runway2 seems to have any effect.

Any suggestions on what I am doing wrong? Thanks

The object looks like this, which is a copy of Habana's runway. Runway3 is the filename of my own dds image.

RUNWAY
END1 -1009.772 0 -1105.454
END2 -1204.373 0 2347.486
WIDTH 45
ILS1 111.55
ILS2 111.55
RWTEX Runway3
NRWSEG 7
RWSEG1 1 0.01 0.25 0.5 1 0.875
RWSEG2 1 0.1 0 0.25 0.5 0
RWSEG3 1 0.01 0.25 0.5 0.75 0.625
RWSEG4 4 0.76 0 0.25 1 0.5
RWSEG5 1 0.01 0.25 0.5 0.625 0.75
RWSEG6 1 0.1 0 0.25 0 0.5
RWSEG7 1 0.01 0.25 0.5 0.875 1
END
 

Marijn

Active member
Joined
Mar 5, 2008
Messages
755
Reaction score
166
Points
43
Location
Amsterdam
Eh, yes. I should have checked that :blink:

000000.000: ---------------------------------------------------------------
000000.000: >>> WARNING: Obsolete API function used: oapiBlt
000000.000: Colour key argument not supported by graphics client
000000.000: ---------------------------------------------------------------
000000.000: Finished initialising panels
000012.609: D3D9: [Session Closed. Scene deleted.]
000012.609: D3D9: [Destroy Render Window Called]
D3D9: ERROR: UnDeleted Surface(s) Detected
D3D9: ERROR: Surface 0xD8E1450 (clbkCreateSurface) (12,12)
D3D9: ERROR: Surface 0xD8E16C0 (clbkCreateSurface) (25,223)

And many more lines like the last.

There is a bunch of settings for the export like compression, format, minimaps, filters, wrap mode and gamma of which I have no idea how to use them..

I noticed that when I change the original Runway2 textuxe, the problem does not occur.
 

jacquesmomo

Addon Developer
Addon Developer
Joined
Jun 14, 2008
Messages
611
Reaction score
449
Points
78
Location
FRANCE
Website
francophone.dansteph.com
You have to declare in the "base.cfg" file your new texture :

Edit the \config\base.cfg file with Notepad.

you should see someting like that :

; === Generic surface base resources
; === List of generic object meshes ===
BEGIN_MESHES
END_MESHES

; === List of generic textures ===
BEGIN_TEXTURES
Fcd01
Fcd02
Fcd03
Fcd04
Fcd05
Fcd06
Fcd07
Fcd08
Fcd09
Fcd10
Fcd11
Fcd12
Fcd13
Fcd14
Fcd15
Roof01
Roof02
Wall01
Door01
Lpad01
Lpad02
Lpad02a
Taxiway1
Taxiway2
Monorail
Hangrail
Solpanel
Runway2
Ball
Cape17
Cape18
Cape19
Cape20
Cape21
Cape22
Cape23
Concrete1
END_TEXTURES


add your Runway3 texture name in the list, then save this file.

That's all :cheers:

PS note that "runway1" is not declared by defaut....
 
Last edited:

Marijn

Active member
Joined
Mar 5, 2008
Messages
755
Reaction score
166
Points
43
Location
Amsterdam
Thanks a lot, I wasn't aware of the declarations. That seems to do it :)

I am still getting the errors in my log as above. Any idea about those?
 
Top