Duke4.net Forums: Duke Nukem 3d new sound. - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Duke Nukem 3d new sound.  "comment ajouter des sons?"

User is offline   geomancien 

#1

Hello!

I would like to see how it sounds for added duke nukem 3d.
because I already tried but failed I board. :)

(Sorry for my English, I write with google translation) :wacko: B)
0

#2

im not sure i understand what you mean xD
do you need to have your sound defined into the game?
0

User is offline   MIKE SIMS 

#3

I think what he means is he's tried adding custom sounds to DN3d but it didn't work. Is this correct? What is your native Language BTW?
0

User is offline   Sebastian 

#4

French.
0

User is offline   geomancien 

#5

yes I'm French and I try to add new sounds for Duke Nukem 3D. but when I add and I start eduke32 sounds do not play her.
can you tell me the walking track? :wacko:
0

#6

try post what you did, that should help us :wacko:

normally you haev to define the sound first. place the sound file in a folder where you should have your suond files.

then you go to the defs.con this is where the original game has their sound files defined. im pretty sure that the sound files are put into the grp file right?

define NEWPISTOLFIRE 401
definesound NEWPISTOLFIRE D2N/sounds/newpistolfire.wav -256 256 128 0 0

this is how my own new sound for my pistol is defined. i have it in the folder called D2N/sounds/filedname.wav

first off you should name your sound. i named mine NEWPISTOLFIRE. then define it as a number. that should be 400 and up if you want to make it easier for urself.

then you should read at this site: http://wiki.eduke32....iki/Definesound what all of those numbers are for. -256 256 128 0 0. i dont remember why my numbers are those. might be stupid cuz it was my first sound file i defined hehe:P
this should do it for ya. unless i forgot something.
0

User is offline   geomancien 

#7

here is what I want to do:
in the game, when Duke kills a stripper he said two different reviews, sound files:

(USER.COM)

- Definesound DUKE_HIT_STRIPPER1 damnit04.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER2 damn03.voc 0 0 255 12 0

and I would like to add three more:
(USER.COM)

- Definesound DUKE_HIT_STRIPPER1 damnit04.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER2 damn03.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER3 damn04.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER4 damn05.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER5 damn06.voc 0 0 255 12 0

When I run and that I killed a stripper duke says that damnit04.voc and damn03.voc.

you have an idea? :wacko:
0

#8

View Postgeomancien, on Aug 23 2010, 02:51 PM, said:

here is what I want to do:
in the game, when Duke kills a stripper he said two different reviews, sound files:

(USER.COM)

- Definesound DUKE_HIT_STRIPPER1 damnit04.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER2 damn03.voc 0 0 255 12 0

and I would like to add three more:
(USER.COM)

- Definesound DUKE_HIT_STRIPPER1 damnit04.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER2 damn03.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER3 damn04.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER4 damn05.voc 0 0 255 12 0
- Definesound DUKE_HIT_STRIPPER5 damn06.voc 0 0 255 12 0

When I run and that I killed a stripper duke says that damnit04.voc and damn03.voc.

you have an idea? :wacko:


first you need to see if you can get 1 of the sounds to work. if you want 2 sounds be played then should it be with 50% or both at the same time?
anyway

first you have to define the sound. go to your DEF.COM go to the bottom of the pages and you will see that all of the sounds end at number 397 i think it was. you need to define the sound first. i suggest you trype: define DUKE_HIT_STRIPPER3 400. now that name DUKE_HIT_STRIPPER3 is sound number 400 in your DEF.CON now you have to define what that name of the sound really sounds like.

i have my effect sounds as .wav i dont know if thats better so here is what i would do:

definesound DUKE_HIT_STRIPPER3.wav 0 0 255 12 0


ok now you know what the sound is. then you have to find out when the sound should be played.

now you should either be in the GAME.CON or maybe your own .CON file where you edit things. then you should so that if you hit a stripper. then there is 100% chance that it plays that sound. have to go. i will edit this
0

User is offline   geomancien 

#9

what is the exact code in a meter GAME.CON for:
Definesound DUKE_HIT_STRIPPER3 damn04

because I do not know at all.
here's what I did:
GAME.CON, original:

