![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
06-09-09, 01:03 PM
|
#1 |
|
Ocean Warrior
![]() Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,018
Downloads: 175
Uploads: 16
|
I think I just saw a grey hair appear from that thought lol. But that is an idea. Also the torpedoes themselves would be something to look at as well. there might be something in there that could provide a clue.
__________________
USS Kentucky SSBN 737 (G) Comms Div 2003-2006 Qualified 19 November 03 Yes I was really on a submarine. |
|
|
06-09-09, 03:16 PM
|
#2 | |
|
Frogman
![]() Join Date: Apr 2008
Posts: 308
Downloads: 71
Uploads: 0
|
Quote:
What I would like to know is whether or not Silent 3ditor 0.9.4 shows all available information, both adjustable and not. I know this is something that I might need to take up with its creator, but I get the feeling that there is more to some of the entries than what is displayed. For example, some nodes which seem like they should have some sort of effect (cfg attached to the name) only have their name and id stated and then nothing else... On the idea of working with the torpedoes instead of the launchers, I think that there might be something there, though I'm willing to be that any solution is going to have to be a combination of both, first by getting the torpedoes to be able to mover vertically, and also by getting the launcher to eject vertically. Right now, I'm playing around with the torpedoes.dat trying to get the TASMs to at least achieve vertical before exiting the water to see if I can't trick them into shooting up before out.... |
|
|
|
06-09-09, 08:31 PM
|
#3 |
|
Frogman
![]() Join Date: Apr 2008
Posts: 308
Downloads: 71
Uploads: 0
|
Ok, I think I've figured it out, but I don't know if the fix is doable... The torpedo will always align itself with the horizontal direction of the primary node (ie. the one that hosts everything else, including the 3d model), so I think the solution, in the short term, is to create a "phantom" node which has been set at a 90* angle to the non-phantom model to contain the VLS tubes. The phantom node could be invisible except for the tube hatch doors (inner) which dictate the lateral positioning of the torpedo launch.
This all sounds good in theory, but I can't seem to get the game to accept a second "primary" node. No matter what variables I set, the game crashes as it tries to render the scene after the session loading screen (the one right before you actually start playing). Now, I've tried making everything invisible, copying the primary node over to the secondary node, and even remapping the id structure, but nothing seems to get it to work. Now, I'm really hoping that this is all owing to the fact that I have very little experience working with the structure of the .dat file, and that someone with a great deal more experience than I knows either a way to get it to work, or is at least able to tell me why the idea won't work... mostly so I can try and find a workaround... and also where I can find some sort of documentation or tutorial about how to work with the .dat file of a sub. Thoughs? Greg |
|
|
06-10-09, 07:58 AM
|
#4 |
|
Weps
![]() Join Date: Sep 2005
Posts: 359
Downloads: 43
Uploads: 0
|
Interesting find on the primary node alignment. In terms of implementation - are you having, in effect, two complete copies of an entire sub in the .dat, one visible, one not, and one rotated vertically ?
If so ... not sure if this will cause CTD. If you've remapped all ID's, then it should. One thing I would recommend is removing nodes with duplicate names for; rudder, torpedo doors, propellers, bow plans. These are refereced by name and not just ID in the subs .sim file - for example where a torpedo door name in the .dat does not match the names in the .sim, you get CTD. What I think you may have is one of the above items appearing twice causing a lookup failure / issue in the .sim file. Whenever I work on torp doors, I always have the .sim file open at the same time and step through each tube in turn, if that makes sense. Good luck. |
|
|
06-10-09, 11:25 AM
|
#5 |
|
Navy Seal
![]() Join Date: Feb 2008
Location: Milan Italy
Posts: 5,000
Downloads: 114
Uploads: 17
|
this really interests me even though my IJN subs don't need it
when the torp/missile is fired vertically, how do you intend to make it turn back to the horizontal and fly like a real missile towards the target ? keltos |
|
|
06-10-09, 01:47 PM
|
#6 | ||
|
Frogman
![]() Join Date: Apr 2008
Posts: 308
Downloads: 71
Uploads: 0
|
Quote:
I actually think that this isn't the way to go about it though, because I can foresee quite a few issues arising from the vertical model sticking out of the top and bottom of the boat, visible or not... the game my try to calculate collisions with the ground using the piece that's hanging down 100-200 feet, or enemies might be able to see it despite the fact that the sub is submerged because the bow is an extra 50 feet in the air. Instead, I think that the best way to really work this idea into a sub model would be to build the vertical node so that it only contains the inner and outer doors, since they are the minimum required to make the missile / mine exit the sub, or to really build the sub in seperate sections. The second option here would probably have the main node contain the parts of the boat needed to be aligned correctly (prop, rudder, planes, sail, and most of the body), and then the second node containing the sections of the boat which need to be aligned vertically. The only reason I can see to really go through this much trouble is that there might be some instability or ctd caused by the two primary nodes overlapping each other as they are in the first model. Either way, I've still not gotten the setup to even load in game yet, so I'm not even sure that the thing will work. One part of the problem that I've found, is that the game wants the boat to settle with its primary node parallel to the horizon. I figured this out when I was testing the torpedo initial alignment theory because I had set the original primary node at a 90* angle, and when I loaded the game, the sub was pointing straight up, but then immediately began settling to horizontal. What this means is that any secondary node will need to either a) have no mass so that it will not try to settle, or b) be shaped in such a way as to have to real reference to "up" except for where the weapons launch from. Quote:
Anyway, I'm still playing around with the dat file trying to get it to work, but I really feel like I'm just stumbling around in the dark. So without some additional pointers and direction (thank you already polyfiller), I'm not sure how long this will take, if I can get it to work at all, but that being said, at least its a start. Greg |
||
|
|
06-10-09, 01:54 PM
|
#7 |
|
Frogman
![]() Join Date: Apr 2008
Posts: 308
Downloads: 71
Uploads: 0
|
Also, polyfiller, were you saying that by remapping everything I've caused it to start CTDing, or that because I did that, it should be working?
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
