Home   Help Search Login Register  

Author Topic: Trouble with custom textures  (Read 1018 times)

0 Members and 1 Guest are viewing this topic.

Offline jeffs

  • Members
  • *
  • I'm a llama!
Trouble with custom textures
« on: 30 May 2003, 21:40:57 »
I'm running into some trouble with custom runway textures I've made.  All show up in WRP but only some in game.  All files are .paa extension and in an addon just for textures.

Any help would be appreciated.

JeffS

Leone

  • Guest
Re:Trouble with custom textures
« Reply #1 on: 30 May 2003, 22:27:49 »
1. Check all the textures are in the pbo
2. Make sure you have added all textures from the Addon.pbo NOT /Addon.pbo (inside WRPEdit)
3. Check the textures that aren't working and make sure they don't have any alpha layer
4. Check that you actually applied  them (sounds obvious I know....but)
5. Make sure all textures are sized to the power of 2 (128x128, 256x256, 512x512 etc)

Other than that....... :-\

Offline jeffs

  • Members
  • *
  • I'm a llama!
Re:Trouble with custom textures
« Reply #2 on: 31 May 2003, 00:19:57 »
Thanks... I redid the files and it works like a charm.  Something must have been off.  Another question?  How do I get runway textures to work like runways?  Is it a flag setting?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Trouble with custom textures
« Reply #3 on: 31 May 2003, 00:27:29 »
I think it may have something to do with the names of the files.

It might be that they have to have the original names to be recognised as runway textures.
But this is just a guess as I am not 100% sure.

Planck
« Last Edit: 31 May 2003, 00:29:59 by Planck »
I know a little about a lot, and a lot about a little.

Leone

  • Guest
Re:Trouble with custom textures
« Reply #4 on: 01 Jun 2003, 08:08:08 »
class Runway: Roadway
files="rw*";

That might work.....give it a go. If not.....there's another work around, but only if you are doing it as a mod (not just an addon).

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Trouble with custom textures
« Reply #5 on: 03 Jun 2003, 23:04:33 »
Ok, after extensive research (5 minutes really), I have reached a solution.

Make sure all your runway textures begin with the same few letters.....i.e. runw.

Then in your config.cpp, in the CfgSurfaces section, add the following:

class RunwayRes
{
   access=2;
   files="runw*";
   rough=0.001000;
   dust=0.006000;
   soundEnviron="road";
};


Remember 'runw' is only an example, change it for whatever you decide upon.


P.S.  I have Resistance and I strongly suspect 'RunwayRes' relates to that, so, if this doesn't work for those who don't have Resistance, try changing 'RunwayRes' for 'Runway'



Planck
« Last Edit: 03 Jun 2003, 23:07:26 by Planck »
I know a little about a lot, and a lot about a little.