lotsofglass 30

sound GLASS_BREAKING
ifrnd 84
spawn BLOODPOOL
respawnhitag

ifrnd 128
sound DUKE_HIT_STRIPPER1
else
sound DUKE_HIT_STRIPPER2

killifishes
)
else
ifp pfacing
ifpdistl FROZENQUICKKICKDIST
pkick
break
)

ifhitweapon
(
ifdead
(
ifwasweapon GROWSPARK
(
0 CSTAT
move 0
sound ACTOR_GROWING
Action FEMGROW
break
)
else ifwasweapon FREEZEBLAST
(
iFact FEMSHRUNK
break

ifactor NAKED1
Action FEMFROZEN2
else
ifactor FEM5
Action FEMFROZEN2
else
ifactor FEM6
Action FEMFROZEN2
else
ifactor FEM8
Action FEMFROZEN2
else
ifactor FEM9
Action FEMFROZEN2
else
ifactor FEM10
Action FEMFROZEN2
else
ifactor TOUGHGAL
Action FEMFROZEN2
else
ifactor PODFEM1
Action FEMFROZEN2
else
Action FEMFROZEN1

move 0
spritepal 1
0 strength

sound SOMETHINGFROZE

break
)

ifrnd 128
sound DUKE_HIT_STRIPPER1
else
sound DUKE_HIT_STRIPPER2

and GAME.CON I edit:


lotsofglass 30

sound GLASS_BREAKING
ifrnd 84
spawn BLOODPOOL
respawnhitag

ifrnd 128
sound DUKE_HIT_STRIPPER1
else
ifrnd 140
sound DUKE_HIT_STRIPPER2
ifrnd 152
sound DUKE_HIT_STRIPPER3
ifrnd 164
sound DUKE_HIT_STRIPPER4
ifrnd 176
sound DUKE_HIT_STRIPPER5

killifishes
)
else
ifp pfacing
ifpdistl FROZENQUICKKICKDIST
pkick
break
)

ifhitweapon
(
ifdead
(
ifwasweapon GROWSPARK
(
0 CSTAT
move 0
sound ACTOR_GROWING
Action FEMGROW
break
)
else ifwasweapon FREEZEBLAST
(
iFact FEMSHRUNK
break

ifactor NAKED1
Action FEMFROZEN2
else
ifactor FEM5
Action FEMFROZEN2
else
ifactor FEM6
Action FEMFROZEN2
else
ifactor FEM8
Action FEMFROZEN2
else
ifactor FEM9
Action FEMFROZEN2
else
ifactor FEM10
Action FEMFROZEN2
else
ifactor TOUGHGAL
Action FEMFROZEN2
else
ifactor PODFEM1
Action FEMFROZEN2
else
Action FEMFROZEN1

move 0
spritepal 1
0 strength

sound SOMETHINGFROZE

break
)

ifrnd 128
sound DUKE_HIT_STRIPPER1
else
ifrnd 140
sound DUKE_HIT_STRIPPER2
ifrnd 152
sound DUKE_HIT_STRIPPER3
ifrnd 164
sound DUKE_HIT_STRIPPER4
ifrnd 176
sound DUKE_HIT_STRIPPER5


or is the error?

what is the exact code?

This post has been edited by geomancien: 23 August 2010 - 08:15 AM

0

#10

yes that was what i would say before i left. but im pretty sure that there is a much easier way to do that. i just dont know since i havent worked with suck tiles yet :S

but ur ifrnd is wrong.

ifrnd 256 = 100%

ifrnd 128 = 50%

ifrnd 64 = 25% not sure about that one. but i think it is. i havent worked with ifrnd so much. only the 128% as that is the 50% but im not sure how you should set up the ifrnd 64...

try see if you can find an example in some of the other states or whatever you look at.
also you should check if there are more places where they place those definitions. if you look at this, it has ifwasweapon conditions. so im really not sure on this one. but there should be an easier way to do that. you should also try loading your games everytime you make just a short edit if you are not sure :wacko:
0

User is offline   geomancien 

#11

I tried several codes but none function. :wacko:

I do not know what to do. :)
0

#12

try and use the freezegun or growgun. then lets see what happens
0

User is offline   geomancien 

#13

still nothing.

that these are annoying. :) :wacko:
0

