![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
The Old Man
![]() Join Date: Aug 2006
Location: Yonkers, NY U.S.A.
Posts: 1,507
Downloads: 154
Uploads: 0
|
![]()
After watching some of the videos by Lord Cucumber, I noticed a small detail that I think is missing from RFB. I believe LC uses the latest TMO in his videos, and I noticed when he's at battlestations (when he remembers to call "battlestations
![]() ![]() |
![]() |
![]() |
![]() |
#2 |
Rear Admiral
![]() |
![]()
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. |
![]() |
![]() |
![]() |
#3 |
Ocean Warrior
![]() Join Date: Jan 2008
Location: Miami, FL
Posts: 3,052
Downloads: 36
Uploads: 0
|
![]()
I know nothing of modding, but would it be possible to edit the UPC as a whole new mod, and just apply it through JGSME?
__________________
|
![]() |
![]() |
![]() |
#4 |
The Old Man
![]() Join Date: Aug 2006
Location: Yonkers, NY U.S.A.
Posts: 1,507
Downloads: 154
Uploads: 0
|
![]()
Thanks for the info Ducimus. If you could somehow post those lines of code so they could be copied and pasted that would be great. Better still would be to make the files JSGME ready as Spike suggested if at all possible.
|
![]() |
![]() |
![]() |
#5 |
Ocean Warrior
![]() Join Date: Jan 2008
Location: Miami, FL
Posts: 3,052
Downloads: 36
Uploads: 0
|
![]()
In TMO, there are several people near the deck gun/AA gun, how easy would it be to add them? Do I need to change information, or do these spots already exist?
__________________
|
![]() |
![]() |
![]() |
#6 |
Rear Admiral
![]() |
![]()
Here's an example.
Code:
UserPlayerUnit 1.Compartment 8.CrewMemberSlot 2] ID=CrewMemberSlot_DGunC1 NameDisplayable= Deck Gun Crew Type= Crewman WatchIndex= 0 IDLinkCrewMember= NULL WatchCrewMemberSlot3D= WM1@slot_M02 BattleStationsCrewMemberSlot3D= WM1@slot_M02 WatchAccessoriesForAdding3DObjects= sapca_ca#Head WatchAccessoriesForSubtracting3DObjects= sapca_o01, sapca_o02, sapca_o03, sapca_o04, sapca_o05, sapca_o06, sapca_o07, sapca_o08, sapca_o09, sapca_o10, sapca_o11, sapca_o12, sapca_m01, sapca_m02, sapca_m03, sapca_m04, sapca_m05, sapca_m06, sapca_m07, sapca_m08, sapca_m09, sapca_m10, sapca_m11, sapca_m12, nco_o01,nco_o02, nco_o03, nco_o04, nco_o05, nco_o06, nco_o07, nco_o08, nco_o09, nco_o10, nco_o11, nco_o12, sapca_mp01, sapca_mp02, sapca_mp03, sapca_mp04, sapca_mp05, sapca_mp06, sapca_mp07, sapca_mp08, sapca_mp09, sapca_mp10, sapca_mp11, sapca_mp12 BattleAccessoriesForAdding3DObjects= sapca_ca#Head BattleAccessoriesForSubtracting3DObjects= sapca_o01, sapca_o02, sapca_o03, sapca_o04, sapca_o05, sapca_o06, sapca_o07, sapca_o08, sapca_o09, sapca_o10, sapca_o11, sapca_o12, sapca_m01, sapca_m02, sapca_m03, sapca_m04, sapca_m05, sapca_m06, sapca_m07, sapca_m08, sapca_m09, sapca_m10, sapca_m11, sapca_m12, nco_o01,nco_o02, nco_o03, nco_o04, nco_o05, nco_o06, nco_o07, nco_o08, nco_o09, nco_o10, nco_o11, nco_o12, sapca_mp01, sapca_mp02, sapca_mp03, sapca_mp04, sapca_mp05, sapca_mp06, sapca_mp07, sapca_mp08, sapca_mp09, sapca_mp10, sapca_mp11, sapca_mp12 |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|