Home   Help Search Login Register  

Author Topic: Flashlights on weapons  (Read 3764 times)

0 Members and 1 Guest are viewing this topic.

Ranger Bob

  • Guest
Flashlights on weapons
« on: 11 Dec 2002, 15:44:18 »
I was wondering if its possible to make a flashlight work on a weapon using the action menu or something. I've made M4s with flashlight and it would be great if they could work.

Download the beta m4s at: www.freewebs.com/rangerbobsworkshop/

its in the addons section
« Last Edit: 11 Dec 2002, 15:45:05 by Ranger Bob »

STGN

  • Guest
Re:Flashlights on weapons
« Reply #1 on: 11 Dec 2002, 16:22:50 »
I dont think this is the forum fore such a question but enyway i don't think it is posibel to atach a flashlight on a gun because
the OFP engine dosen't allow it tho i have heard that if you make a script or alter the engine it is posibel.
From what I can see on the pictures your M4's look good but I can't download it it just say 404 - Page Not Found.
Maby you presst a rong boutten or somthing when you made the link.
STGN

Ranger Bob

  • Guest
Re:Flashlights on weapons
« Reply #2 on: 11 Dec 2002, 21:40:12 »
Hmmm... well i tried to access my site at around 1.00 pm GMT and i got the same message, but i can get to it now. I'll check the link though.

STGN

  • Guest
Re:Flashlights on weapons
« Reply #3 on: 11 Dec 2002, 22:35:25 »
well now it works I have just downloaded both your M4 pack's
STGN

Ranger Bob

  • Guest
Re:Flashlights on weapons
« Reply #4 on: 11 Dec 2002, 23:13:15 »
yeh i just fixed them! thanks for the heads up, feel free to comment on them

BoNeCoLLeCToR

  • Guest
Re:Flashlights on weapons
« Reply #5 on: 12 Dec 2002, 02:30:40 »
When you fix the no shadow bug on the guns + the weapons are not compatible with 1.75+ above you see the flash
When you gonna fix these bugs m8 ???
The models looks very cool when you fix the bugs it can be a topper m8 ;)

registered_fugitiv

  • Guest
Re:Flashlights on weapons
« Reply #6 on: 12 Dec 2002, 09:08:51 »
um ive got 1.90 and there was no flash bug
but there was the flash there the hole time in the shadow

BoNeCoLLeCToR

  • Guest
Re:Flashlights on weapons
« Reply #7 on: 12 Dec 2002, 18:45:01 »
Where have you put the addons in res folder or regular ofp addons folder ???

Ranger Bob

  • Guest
Re:Flashlights on weapons
« Reply #8 on: 12 Dec 2002, 19:45:45 »
well i have the addons in my res folder and i'm running 1.75 and everything is cool but the shadows and i dont have a clue whats wrong with them.

registered_fugitiv

  • Guest
Re:Flashlights on weapons
« Reply #9 on: 13 Dec 2002, 02:37:28 »
mine is also in my res folder

BoNeCoLLeCToR

  • Guest
Re:Flashlights on weapons
« Reply #10 on: 13 Dec 2002, 03:07:02 »
my fault guys it works great ::)

BoNeCoLLeCToR

  • Guest
Re:Flashlights on weapons
« Reply #11 on: 13 Dec 2002, 03:07:39 »
Ranger Rob have you solved your face problem on the marines ???

STGN

  • Guest
Re:Flashlights on weapons
« Reply #12 on: 13 Dec 2002, 14:45:57 »
Well here is a clu to your shadow problem your models have too many faces. I don't mind it cause it makes the waepons look much better. My guns don't have shadow ether as you will see if you download them but they have a great model i think :).
http://www.freewebs.com/stgn-addonsworkshop/
STGN

Ranger Bob

  • Guest
Re:Flashlights on weapons
« Reply #13 on: 14 Dec 2002, 13:54:27 »
is there anyway to fix the shadow problem. And i'm working on the random faces. thanks :)

Offline Jackal326

  • Former Staff
  • ****
  • SJB Addons
    • SJB Addons
Re:Flashlights on weapons
« Reply #14 on: 23 Dec 2002, 00:55:17 »
As has been said, Flashlights are currently impossible. If you examine the HK's model you'll see points on the Memory LOD for them, but BIS must have changed their minds about implementing it into the final game.

As for random faces, I beleive that is all about the definition of the units in the Config.cpp. and how the sections are defined in the model its self.

Here is an example of the Class CfgModels section of a unit to get "random" faces.

class CfgModels
{
   class Default {};
   class Head: Default {};
   class Man: default {};
   
   ///MEN
   class CLASSNAMEofMan: Man
   {
      sections[] =
      {
      SECTIONS OF MODEL HERE
      };
      sectionsInherit=Head;
   };
   class ModelNameHere: CLASSNAMEofMan {};
};

I hope that helps you out.

And as regards the shadows etc, to solve that, you have to have LESS than 300 faces in a LOD. (Not sure which LOD, but I think it says on the Official Forums.)
"...if someone did that to me, I'd smash their head in, I'd stab them, shoot 'em and push 'em off a roof!" - Dutch Wagenbach

Ranger Bob

  • Guest
Re:Flashlights on weapons
« Reply #15 on: 23 Dec 2002, 22:16:41 »
Thankyou for your help! :D

registered_fugitiv

  • Guest
Re:Flashlights on weapons
« Reply #16 on: 24 Dec 2002, 01:26:06 »
um i think its 0.700

STGN

  • Guest
Re:Flashlights on weapons
« Reply #17 on: 07 Jan 2003, 12:55:22 »
look it the topic shadow on high count models and remeber you need a model whit less than 300 polys to make shadow.
STGN

STGN

  • Guest
Re:Flashlights on weapons
« Reply #18 on: 23 Jan 2003, 11:46:29 »
well you cant have light coming out of your weapon but you can make it look like go to my site and look at the soldier whit the light.
STGN