OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: NKP on 08 Jan 2003, 04:02:24

Title: My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 04:02:24
Hi
Can someone explain me how to correct the "Zasleh" bugs on my weapons?
All texture are great in OFP v1 to 1.46 but in resitance the "zasleh" is no transparent texture !!!
you can find my thompson here
http://cf.geocities.com/nkpzone/thompsonv1.0.zip
PLEASE IF SOMEONE CAN HELP ME !!!!!!!!!!!!!!!!!!!!!
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: Wires on 08 Jan 2003, 04:45:09
Good model, nice textures you just have some code errors and omitions. The CfgModels section was needed to solve the muzzle flash problem but you have other errors that need attending to.

Adding this after the CfgPatches will fix your problem  ;)

class CfgModels
{
   class Default
   {
   sections[]={};
   sectionsInherit="";
   };
   class Weapon: Default
   {
   sections[]={"zasleh"};
      };
   class Thom: Weapon{};

};
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 05:18:15
THANKS A LOT I WILL TRY IT NOW ...
I LL COME BACK FOR RESULT
TEXTURE IS NOT MY SEE READ ME
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 05:32:47
IT DOESN T WORK  ???
BUT THANKS FOR YOUR ANSWER AND HELP  ;)
if you know where i can find some help or doc about this mail me .
I ve made a Higgens boat with turret and activate door all work good but there is the same bug with the machine gun ...
I know who's my new hostile : his name is Zasleh  :D :D :D

Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 05:37:35
Now I'm using version 1.90
I've put new lod in my p3d and our piece of config in Cpp and now it 's work
THX
I now look for the "Zasleh" 's turret of my boat ...
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 06:19:39
I VE TRY UNSUCESSFULLY TO PUT THAT CFG CODE FOR MY BOAT




class CfgModels
{
   class Default
   {
      sections[]={};
      sectionsInherit="";
      
   };
   class Vehicle: Default
   {
   sections[]={"zasleh"};
   };
   class NKPhiggens: Vehicle{};
      
};


WHO CAN HELP MEEEEEEEEEEEEEEEE !!!!!!!!!!!!!!!!!!
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: Wires on 08 Jan 2003, 11:30:00
You'll need the correct classes for a boat, I'm not sure what they are but I'm sure someone around here knows off the top of their head  ;)
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: DeadMeatXM2 on 08 Jan 2003, 13:37:15
Quote
     };
   class Thom: Weapon{};

};

is "Thom" the name of the p3d?

because this code ONLY works when the p3d[/u] name is used, it will not work if you use the cpp name class...
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 19:04:06
THOMPSON WORKS GOOG NOW in both version :
YOU can FIND IT at :
http://cf.geocities.com/nkpzone/NKPthompsonnonresistance.zip
http://cf.geocities.com/nkpzone/NKPthompsonresistance.zip

I m still working on boat ...
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 19:05:02
THOMPSON WORKS GOOG NOW in both version :
YOU can FIND IT at :
http://cf.geocities.com/nkpzone/NKPthompsonnonresistance.zip
http://cf.geocities.com/nkpzone/NKPthompsonresistance.zip

I m still working on boat ...
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 19:06:16
THOMPSON WORKS GOOG NOW in both version :
YOU can FIND IT at :
http://cf.geocities.com/nkpzone/NKPthompsonnonresistance.zip
http://cf.geocities.com/nkpzone/NKPthompsonresistance.zip

I m still working on boat ...
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 19:06:59
THOMPSON WORKS GOOG NOW in both version :
YOU can FIND IT at :
http://cf.geocities.com/nkpzone/NKPthompsonnonresistance.zip
http://cf.geocities.com/nkpzone/NKPthompsonresistance.zip

I m still working on boat ...
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 19:07:01
THOMPSON WORKS GOOG NOW in both version :
YOU can FIND IT at :
http://cf.geocities.com/nkpzone/NKPthompsonnonresistance.zip
http://cf.geocities.com/nkpzone/NKPthompsonresistance.zip

I m still working on boat ...
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: NKP on 08 Jan 2003, 19:07:08
THOMPSON WORKS GOOG NOW in both version :
YOU can FIND IT at :
http://cf.geocities.com/nkpzone/NKPthompsonnonresistance.zip
http://cf.geocities.com/nkpzone/NKPthompsonresistance.zip

I m still working on boat ...
Title: Re:My weapons work on 1.46 but texture bug in 1.75
Post by: STGN on 10 Jan 2003, 12:41:39
okay :) control your self.
STGN