![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
11-01-11, 06:42 PM
|
#1 |
|
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
|
Thanks, appreciate it.
Perhaps try a cleanup:
Are you running some tools that modify/monitor/control DirectX like Riva tuner, a 3D screen grabber, etc. (try turning off if you do). Some tools that monitor and hook DirectX (f.ex. to render an overlay) have been reported to cause issues. On the flip side, some of these tools could actually maybe solve it, by forcing DirectX to 'not' use anisotrophic and/or antialiasing (which S3D does use if your GPU supports it). Just some idea's...
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
|
11-05-11, 10:14 PM
|
#2 | |
|
Chief
![]() Join Date: Feb 2011
Location: In the past...
Posts: 321
Downloads: 89
Uploads: 1
|
Quote:
thanks for the suggestions!edit: Just tried the full uninstall/reinstall, no dice... tried resetting Nvidia software to default to try to allow S3D to pick and choose, no dice... And I'm not running any of these other programs. I do usually have Nvidia force antialias, It makes the game look amazing lol... And coming to think on it, I don't remember ever being able to see interiors with S3D on my new rig... only exteriors... *hmmm*
__________________
God is a comedian playing to an audience too afraid to laugh. -Voltaire Last edited by postalbyke; 11-05-11 at 11:50 PM. |
|
|
|
11-09-11, 09:28 AM
|
#3 | |
|
Admiral
![]() |
Hi Skwasjer, been a long time since we spoke.
I know you have pretty much stopped work on the Silent 3Ditor, but I have a question regarding an issue I'm having. I'm trying to simply have the TBT on the bridge highlight able with a mouse capture and linked to the UZO_camera. One click on the object and your taken to the Uzo camera. In the below image I've got a "Focusable3DObj" opened up. In the "CameraList" section, the available camera names are "pre listed" (with only a partial listing shown). I've highlighted the "ConningDeck" camera. My issue is this: I'm unable to highlight the TBT object and link a camera to it. The name 3Ditor uses ("ConningDeck") on its listed possible camera links (I believe) is not correct. Please, pay no attention to the below "Parent ID:" and say, "There's your problem. It's listing something other than the TBT object". I've opened up this particular "Focusable3DObj" just for illustration. ![]() I also base my opinion on the fact that the "Data\Cfg\Commands.cfg" file lists the stock game "Bridge" F5 keyboard command as "Conning_deck_camera" not "ConningDeck_camera". I believe the listing of "ConningDeck" should be "Conning_deck". My issue is, how do we change this name? While we're on the same subject. Your camera links menu left out a camera used on the German side, it's Radio Room camera. This is the camera having the name "Interior_radio_camera". It's also listed in the Commands .cfg file. As has been done with mods, the German radio room has been ported over to the American subs. However, without the ability to have the "Interior_radio" to be listed in the 3Ditor "CameraList" there is little we can do to add another camera link from this position. Any help would be appreciated.
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
|
|
|
|
11-09-11, 10:16 AM
|
#4 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
You can edit the *.cs files for S3D
![]() Open them with notepad and study them abit. It's pretty easy once you play with them some. Remember to keep backups as you learn. |
|
11-10-11, 08:00 AM
|
#5 |
|
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
|
@CapnScurvy
The lists you refer too are not the same. The picklists in S3D's property editor are all predefined enumerations. Their names have NO meaning to the game, only the actual value that they represent (an integer type), unlike actual commands which are of type 'strings'. The example ConningDeck you gave for all we care could be named 'SomeStupidName'. But the value in the DAT-file is actually stored as an integer value '5'. The reason I chose for these descriptions is: a) readibility b) conformance to C# coding style The descriptions are actually taken from C-style declarations stored in the .ACT files. These are much less readable, because they usually are all caps, and with meaningless prefixes (to non-coders, mind you). Since S3D was written to assist modders, I chose to transform these C-style declarations to C#-style declarations which are easier to read. This enumeration in particular may put you on the wrong foot, since you see similar commands like Conning_deck, but make no mistake, the enum type here is a list of defined Camera's, while the Conning_deck command is a command that jumps to a specific station, which is not the same (per se). If the ACT-file does not have the definition, then adding them to the .CS file like privateer says may more than likely NOT work, even though a companion command may exist. I've copied all enumerations from the .ACT-files (from SH4, which may be the reason why the german camera is not there), and while I may have made a mistake here or there, 99% chance is that the enums are correct so if something is missing, it likely is NOT implemented by the devs. Just be carefull with changing enumerations, each entry is associated with an integer value, even if no number is assigned to it, in which they are anonymous and autoincrement. With these types of enumerations (and S3D has many of them), changing a name has no effect, but changing the order will actually change the value that each entry represents!!! So, to recap: - Enumerations are value types (integers), their 'name' is not stored and could be named anything you like (as long as it adheres to C# naming specs, meaning it can't start with a number, and can't contain most 'special' characters). - Commands are string types, their 'name' IS stored and must match exactly with whatever commands the game supports. [edit] Lastly, making the TBT clickable or highlightable on the bridge seems to be an actual game bug. Many have attempted to fix this. I can at least assure you that it has nothing to do with your question in particular, although perhaps it might be related (perhaps the value is actually incorrectly '5').
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO Last edited by skwasjer; 11-10-11 at 08:12 AM. |
|
|
11-10-11, 10:50 AM
|
#6 | |
|
Admiral
![]() |
Thank you Skwasjer and Privateer for your insights.
Yesterday after posting my question, I took a look into S3D and found the .cs file. I happily renamed the entities, added a few others for good measure and opened S3D to rework the parameters. Got nothing; well I got something! I found out that (as You said skwasjer) the enumeration system is the main source of linking the camera's and that going out of the set number of camera's listed only puts you to the desktop in a trot! So, today I see both your posts and wholeheartedly agree. Yep, you can mess around with the names in the .cs files but that isn't going to get you any farther in making things work. Adding additional ones, and you got a whole lot of cleanup to do after the mess. Thanks for the replies. Especially your through explanation skwasjer. Helps a lot in understanding what happened yesterday. Nothing ventured, nothing gained.
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
|
|
|
|
11-10-11, 11:24 AM
|
#7 | |
|
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
|
Quote:
![]() But still, that unclickable TBT is annoying as hell. When copied exactly from SH3 it still does not work, I have tried it, Ducimus has tried it, and others have too. The only thing I can think of is that I (like I've indicated) made an errors when copying the enumeration. I can't check though because I don't have the game installed for a long time
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
