![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
02-08-11, 10:42 PM
|
#1 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
02-12-11, 01:45 AM
|
#2 |
|
Convicted Ship Killer
![]() Join Date: Mar 2009
Location: Just out of sight... plotting your course and speed
Posts: 846
Downloads: 374
Uploads: 1
|
Will do, TDW... its as good as on its way.
__________________
Akula4745 ![]() "If you sit by the river long enough... the body of your enemy will float by -- SunTzu" |
|
|
02-12-11, 02:35 AM
|
#3 |
|
Black Magic
![]() |
this may not prove interesting to about 99% of you but I did find a way to manipulate menu items in C#
Basically anything that you have access to in the Script Editor can be accessible in C#, C++, Visual Basic, etc. All you have to do is add a reference to the ScriptManagerWrappers.dll file to your project ![]() Once you've done that you can pass ANY of those items to your application and perform work on them ![]() This is great because now one can hide all their code in a .dll file so no one with prying eyes can look it over to see how you did something
|
|
|
02-12-11, 03:44 AM
|
#4 | |
|
Planesman
![]() Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
|
Quote:
Would it be possible to convert the whole game? Eliminate python? (Thats just a theoretical question) |
|
|
|
02-12-11, 07:46 AM
|
#5 | |
|
Serial Port Protector
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
|
Quote:
__________________
Stormy...... |
|
|
|
02-12-11, 12:23 PM
|
#6 |
|
Watch
![]() Join Date: Jan 2010
Location: Hungary
Posts: 17
Downloads: 103
Uploads: 0
|
hi!
Torpedo door opening problem is the proposal? |
|
|
02-12-11, 12:27 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
Finally my ideas will be safe and I won't have to worry about others 'stealing' it This last point is especially important with the new finds I made!Successfully subscribed to game events in C# code now Wow, this is whole new world opening up.....
|
|
|
|
02-12-11, 12:38 PM
|
#8 |
|
Black Magic
![]() |
so here's something I've done that is pretty cool:
I took the high precision timer code that I wrote in Python, converted it to C#, subscribed to the game's TimeCompressionChanged event (so that the high precision timer can update itself with the current TC level) in the C# code ( ), had the high precision timer start a new thread to continuously update itself at 10ms intervals (so that I don't have to rely on the game's Animation timer which is very unstable).....result: a completely autonomous high precision timer completely independent from the game now THIS ROCKS! ![]() SOAN has been converted to a .dll The radio messages feature is being converted to a .dll to protect new features I'm adding to it at a later date I made a new .dll that encloses all my file utils for the game I made a new .dll that encloses all my utils for the game I made a new .dll that allows new sounds to be added to the game without registering with Sh.sdl (TDWSound.dll) I made a new .dll that allows the capturing of mouse parameters (buttons pushed, scroll wheel moved, mouse position, etc.) (TDWMouse.dll) Things are starting to get really interesting now...... |
|
|
02-12-11, 12:46 PM
|
#9 |
|
Planesman
![]() Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
|
You are creating a whole new game. You should consider a career in game development.
|
|
|
02-12-11, 03:14 PM
|
#10 | |
|
Planesman
![]() Join Date: Apr 2005
Location: Con dos cojones, ESPAÑA
Posts: 192
Downloads: 126
Uploads: 0
|
Quote:
I say because of this MOD: Stormy´s DBSM Collection. If no one but you can add more sounds to the game you should work togheter with Stormfly to add (battlestations, radiosounds, etc) Thanks and sorry for my bad english TDW, maybe my grammar is very bad and doesn´t understand anything. |
|
|
|
02-12-11, 06:42 PM
|
#11 |
|
Ace of the deep .
|
|
|
|
02-12-11, 08:28 PM
|
#12 | |
|
Samurai Navy
![]() Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
|
Quote:
|
|
|
|
02-14-11, 10:29 AM
|
#13 | |
|
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
|
Quote:
for all your nice work, you should open single threads. as i see now, here are 4 mods, or more in one thread. hard to scroll through all the pages, to know which is the newest stuff from you
__________________
|
|
|
|
02-12-11, 01:24 PM
|
#14 |
|
Sea Lord
![]() Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
|
Mayday!
Hi mates
Up to now SH5 has thanks to TDW just become more and more immersive and running better and better but now I've run into something strange. As soon as I order "scope depth", or any other depth, I get: "Runtime Error" "This application has requested the Runtime to terminate it in an unusual way" That's all it says. I have updated Java and I have run every available anti-virus software I have but nothing was to be found there... Maybe it isn't related to SH5 but something completely different. I'm currently running NewUIs_TDC_6_3_7_ByTheDarkWraith OS Windows7 64 bits Has anyone of you an idea why this happens and maybe a suggestion what to do? ![]() // |
|
|
02-12-11, 01:54 PM
|
#15 |
|
Sparky
![]() Join Date: Mar 2008
Location: Spain
Posts: 154
Downloads: 384
Uploads: 7
|
TDW = SHV GOD
__________________
http://www.subsim.com/radioroom/album.php?u=239334 |
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
| Thread Tools | |
| Display Modes | |
|
|
