No texture displays (only white)

WrpTool island creator utility

Moderators: Lone Wolf, Snake Man

Post Reply
Terox
Newbie
Posts: 2
Joined: 2005-02-07 02:19:18

No texture displays (only white)

Post by Terox » 2005-02-06 23:28:38

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 modworlds folder.

The mod config has been edited, so that it is listed in the class cfgworlds
It derives from the defaultworld
  class zm_desert:DefaultWorld
     {
     access=3;
     description="test Island";
     icon="_training.paa";
     worldName="..ZeusmodWorldszm_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[]={"..ZeusmodWorldsIsle_Introsintro"};

     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
  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 ????


NB>>> my root folder path for both textures & models is

d:gamesoperationflashpointzeusmod

i want to be able to use the .wrp file in this way so that in can quickly edit the island in wrptool and then reload the island in ofp and preview it
Last edited by Terox on 1970-01-01 00:00:00, edited 1 time in total.
follow the sappers

User avatar
Gnat
1st Lt
Posts: 120
Joined: 2004-01-07 08:46:56

Re: No texture displays (only white)

Post by Gnat » 2005-02-07 09:56:03

I have no trouble with placing the WRP file in the Worlds directory and getting it to work ...... so, 1 question;
- Have you placed the textures and config file inside the {islandname}.pbo file AND placed a copy in the OFP/ADDONS directory ?

Only config I found (of the ones Ive looked at) with textures internal is Visnorsk. I'll provide the config start ...... maybe doing same will get rid of the prob.

Code: Select all

class CfgPatches {<br>      class Visnorsk {<br>            units[] = {};<br>            weapons[] = {};<br>            worlds[] = {"Visnorsk"};<br>            requiredVersion = 1.46;<br>      };<br>};<br>class CfgWorldList {<br>      class Visnorsk {};<br>};<br>class CfgSurfaces<br>{<br><br>      class Default {};<br><br><br>      class Visfield: Default<br>      {<br>            files="Vis*";<br>            rough=0.25;<br>            dust=0.00;<br>            soundEnviron = "mud";<br>      };<br><br>}<br><br>class CfgWorlds <br>      {<br>      class DefaultWorld {};<br>      class Intro: DefaultWorld {};<br>      class Visnorsk: Intro<br>            {<br>            access = 3;<br>................................<br>................................<br>etc<br>
The key may be this bit
class Visfield: Default
{
.

Terox
Newbie
Posts: 2
Joined: 2005-02-07 02:19:18

Re: No texture displays (only white)

Post by Terox » 2005-02-10 23:58:13

thanks for the input.

Problem solved
i am adding the world class "island" config to the main mod config

due to the fact that the mod will contain a series of islands based on climate type, we were pursuing a common pbo for some models etc, renaming the addon pbo to the island name fixed the problem, thx
follow the sappers

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests