SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-12-11, 02:43 PM   #2
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,733
Downloads: 67
Uploads: 2


Default

The brain buckets are part of TMO. I figured out how to get helmets to appear when at battle stations when working on the "Nine Delta Two" project that i've abandoned. I then took what I learned while working on that project, and applied it when i was updating TMO.

While i don't remember the exact syntax, the gist of how it works is you add the helmet via a 3d accessory to the gun crew position while at battle stations, or while the station is actively maned in 3d. I forget which, probably whenever its manned, not just battle stations. You add this 3d accessory via what is tanatmount to a global command for that item. (meaning add all nine varations of this 3d item.)

However, to get it to work properly without clipping, you have to remove all other "hats" (for all possible ranks) from that position. There's a line for this in the UPC files. Or you get something that looks like this. The funny thing is a global item command doesnt work when removing hats. So you have to specifiy, each and every single individual hat to be removed so you don't get clipping issues.

The end result, if i remember correctly, is that whenever that gun position is manned, the normal hats are removed, and the helmets are placed.

In defense of the RFB guys, how to do this wasn't discovered until after they had wound down on development. Had they still been actively working, I'm sure they would have added it. As an aside, its not hard to add yourself. In fact, i'll bet you could copy and paste the associated 4 lines of code from a TMO upc file into a RFB upc file, and it would work without a hitch.

The exact lines and all that, i don't have infront of me. But, look for the crew assiggnments while at battle stations, 3d rendering, accessories added and subtracted. it'll probably be in the UPCData/UPCUnits data, the uniparts file that define crew for conning towers and such. Look in there, and find the lines that extend waaaaaaaaaaaaaayyyyyy over to the right with a huge list of hats. That'll be the lines you need to copy and paste. Once you see them, i think it's self explanitory on what you need to copy.
Ducimus is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.