OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: Ranger Bob 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
-
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
-
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.
-
well now it works I have just downloaded both your M4 pack's
STGN
-
yeh i just fixed them! thanks for the heads up, feel free to comment on them
-
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 ;)
-
um ive got 1.90 and there was no flash bug
but there was the flash there the hole time in the shadow
-
Where have you put the addons in res folder or regular ofp addons folder ???
-
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.
-
mine is also in my res folder
-
my fault guys it works great ::)
-
Ranger Rob have you solved your face problem on the marines ???
-
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
-
is there anyway to fix the shadow problem. And i'm working on the random faces. thanks :)
-
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.)
-
Thankyou for your help! :D
-
um i think its 0.700
-
look it the topic shadow on high count models and remeber you need a model whit less than 300 polys to make shadow.
STGN
-
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