Jump to content
Sign in to follow this  
jdarbyshire

White model... ?

Recommended Posts

Hi I have made a new object in O2 (Sign) and it works in Bulldozer... I have one LOD in it and it is fully textured.

When I stuff it with the following config.cpp all i get is a white model ingame the same width, but with no textures...

Please can u help?

Config:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">// Gastovski's Warning Sign Addon

// Idea by CBFASI

// Date 06/10/2002

// THIS ADDON COMES WITH NO GUARANTEE

// IF YOU SCREW UP YOUR COPY OF FLASHPOINT

// BECAUSE OF IT WE ARE NOT RESPONSIBLE

// Copyright 2002/3 The Falklands MOD

// Model made using Oxygen © BIS 2000

// This addon is non-editable without

// permission from the author.

// gastovski@v-fun.co.uk

// www.flashpoint1982.co.uk

#define TEast 3 // Fake it to be civilian instead

#define TWest 3 // Fake it to be civilian instead

#define TGuerrila 3 // Fake it to be civilian instead

#define TCivilian 3 // Fake it to be civilian instead

#define TSideUnknown 3 // Fake it to be civilian instead

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define true 1

#define false 0

// type scope

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class GAS_NObjects

{

units[] = {"Gas-EOW"};

weapons[] = {};

requiredVersion = 1.1;

};

};

class CfgVehicles

{

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class Static : Land {};

class Building : Static {};

class NonStrategic : Building {};

class House : NonStrategic {};

class GAS_wrn1: House

{

scope=2;

vehicleClass="Objects";

DisplayName="GAS EOW Warning";

model="\GAS-Signs\Gas-EOW.p3d";

};

};<span id='postcolor'>

Share this post


Link to post
Share on other sites

Did you place the .pac.paa's in your folder? and are they linked to the pbo

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (jdarbyshire @ Sep. 07 2002,23:25)</td></tr><tr><td id="QUOTE">Hi I have made a new object in O2 (Sign) and it works in Bulldozer... I have one LOD in it and it is fully textured.

When I stuff it with the following config.cpp all i get is a white model ingame the same width, but with no textures...

Please can u help?

Config:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">// Gastovski's Warning Sign Addon

// Idea by CBFASI

// Date 06/10/2002

// THIS ADDON COMES WITH NO GUARANTEE

// IF YOU SCREW UP YOUR COPY OF FLASHPOINT

// BECAUSE OF IT WE ARE NOT RESPONSIBLE

// Copyright 2002/3 The Falklands MOD

// Model made using Oxygen © BIS 2000

// This addon is non-editable without

// permission from the author.

// gastovski@v-fun.co.uk

// www.flashpoint1982.co.uk

#define TEast 3 // Fake it to be civilian instead

#define TWest 3 // Fake it to be civilian instead

#define TGuerrila 3 // Fake it to be civilian instead

#define TCivilian 3 // Fake it to be civilian instead

#define TSideUnknown 3 // Fake it to be civilian instead

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define true 1

#define false 0

// type scope

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class GAS_NObjects

{

units[] = {"Gas-EOW"};

weapons[] = {};

requiredVersion = 1.1;

};

};

class CfgVehicles

{

       class All {};

       class AllVehicles: All {};

       class Land: AllVehicles {};

       class Static : Land {};

       class Building : Static {};

       class NonStrategic : Building {};

       class House : NonStrategic {};

       class GAS_wrn1: House

       {

scope=2;

vehicleClass="Objects";

DisplayName="GAS EOW Warning";

model="\GAS-Signs\Gas-EOW.p3d";

};

};<span id='postcolor'><span id='postcolor'>

You must have textures in yours pbo! In budozer you can have textures in buldozer's data directory, but there aren't be in game "data.pbo" file. You must put texture to your's pbo. And rewrite path in your's model.

E.g. You pbo will be "sign.pbo", so you must put there yours textures, than open model, in list of textures double click on texture name with "ctrl" pressed. That will select every faces which are using this texture. Than RMB to some viewport with "aLt" pressed (you will active this viewport), than press "E" for open face proparties window. In bottom right os path to texture, so change "data\texture.pac" to "sign\texture.pac"

That may help!

Share this post


Link to post
Share on other sites

I have the textures in the "GasSigns" folder... Will just test zwadars way...

Cheers

Share this post


Link to post
Share on other sites

It didnt work... I checked all the textures and they were all in the gassign folder... I would post the p3d but i cant cos its part of the falklands MOD... Sorry... The model is the same size, and width but it is sunk into the ground...

I just had a brainwave... What LOD's do I have to have for an object?

Share this post


Link to post
Share on other sites

whiteout is caused by the textures not being referenced properly, either they are wrongly pathed in the p3d or they arent placed where they are meant to be (sorry stating the obvious here wink.gif).

open up the p3d in a text editor and check what path is actualy written for them, make sure they point to the correct pbo file (eg gas-signs, as opposed to gassigns)

SelectThis

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define true 1

#define false 0

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class GasEOW

{

units[] = {GASEOWSign};

weapons[] = {};

requiredVersion = 1.75;

};

};

class CfgVehicles

{

class All {};

class Static: All {};

class Building: Static {};

class NonStrategic : Building {};

class House : NonStrategic {};

class GasEOW: House

{

scope=public;

vehicleClass="Objects";

side=TGuerrila;

mapSize=1;

displayName="GAS EOW Sign";

model=\GasSigns\GasEOW.p3d;

};

};<span id='postcolor'>

OK STT they are correctly placed... I will attach the p3d file so you can all have a look... i don't know ahts wrong... Also why is the model halfway into the ground...

Sign P3d and config

Share this post


Link to post
Share on other sites

so problem wiil be,tat your's pbo is nabed "gassigns" but in your model you have "gassign" .. there is the problem.. :-)))

Share this post


Link to post
Share on other sites

And the sunken thing might very well be because the model is below ground level in O2. Like I told you on ICQ.

Share this post


Link to post
Share on other sites

You are a God mate... How can I be so dumb??? Thank you so much it works now... Thanks, especially to Zwadar and KTottE, but all of you.. Cheers guys... ;D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×