Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
R0adki11

elmet seen in first person

Recommended Posts

Hi all, i am experiencing a problem with my infantry when i put them into game i can see the helmet textures and the helmet straps when inside a vehicle how do i sort this problem out?

thanks all

Share this post


Link to post
Share on other sites

add a proper cfgmodels into your config

this will do it

also be sure that your unit has proper selections

for the head: hlava (all parts that are part of this selection will be deleted in 1st person when in a vehicle)

head injury (important for wounds)

Share this post


Link to post
Share on other sites

that's also a common bug if you're using setobjecttexture on the helmet & strap, cfgmodel or not....

Share this post


Link to post
Share on other sites

yea but no setobjecttexture without cfgmodels wink_o.gif

but yea setobjecttexture causes this to

Share this post


Link to post
Share on other sites

thats right, i dont know why i said cfgmodels or not lol

its quite a pain in the ass that settobjecttexture bug, is there a known workaround this ?

i want my brits to have random helmets nets & scrims but it doesnt look so nice when you have all your hidden selections having only the sides not facing the player's head so they wouldnt show once in a vehicle...

Share this post


Link to post
Share on other sites

If you are not using some setobjecttexture for your unit, this helmet/straps/googles problem could be present because OFP use the 1st LOD (that features head + all the headgear) of the model instead of the pilot view LOD (that has no head) it should use when the unit is inside of a vehicle.

In that case, check this thread

Quote[/b] ]the trick is to have all the points on the head (that you DON'T want to show in vehicle while in first person mode) in the "hlava" named selection

edit : oops missed one of the nephilim post telling the same thing.

Share this post


Link to post
Share on other sites
the trick is to have all the points on the head (that you DON'T want to show in vehicle while in first person mode) in the "hlava" named selection

maybe there's something i'm not thinking of right now, but why would people put the head selection in anything else but hlava to begin with? if you dont do that its not attached to anything so it would show at ground level once ingame... unless they would decide for some strange reason to attach the helmet to the neck but i dont see the point... wouldnt work nice with animations

i dont see how that can be a trick to have your helmet not show once in a vehicle... sounds more like just the way you need to make your helmet work rather than a "trick" if you see what i mean ?

Share this post


Link to post
Share on other sites

In the case of the link , the soldier was fully working with the helmet and no animation problem reported, and once the helmet/baclava became a part of the hlava selection the problem the user had with the model inside of a vehicle disappeared.

So it may be possible to not have the headgears in the hlava selection while having no noticable animation problem ingame.

Another possiblity to that is when you want to base your new soldier on a model that is not available in MLOD format, ODOLExplorer mixing badly some selections can result in such a problem if by any chances you forgot to assign some of those bad selection correctly.

Share this post


Link to post
Share on other sites

hope u dont mind being all anal about this for nothing (i'm just curious), but what selection was his helmet with then ? although i've only been doing wwII soldiers and opened only a bunch of BIS infantry models, i've never seen any helmet or headgear in any other animated component but Hlava...

also whats' a blaclava ? all i found was some wiki page showing some food lol

about the ODOL format, yeah i've seen that before, but i dont understand why people would have to unbinarize some soldier models to edit it... they could just contact the author instead and ask for the original..

Share this post


Link to post
Share on other sites
Quote[/b] ]hope u dont mind being all anal about this for nothing (i'm just curious), but what selection was his helmet with then ? although i've only been doing wwII soldiers and opened only a bunch of BIS infantry models, i've never seen any helmet or headgear in any other animated component but Hlava...

to be totally correct about this, i have strictly no idea wink_o.gif other than what was stated in the linked thread , a working unit ingame having the headgear problem that the hlava selection solved in vehicle cargo.

Quote[/b] ]also whats' a blaclava ? all i found was some wiki page showing some food lol

Made a typo, i wanted to write balaclava whistle.gif

Quote[/b] ]

about the ODOL format, yeah i've seen that before, but i dont understand why people would have to unbinarize some soldier models to edit it... they could just contact the author instead and ask for the original..

Maybe just for learning from most advanced models (or BIS ones not included in their O2 model pack) that are not available in MLOD without having to annoy addon makers, i did that a lot personnally when learning how to use O2.

Share this post


Link to post
Share on other sites

ok fair enough, i'll get off your back then wink_o.gif

cheers

Fab

Share this post


Link to post
Share on other sites

if you didnt know but ofp uses the 2nd lod in row for the interiors

thers a work around yes.

you can check if the player currently is in 1st or 3rd person view but its pretty dratfull i think.

vektorboson made such a script. it uses axis-anims and some loops to check it.

unfortunatelly i dont have the script anymore.

however

considering performance i wouldnt use that anyway..

instead o using a model with random rags on their hads just make 2-4 different models.

or deal with the bug.

Share this post


Link to post
Share on other sites

i'll just use the getin/getout eventhandlers on our vehicles to hide whatever random selection's faces are bothering the view while in cargo... its only on the player so it shouldnt be much of a bother anyway (meaning there wont be any difference for AI players which is perfect)

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  

×