Jump to content
Sign in to follow this  
Doppe

Texture problems

Recommended Posts

Yea, i send one of my addons (Sawed off shotgun) to my bro, and it has no textures. It's working fine on my computer, and has textures but on the other computer it doesn't have any. Help pls?

Share this post


Link to post
Share on other sites

Going to need a bit more info that this 1 liner.

Whats all the texture paths when you open the p3d file with Txtpathswap?

Whats in you config file ?

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgPatches

{

class shotgun

{

units[]={"shotgunCivilian6"};

weapons[]={"shotgunBase","shotgun","shotgunMag"};

requiredVersion=1.750000;

};

};

class CfgModels

{

class default {};

class Weapon: default {};

class shotgun: Weapon {};

};

class CfgRecoils

{

Shotgun3Recoil[]={0.090000,0.090000,0.01600,0.12500,0,0};

};

class CfgAmmo

{

class default {};

class BulletSingle: default {}

class shotgunAmmo: BulletSingle

{

hit=7;

indirectHit=0;

indirectHitRange=0.000000;

minRange=0

minRangeProbab=0.00000;

midRange=1

midRangeProbab=0.700000;

maxRange=3.5

maxRangeProbab=0.0350000;

};

};

class CfgWeapons

{

class Default {};

class MGun: Default {};

class Riffle: MGun {};

class HandGunBase: Riffle {};

class shotgunBase: HandGunBase

{

access=2;

scopeWeapon=2;

scopeMagazine=0;

aiRateOfFire=0.900000;

aiRateOfFireDistance=50

model="\so-shotgun\SWI_shotgun";

modelOptics="\mossberg\optika_kozlice";

displayName="Sawed-off Shotgun";

displayNameMagazine="Sawed-off Shotgun Buckshot";

shortNameMagazine="Shotgun Buckshot";

count=20;

weaponType=2;

magazineType=32;

reloadTime=0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000001

;

magazineReloadTime=8.000;

autoReload=0;

drySound[]={"\finmod\Sounds\Guns\m16_dry.wss",0.000316,1};

reloadSound[]={"\finmod\Sounds\Guns\shotgun_reload_pump.wss",0.000316,1};

reloadMagazineSound[]={"\finmod\Sounds\Guns\shotgun_reload.wss",0.000316,1};

sound[]={"\finmod\Sounds\Guns\shotgun_pump_action.wss",1.000000,0.98};

magazines[]={"shotgunMag"};

recoil="Shotgun3Recoil";

backgroundReload=0;

ammo="shotgunAmmo";

burst=10;

multiplier=1;

autoFire=0;

initSpeed=490;

dispersion=0.270000;

flash=""

flashSize=0

};

class shotgun: shotgunBase

{

picture="\so-shotgun\w_shot.paa";

scopeWeapon=2;

scopeMagazine=0;

};

class shotgunMag: shotgunBase

{

scopeWeapon=0;

scopeMagazine=2;

displayNameMagazine="Sawed-off Shotgun Buckshot";

shortNameMagazine="Shotgun Buckshot";

picture="\so-shotgun\w_shot.paa";

};

};

class CfgVehicles

{

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class Man: Land {};

class Civilian: Man {};

class Civilian6: Civilian {}

class shotgunCivilian6: Civilian6

{

access=2

displayName="Man 6 (Sawed-off Shotgun)";

weapons[]={"Throw","Put","shotgun"};

magazines[]={"shotgunMag","shotgunMag","shotgunMag","shotgunMag"};

};

}

That's config. I don't use any program called "TXTpathswap". I put textures to my gun whit o2 program.

Share this post


Link to post
Share on other sites

Does your model use textures from any folder

other than the "so-shotgun" folder?

That's maybe what Gnat was asking about.

you can check your texture paths in O2

as well.Just go to window->Texture library,in the

top right corner of the O2 gui.Then on the left

you should see a list of your textures ,with their

pathnames.

If you used textures from another addon,other

than your addon,your bro may not have it.

If it's not on his machine he wouldn't see the

textures.

It could be something else,but check that out anyway.

smile_o.gif

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  

×