![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Black Magic
![]() |
![]()
we cannot define our own sounds and call them via script (tried every possible way/combination - everytime I use a pre-defined one it works). We have to use the existing ones that are given to us in Sh.sdl. So I'm going to write my own .dll and call it to have it play sounds for me
![]() |
![]() |
![]() |
![]() |
#2 | |
Serial Port Protector
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
|
![]() Quote:
...the only way i call new non used sounds using scripts is via ai crew strategy`s in 3D, but it seams that this isnt possible to call from your HUD script or ?
__________________
Stormy...... |
|
![]() |
![]() |
![]() |
#3 |
Serial Port Protector
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
|
![]()
@TDW you have PM...
EDIT: maybe the original HUD samples have also to be registered in a DSD file ?
__________________
Stormy...... |
![]() |
![]() |
![]() |
#4 |
Grey Wolf
![]() Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
|
![]()
Good luck to you two! Nice to see again progress in real time, and good work Stormfly on hotfix 2, I'll check the airplane guns later if I have time or notice any funny business.
![]() |
![]() |
![]() |
![]() |
#5 |
Black Magic
![]() |
![]()
my .dll is working superb!
![]() |
![]() |
![]() |
![]() |
#6 |
Serial Port Protector
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
|
![]()
great
![]()
__________________
Stormy...... |
![]() |
![]() |
![]() |
#7 |
Black Magic
![]() |
![]()
sorry there was tweaking my .dll and the code for it
![]() Your sounds work excellent for the radio messages ![]() ![]() I still have a little work to do on the the implementation of the .dll but it's minor in nature so I can send to you v6.4.0 as of now. Boy the hardest part of making the .dll was retrieving the handle of the main SH5 window. Now that I have it it opens up a whole new world of possibilities (DirectX anyone?). Now I should be able to capture anything I want from the mouse....oh this can get really interesting..... Last edited by TheDarkWraith; 02-09-11 at 05:39 PM. |
![]() |
![]() |
![]() |
Tags |
favorite |
|
|