Home   Help Search Login Register  

Author Topic: Muzzleflash visible on ODOL weapons  (Read 1289 times)

0 Members and 1 Guest are viewing this topic.

AG_Smith

  • Guest
Muzzleflash visible on ODOL weapons
« on: 24 Jan 2005, 00:38:55 »
Here's a riddle:
I made an addon with several weapons. It's almost finished so I tried to binarize it and...wham!... muzzleflash is visible all the time after binarizing. I have to mention that it is not visible if I test these weapons in MLOD format.

I have what I think is a proper cfgModels and it doesn't help at all:
Code: [Select]
class CfgModels
{
   class Default{};
   class Weapon: default
   {
      sections[] = {"zasleh"};
   };
   class OFPL_SWD: weapon {};
   class OFPL_SWDM: weapon {};
   class OFPL_UKM: weapon {};
   class OFPL_RPG7VE: Weapon {};
   class OFPL_RPG7V: Weapon {};
   class OFPL_CarlGustav: Weapon {};
   class OFPL_CarlGustavSpent: Weapon {};
   class OFPL_PM98:weapon {};
   class OFPL_WIST94:weapon {};
};

Model names are respectively OFPL_SWD.p3d, OFPL_SWDM.p3d, etc.

Forgot to say, I have data folder extracted where binarize (and the addon) is and I don't get any reports about missing textures.

Anybody got any ideas how to get rid of this problem? ???

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:Muzzleflash visible on ODOL weapons
« Reply #1 on: 24 Jan 2005, 02:00:29 »
Yes, this is a very common error so I'm sure you will get help.
Sadly, however, I am unable too help you here as I have no addon experience.

One thing though that I wanted to say is don't settle for second best (as many other people do) and release an addon that no one is going to use because the flash won't go away.
I like your approach, lets see your departure.
Download the New Flashlight Script!

AG_Smith

  • Guest
Re:Muzzleflash visible on ODOL weapons
« Reply #2 on: 24 Jan 2005, 13:17:40 »
Well, it's not so common. It has been a problem back in the old days, when there was no binarize tool. Model conversion to ODOL was meant to fix muzzleflash bug, but it doesn't help here.

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Muzzleflash visible on ODOL weapons
« Reply #3 on: 24 Jan 2005, 21:27:36 »
if i should guess i'd say that binarize has to read the config (-> cfgmodels section), not only the model itself.
you know, as it has to read the textures even if they are not binarized.
but that is just a guess, don't know if you already have the config in the same folder as the model, or in a subdirectory of the binarize programme, etc.  ???
we're looking for members: IM:UC MOD

AG_Smith

  • Guest
Re:Muzzleflash visible on ODOL weapons
« Reply #4 on: 25 Jan 2005, 00:48:02 »
Ok, maybe I didn't make myself clear enough but there's config with cfgModels in the same folder where the models are.


Actually, I kind of overcome it. I removed some models and binarized only ONE model at a time. It worked. :)