#14

instead of adding the new files. try and change what they should usualy play with with ones you made. so that the sound will be 3 and 4 instead of 1 and 2. then we will see what happens
0

User is offline   geomancien 

#15

in fact I have already replaced the 2 first and I still have 3 to add but I can not find the walking track.
it's really frustrating. :wacko:
0

#16

the different strippers, oftent called FEM are put in the GAME.CON with actors. you could make an ifactor, or you could make a new state and put it into the actors. understand?
0

User is offline   geomancien 

#17

yes I understand what you are trying to tell me may I not know much programming, so if you could explain step by step what will be great.
but for now I'll have to leave you because I am very tired and must go to bed, so we'll see it tomorrow.

thank you very much for helping me, tomorrow is my friend. :wacko:
0

User is offline   geomancien 

#18

Hello again,
well then that is what I did today, I searched the internet for a mod (TC) for Duke Nukem, hoping to find "the file GAME.CON" which could contain more than two different sounds for striptease , Which will allow myself to model it, but there are so many mod (TC) for Duke Nukem I can not do them all.

so if anyone know of a mod (TC) that contains the code for more than 2 comment when Duke Nukem kills stripteaseuse.est what can I say?
0

#19

View Postgeomancien, on Aug 24 2010, 09:04 PM, said:

Hello again,
well then that is what I did today, I searched the internet for a mod (TC) for Duke Nukem, hoping to find "the file GAME.CON" which could contain more than two different sounds for striptease , Which will allow myself to model it, but there are so many mod (TC) for Duke Nukem I can not do them all.

so if anyone know of a mod (TC) that contains the code for more than 2 comment when Duke Nukem kills stripteaseuse.est what can I say?


hi again. if this is the first sound that you try to put into the game. then the first thing i recommend you to do, is to test it so you are sure that it works. so you have to find a place in the game where you are 100% sure that the sound should play.
for example try and change the sound that should play when you talk to a stripper or whatever you do xD then change it to maybe the pistol sound. then you know that its the right place to set your sound. when you are sure that the sound works, and that the place that you set the sound works, then it would all work right? if one of these 2 steps fail then tell me.
as i see it right now. both of these steps could fail for you.

This post has been edited by Jhect: 25 August 2010 - 08:29 AM

0

User is offline   geomancien 

#20

Well then, here are new, reinstall my Duke Nukem 3D Atomic Edition, then I install EDUKE32 then I install my patch and I started a new game and kills a stripper when the patch worked perfectly But I realized it does not all the time and its weird.

then I would ask you, if I send you the files, is that you might have watched it wrong? :wacko:
0

#21

View Postgeomancien, on Aug 26 2010, 02:30 PM, said:

Well then, here are new, reinstall my Duke Nukem 3D Atomic Edition, then I install EDUKE32 then I install my patch and I started a new game and kills a stripper when the patch worked perfectly But I realized it does not all the time and its weird.

then I would ask you, if I send you the files, is that you might have watched it wrong? :wacko:


ok im not 100% sure about what happens here but you can send me the files o.O xd
0

User is offline   geomancien 

#22

email address?
0

#23

its bullerbuller7@hotmail.com

but what is wrong with the files?
0

User is offline   geomancien 

#24

I have you to send the patch. :wacko:
0

User is offline   geomancien 

#25

Did you find my patch problem?
0

User is offline   geomancien 

#26

I just try and patch works perfectly.

I thank you for having taken time, help me.

1000 thank you my friend.

(Thank Duke Nukem Forever)

I shall edit the file for those interested in its
Attached File  GAME.CON (148.12K)
Number of downloads: 355

This post has been edited by geomancien: 04 September 2010 - 11:19 AM

0

#27

View Postgeomancien, on Sep 4 2010, 09:14 PM, said:

I just try and patch works perfectly.

I thank you for having taken time, help me.

1000 thank you my friend.

(Thank Duke Nukem Forever)

I shall edit the file for those interested in its
Attachment GAME.CON


is there more work to do on this mod? or is it done now :D
0

User is offline   geomancien 

#28

yes there is still work to do over, he did not finish. :D
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options