Home   Help Search Login Register  

Author Topic: query on wrptool and textures ingame  (Read 1594 times)

0 Members and 1 Guest are viewing this topic.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
query on wrptool and textures ingame
« on: 06 Feb 2005, 22:50:25 »
I have created an island as part of a mod, using wrptool v0.950

The island .wrp file isnt in an external .pbo file
it is located in the mod\worlds folder.

The mod config has been edited, so that it is listed in the class cfgworlds
It derives from the defaultworld
Quote
   class zm_desert:DefaultWorld
      {
      access=3;
      description="test Island";
      icon="_training.paa";
      worldName="..\Zeusmod\Worlds\zm_desert.wrp";
      //      worldName="zm_deserttest.wrp";
      plateFormat="ML$ - #####";
      plateLetters="ABCDEGHIKLMNOPRSTVXZ";
      startTime="12:00";
      startDate="10/4/95";
      startWeather=0;
      startFog=0.0;
      forecastWeather=0;
      forecastFog=0.0;
      seagullPos[]={8897,4349,100};
      ilsPosition[]={0,0,0};
      ilsDirection[]={0,0.08,1};
      ilsTaxiIn[]={};
      ilsTaxiOff[]={};
      centerPosition[]={9735,3964,0};
      cutscenes[]={"..\Zeusmod\Worlds\Isle_Intros\intro"};

      class Sounds
         {
         sounds[]={};
         };

      class Animation
         {
         vehicles[]={};
         };

      class Names
         {
         };
      };


The mod config has been edited, so that the island class is listed in the cfgworlds list

eg
Quote
   class zm_desert
      {
      };

The island loads ingame

however

I cannot get it to display the surface textures, it shows plain white

Having read through the various posts that have raised issues on this, most of them point to issues with the .wrp file not being able to load the texture because the texture isnt in the addons folder etc

My sa.paa file, which is the base texture, is placed in a zm_isle.pbo
This texture is mapped in wrptool
I have followed the .wrptool manual in setting up my folders paths for the directories and textures.
The textures display within wrptool

however i cannot get this texture to load ingame.


my best guess is that internally within the config, i have to assosciate the .pbo file with the island class

Unlike most islands, our islands configs are going to be held within the main config
so when it comes to looking at how others have done it, there doesnt seem to be a similar example


where am i going wrong ????
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:query on wrptool and textures ingame
« Reply #1 on: 06 Feb 2005, 23:06:33 »
I don't know about WrpTool, but, in WrpEdit the texture paths are listed thus:

For example

cain\jp.paa

So the texture is in the Cain.pbo and is called jp.paa.

I imagine if you have your textures in a folder called zm_isle, and this folder is in the WrpTool path, then when you place the island in game you must have a zm_isle.pbo in your Addons folder or your mods Addon folder, and this PBO should also contain these textures.

If I have misunderstood your problem please say.


Planck
I know a little about a lot, and a lot about a little.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:query on wrptool and textures ingame
« Reply #2 on: 06 Feb 2005, 23:44:59 »
thats exactly what i have, but the island doesnt load the terrain textures ingame, i just get plain white everywhere, apart from the sea of course




when setting up wrptool, it asks you to give the root directory, where all your p3d and texture files are located.

Not every folder, just your root folder

it then allows you to add textures or objects in the texture & objects browser

these are specifically mapped to individual files, pathed from your root folder

my root folder path

d:\games\operationflashpoint\zeusmod

you cannot manually edit this path to say
..\zeusmod
or
\bis\zeusmod
« Last Edit: 06 Feb 2005, 23:52:42 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:query on wrptool and textures ingame
« Reply #3 on: 06 Feb 2005, 23:57:47 »
Try this first:

Take a copy of your texture PBO, and put it into the standard Addons folder...........see if that fixes it.


Planck
I know a little about a lot, and a lot about a little.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:query on wrptool and textures ingame
« Reply #4 on: 07 Feb 2005, 01:54:45 »
thx for the input, i managed to fix the problem

although it doesnt make it clear in the manual, the root folder needs to be pointed to the folder that is 1 level up from the .pbo file

eg mod\addons

amazing that such a small missing statement in the manual has caused me hours of work
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:query on wrptool and textures ingame
« Reply #5 on: 07 Feb 2005, 22:17:40 »
Glad you got it fixed   ;D


Planck
I know a little about a lot, and a lot about a little.

HerrFlick

  • Guest
Re:query on wrptool and textures ingame
« Reply #6 on: 09 Feb 2005, 11:44:17 »
I don't know what manual you got there, but the one I read devoted 2 pages on stressing that you have to get this right. ::)

Now I do admit that this part of the manual is, not optimally written (big understatement), but it certainly was mentioned.

Good luck on the rest of the work on the island, hope it turns out nice!