01-12-2010, 03:15 AM | #1 |
Ingame wave music
Hi there.
Can anyone show me the best and the most simple way to play wave music files ingame just like in the old Starship Troopers TC. I need this feature for my mod which will based on Dos Duke (not any port). Thanks in advance.
__________________
Ok, now it's my turn... |
|
01-12-2010, 03:20 AM | #2 |
Re: Ingame wave music
First things first, most modders are now on D4N, so you really should post any modding questions there as most here will go by unnoticed.
http://forums.duke4.net/index.php?showforum=26 Secondly, may I ask why you are using Dos duke for a mod. I could understand trying to keep to the roots of the game, but if it comes to playing a mod I'm going to be using EDuke32 and if I need Dos box to run it I'm not likely to bother. You do know that EDuke32 does have a software render which displays the game just how dos duke would?
__________________
I Know Everything There Is To Know About Anything. Duke Nukem Red Alert SVN Ask Me Anything! |
|
01-12-2010, 03:39 AM | #3 |
Re: Ingame wave music
I know this forum and the answers I got there don't satisfy me - in other words I got no answer...
I am using Jonof's port myself, but the iron requirement is: it has to work with Dos Duke period. I won't be using Eduke32. First, the Mapster is bad, second after double alt-tab I have cursor on the screen and third I love its author
__________________
Ok, now it's my turn... |
|
01-12-2010, 06:00 AM | #4 |
Re: Ingame wave music
EDuke32 does not have any on screen mouse problems and hasn't for months.
__________________
I Know Everything There Is To Know About Anything. Duke Nukem Red Alert SVN Ask Me Anything! |
|
01-13-2010, 09:22 AM | #5 |
Re: Ingame wave music
Too be honest the feel of EDuke32 has actually gotten ALOT better in the past few months. I have spoken out against it numerous times, but I have actually tried the latest release and to be honest with you, I wouldn't go back to JonoF or DOS Duke again.
Off topic but I do apologize to TerminX and everyone but on topic there aren't any advantages to keeping the old shit around anymore. |
|
01-13-2010, 09:27 AM | #6 |
Re: Ingame wave music
Yes, now that the killer sound bug is fixed there is only one tiny issue left.
I can't see any other game breaking problems.
__________________
I Know Everything There Is To Know About Anything. Duke Nukem Red Alert SVN Ask Me Anything! |
|
01-13-2010, 05:48 PM | #7 | |
Re: Ingame wave music
Quote:
No idea why LAW feels the way he does but anyway you might want to ask the community's new CON coding wizard, DeeperThought.
__________________
traB pu kcip |
||
01-13-2010, 11:02 PM | #8 |
Re: Ingame wave music
The simplest way of adding WAV or VOC music is to simply name the music file the same name as an in-game sound effect and make it play as a loop. (Either VIA mapping or CON coding)
Or if you want to go a bit deeper, you could add a new sound to the definitions (DEFS.CON IIRC) and play it when the level starts by either a custom actor, or by more complicated means... But, then again, I don't know a lot about CON or Duke modding anymore, I would just PM DeeperThought about it. Also, not sure what's wrong with EDuke32, are you, maybe wanting to play this on an old DOS machine?
Last edited by Dopefish7590; 01-13-2010 at 11:05 PM.
|
|
01-14-2010, 02:41 AM | #9 |
Re: Ingame wave music
I don't know how SST did it, but I think all you have to do is add one line to the APLAYER actor that says "soundonce SOUNDNAME". But perhaps there is a better method. See this part of USER.CON:
// ***************************************** // ACTOR SOUNDS // ***************************************** // BIT 0 (1) Repeat // BIT 1 (2) MUSICANDSFX (used for) // BIT 2 (4) A Duke Voice // BIT 3 (8) Par. Lockout // BIT 4 (16) Glob. Heard (sndist = 0) I would try using bit 1 and 4 in the sound definition (so the fourth parameter in the definesound line for the sound would be 17). Then maybe you could define an actor that simply plays the sound one time and place the actor near the player start position. You could have a different actor for each .wav, so you could easily have different music for each level (which would be harder to do in 1.5 CONs if the APLAYER actor is making the sound). And that's all I have to say about it. By the way, it's really stupid to not to use EDuke32.
__________________
DUKE PLUS New map effects and various optional extras for Duke 3D. DUKE NUKEM: ATTRITION XP based weapon upgrades, progressive difficulty, and more. |
|
01-29-2010, 02:07 PM | #10 |
Re: Ingame wave music
Hah.
It is exactly what I need. Thanks Deeper Thought. Anyway I set the fourth parameter to 16 and I don't see any difference with bit 17. I don't use Eduke. I don't need it. I like the limits which Duke has. If I wanted to create some unbelievable things I would make a mod for Half-Life 2...
__________________
Ok, now it's my turn... |
|
01-29-2010, 09:30 PM | #11 | |
Re: Ingame wave music
Quote:
EDuke32 started as a fork of JonoF's port. It is based directly upon it, but has many improvements. Moreover, if you release your project, everyone is going to play it using EDuke32 whether you want them to or not, so it's a good idea to know what kind of experience they are going to have.
__________________
DUKE PLUS New map effects and various optional extras for Duke 3D. DUKE NUKEM: ATTRITION XP based weapon upgrades, progressive difficulty, and more. |
||
02-01-2010, 01:22 PM | #12 |
Re: Ingame wave music
Believe me that DT is right. NOONE will play this in dos mode apart from you. Besides your argument fails because it can be unbelievable, especially if you use eduke. We are ashamed of you here in Poland
|
|
02-01-2010, 03:33 PM | #13 |
Re: Ingame wave music
Show me something that has been done in HL2 that can't be done in EDuke32.
__________________
I Know Everything There Is To Know About Anything. Duke Nukem Red Alert SVN Ask Me Anything! |
|
02-04-2010, 08:12 AM | #14 | |
Re: Ingame wave music
Quote:
Anyway, I am using Jonof's port because it gives me more FPS than Doboxed Duke And who said I am using Polymost? To be honest I think it is awful. I am using 8-bit classic mode all the time. And I have to correct myself. My mod will have some "Half-life'ish" & unbelievable things and what is the most important: it will be done on 14 years old game. That's what I am proud of. I don't need any Edukes...
__________________
Ok, now it's my turn... |
||
02-04-2010, 11:18 AM | #15 |
Re: Ingame wave music
You do know that EDuke32 has a software mode that is more reliable than JFDukes.
JFDuke is dead and no one uses it anymore.
__________________
I Know Everything There Is To Know About Anything. Duke Nukem Red Alert SVN Ask Me Anything! |
|
02-11-2010, 08:52 AM | #16 |
Re: Ingame wave music
Does it matter? Even if he makes it with Jonof / DOS duke we can still play it with Eduke32
__________________
traB pu kcip |
|
02-11-2010, 08:58 AM | #17 | |
Re: Ingame wave music
Quote:
That way he will be able to make use of more things etc.
__________________
I Know Everything There Is To Know About Anything. Duke Nukem Red Alert SVN Ask Me Anything! |
||
02-12-2010, 12:03 PM | #18 |
Re: Ingame wave music
Of course you're right, but LAW is stubborn so you might as well not bother
__________________
traB pu kcip |
|
02-12-2010, 12:08 PM | #19 |
Re: Ingame wave music
Just like you at times.
__________________
I Know Everything There Is To Know About Anything. Duke Nukem Red Alert SVN Ask Me Anything! |
|
03-01-2010, 04:05 PM | #20 |
Re: Ingame wave music
Bah, of course I will try it with eDuke. I have the package called "eduke32current something something", but I don't know how current is it The good news is I will release some cool stuff very soon...
__________________
Ok, now it's my turn... |
|
03-01-2010, 05:07 PM | #21 | |
Re: Ingame wave music
Quote:
http://dukeworld.duke4.net/eduke32/synthesis/ That has the latest compiled version, with revision 1599 being the latest. (you download the .zip file and not the .tar.gz unless you want to compile it yourself) You can find unofficially compiled ones here that are quite up to date. http://hendricks266.duke4.net/eduke32/ But the "current" one works fine in the end unless you are into your heavy Duke modding.
__________________
I Know Everything There Is To Know About Anything. Duke Nukem Red Alert SVN Ask Me Anything! |
||
Bookmarks |
Thread Tools | |
|
|