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

Reply
 
Thread Tools Display Modes
Old 01-18-08, 02:34 PM   #1
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


[tec] Need help with clickable TBT while on bridge

Ok, ive been spending alot of time in S3D lately. I blame skwasjer for fueling my modding addiction. Anyway, im at an impass right now because i cannot understand why it this doesnt work!

First, after much digging around, i found that the gyocompass, and throttle gauge you see on the bridge are located in the US_Sensors.* files. (locating those, helped me locate where the TBT stuff is being kept)

So then, let me explain my findings:


It appears theres two acutal views to the TBT, similar to how the attack periscope works where you can "take your eye" off of it , but still be attached to it. The object in this screenshot here i believe is basically saying, "If your on the bridge, click me, and i will give you a zoomed in view of the TBT, but not acutally looking inside the TBT"



The object here, appears to be saying, "If your looking at the TBT, click me again, and you'll be in the TBT view.

Sounds pretty cool so far. More robust then i gave it credit for. Hell, its better then Sh3's functionality of this from the looks of things.

So then, onto our next slide:

Both of the above focusable objects have a child to parent relationship with this object (see ID's and parent ID's).


So, now the big question is,..

why won't it work? Ive tried adding tooltip info to all of the above, and they never show up in game. Ive said, time and time again, 3d modeling is not my forte. Im basicaly swinging a sword in a pitch black room, hoping i get lucky hit.
Ducimus is offline   Reply With Quote
Old 01-18-08, 03:07 PM   #2
sergbuto
Pacific Aces Dev Team
 
Join Date: Sep 2002
Location: Sweden
Posts: 1,331
Downloads: 15
Uploads: 0


Default

I had a brief try before the patch to make a clickable TBT. It did not work out. My guess is that this procedure does not work for cfg# nodes.
__________________
Serg's SH4 and SH3 pages
sergbuto is offline   Reply With Quote
Old 01-18-08, 03:27 PM   #3
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by sergbuto
I had a brief try before the patch to make a clickable TBT. It did not work out. My guess is that this procedure does not work for cfg# nodes.
Was just experimenting with the CFG nodes. No luck as of yet.
Ducimus is offline   Reply With Quote
Old 01-18-08, 04:47 PM   #4
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

I think you have to start playing with the conning tower files, and work with the TBT node (the placeholder). You can attach a Focusable3DObj in the .sim file and a CamUserData in the .cam file. I'll have a look as well
skwasjer is offline   Reply With Quote
Old 01-18-08, 04:58 PM   #5
sergbuto
Pacific Aces Dev Team
 
Join Date: Sep 2002
Location: Sweden
Posts: 1,331
Downloads: 15
Uploads: 0


Default

Quote:
Originally Posted by Ducimus
Was just experimenting with the CFG nodes. No luck as of yet.
I did not mean the actual cfg# nodes, I meant what is sitting on them or similar nodes. I should've said "cfg# nodes/external objects". In this context what one could check is to put the 3D model of TBT in conning tower's Dat file as an internal object or to merge the conning tower with sub's DAT file in the submarine folder and see if clickable TBT would work.
__________________
Serg's SH4 and SH3 pages
sergbuto is offline   Reply With Quote
Old 01-18-08, 05:04 PM   #6
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

The acutal TBT that is rendered, im thinking is in the tower dat files. I can add a second one via the sub.eqp file, and i can remove all stuff but the TBT from said eqp file. So the TBT assignment has to be in the dat file.

I tried adding a focusable object in the tower.sim file, and gave it a child relationship to the TBT model in the dat file, but it didnt work. I didnt however, try adding anything to the cam file.
Ducimus is offline   Reply With Quote
Old 01-18-08, 05:07 PM   #7
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Quote:
Originally Posted by Ducimus
The acutal TBT that is rendered, im thinking is in the tower dat files. I can add a second one via the sub.eqp file, and i can remove all stuff but the TBT from said eqp file. So the TBT assignment has to be in the dat file.

I tried adding a focusable object in the tower.sim file, and gave it a child relationship to the TBT model in the dat file, but it didnt work. I didnt however, try adding anything to the cam file.
No, the TBT model sits in the sensors_sub_us.dat. The node that holds the TBT_Base is the node that is placed on every dummy_tbt node in the tower. Like I said above, I think the focusable should be added in those files and linked to the dummy. SH3 has it this way as well.
skwasjer is offline   Reply With Quote
Old 01-18-08, 05:10 PM   #8
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

To my amateur ear this sounds like the same visual effect as the
periscope in shIII where if you clicked you would get a close up.
if you clicked again you would be looking through the eyepiece.

now I am definetely not the guy to know but shouldnt you find
a camera control in the cam file. as far as the triggered first view
goes anyway the other is just a command to switch to the existing
eyepiece view.

M:hmm:
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 01-18-08, 05:24 PM   #9
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by skwasjer
No, the TBT model sits in the sensors_sub_us.dat. The node that holds the TBT_Base is the node that is placed on every dummy_tbt node in the tower. Like I said above, I think the focusable should be added in those files and linked to the dummy. SH3 has it this way as well.
Ahh ok.. thats what was confusing me. I was staring at the dummy node. How ironic. :rotfl:
Ducimus is offline   Reply With Quote
Old 01-18-08, 05:39 PM   #10
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

Anyway, I just tried it and it doesn't seem to work. I just don't have enough experience with the files...

[edit] Just had another look at SH3. Seems like it's a little different after all. I think you should stop listening to me... :rotfl:

Last edited by skwasjer; 01-18-08 at 05:59 PM.
skwasjer is offline   Reply With Quote
Reply


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 08:40 AM.


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