Hats not to disappear while entering a vehicle

Hello I was wondering that if it was possible to code something that would stop hats from disappearing when I enter a car, yes, I know it increases risk of immense clipping issues but the game already has clipping issues with other stuff and some Roofless cars also remove the hats which is just silly

Would appreciate if possible to make something like it :)
 
Hey there MarbleD410. I was just playing around with some of the files and it is indeed possible to stop cars from removing your hat. Removing the flag "Should Hide Big Hats" in the vehicle_interaction_info.xtbl should get you what you're after.
 
I actually approached it from a different angle and removed the Big Hat flag from all hats in customization_items.xtbl. If your method using vehicle_interaction_info works though that would be a much better choice since you could limit it to just the cars with issues like the new genkimobile.

Here's my post on FP from the other day with a link to the mod itself:
http://www.facepunch.com/threads/1160574?p=34570739&viewfull=1#post34570739
 
I never looked in the customization_items.xtbl. I somehow forgot hat information was stored in there. I tested the vehicle_interaction method and it works although it has some rather noticeable clipping issues. Here is a picture of my character sitting in a Bootlegger while wearing the Prof. Genki hat.
Hat_clipping_ex.jpeg
 
Yes, I know that serious clipping issues will occur but I don't really mind them as I said the game also has other weird clipping issues and there are actually roofless cars that also take out hats even if they are ROOFLESS and won't clip

I don't know how to thank you but to just say thanks :(
 
Haha I didn't do much other than get bored and play around with some files... Anyways, the file I've attached makes it so that you can wear your hat in ANY vehicle. Have fun and let me know if you want me to change anything for you. :)
 

Attachments

  • vehicle_interaction_info.xtbl
    269 KB · Views: 1,340
Back
Top