Home   Help Search Login Register  

Author Topic: string names for injury sounds  (Read 986 times)

0 Members and 1 Guest are viewing this topic.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
string names for injury sounds
« on: 16 May 2003, 16:33:31 »
Hey!


I'm looking for string names for the sounds that you can hear in ofp when a unit gets hurt. The injury sounds.

Anyone have a clue?
Not all is lost.

Knut Erik

  • Guest
Re:string names for injury sounds
« Reply #1 on: 16 May 2003, 16:42:48 »
You never give up, do you, Artak.  ;)

Well, I say the same as in the official forum,
The russian and english sounds can be called with the playsound because they probably are deffined in some description.ext file deep, deep in the game system files.  >:( :(
As you probably have seen, the "hurt" files are not. I'm sure they are deffined in the config files of the units.  :(

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:string names for injury sounds
« Reply #2 on: 18 May 2003, 10:18:57 »
aye Knut, I think it's like that..

Assuming the other sounds are defined in some universal stringtable, where would I find it so I could add the hit sounds in there?
Not all is lost.

Knut Erik

  • Guest
Re:string names for injury sounds
« Reply #3 on: 18 May 2003, 20:27:06 »
I think that's a bad idea if you're planning to share the mission/script with all of us in the ofp comunity.
If you changes one of the system files in Ofp, then others that will play the mission will have to do, too  :-\

Offline Sentinel

  • Contributing Member
  • **
  • World is tough and I'm tougher!!
Re:string names for injury sounds
« Reply #4 on: 19 May 2003, 19:15:28 »
I used Amalfis PBO decrypter and extracted Dynamic sound.pbo (was it that?) in Addons folder. There was lots of ingame sounds as ogg-files. Chack that, there was injuries too.

Kaliyuga

  • Guest
Re:string names for injury sounds
« Reply #5 on: 19 May 2003, 23:03:09 »
 Well..  I did a bit of digging myself Artak, and inside the:

C:\Program Files\Codemasters\OperationFlashpoint\DTA\Sound\Voices

folder I found these files that are likely what you're after

hit11.wss          
hit12.wss
hit13.wss
..........
hit30.wss

(they're all there from 11 to 30, just didn't feel like typing all that ;D )

 hope these are the ones.. if not there are a couple other files I saw that could possibly be the sounds you're lookin for .. I just think that these .wss files are the ticket ;)

 If not let me know and I'll go digging around again to see if I can find em ;)

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:string names for injury sounds
« Reply #6 on: 21 May 2003, 16:01:26 »
OMG I just wrote an essay the page suddenly reloaded!  >:( :P


anyways..

Knut, I'm not going to change the game files, just trying to find the string names for the hit sounds.

Kaliyuga, thanks for seeing all that trouble, but I actually knew that all allready.

Sentinel, I indeed have unpbo'd the sound.pbo's over and over again, but it does me no good.


Sure I could just convert the hit.wss sounds to wav's and put them in my mission folder and define them in my description.ext, but sense the sounds are build-in I want to be able to use them as build-in g'daem!  ;D

The problem is that the engXX.wss or rusXX.wss sounds can be used with the playsound command. For example

playsound "eng1" will make an american voice yell "bastards!"

That's not the case with the hitXX.wss sounds though. Their string names are not the same as their file names. For example

playsound "hit11" will give you a 'no such sound error'.


I'd need the sounds for a poison script, which will make a poisoned guy randomly scream for pain. Here's a pic to make you motivated  :P

« Last Edit: 06 Dec 2003, 11:56:49 by Artak »
Not all is lost.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:string names for injury sounds
« Reply #7 on: 24 May 2003, 10:49:11 »
My pic scared you all of didn't it?  ;D

C'mon people, someone must know this. :-[
Not all is lost.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:string names for injury sounds
« Reply #8 on: 11 Jul 2003, 14:08:12 »
I'm abusing this and though I'd give it one more push up to the top. What can I say, I'm desperate  :P
Not all is lost.

DBR_ONIX

  • Guest
Re:string names for injury sounds
« Reply #9 on: 06 Dec 2003, 23:35:47 »
What about a custom sound (Like the AK47 ambient thing you can put with a trigger)...
I'm not sure it would work.. but I should...?
Just put the trigger over the gassed guy, it'll sound like him..

Is this what you mean?
- Ben

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:string names for injury sounds
« Reply #10 on: 07 Dec 2003, 11:24:08 »
Thanks for the suggestion DBR_ONIX. Your idea would work, but I can do it with an easier and more realistic way in a script with the 'say' command.
The main question in this thread is what are the build-in injury sounds string names called in some universal description or string table :P

If I wanted I could have done this months ago by either recording my own screams or extracting the hitxx.wss sounds and turned them into ogg's and defined in my own description.ext... and it's beginning to be a more and more likely way I'm going to do it.
Not all is lost.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:string names for injury sounds
« Reply #11 on: 07 Dec 2003, 21:02:02 »
Don't know for sure if this is any help Artak, but, I found this in the cfgVehicles.hpp, part of the Commented Configs.

// say something when hit
      
      
      hitSound1[]={voices\Hit11,db-25,1};
      hitSound2[]={voices\Hit12,db-25,1};
      hitSound3[]={voices\Hit13,db-25,1};
      hitSound4[]={voices\Hit14,db-25,1};
      hitSound5[]={voices\Hit15,db-25,1};
      hitSound6[]={voices\Hit16,db-25,1};
      hitSound7[]={voices\Hit17,db-25,1};
      hitSound8[]={voices\Hit18,db-25,1};
      hitSound9[]={voices\Hit19,db-25,1};
      hitSound10[]={voices\Hit20,db-25,1};
      hitSound11[]={voices\Hit21,db-25,1};
      hitSound12[]={voices\Hit22,db-25,1};
      hitSound13[]={voices\Hit23,db-25,1};
      hitSound14[]={voices\Hit24,db-25,1};
      hitSound15[]={voices\Hit25,db-25,1};
      hitSound16[]={voices\Hit26,db-25,1};
      hitSound17[]={voices\Hit27,db-25,1};
      hitSound18[]={voices\Hit28,db-25,1};
      hitSound19[]={voices\Hit29,db-25,1};
      hitSound20[]={voices\Hit30,db-25,1};
      
      
      
      hitSounds[]=
      {
         hitSound1,0.05,
         hitSound2,0.05,
         hitSound3,0.05,
         hitSound4,0.05,
         hitSound5,0.05,
         hitSound6,0.05,
         hitSound7,0.05,
         hitSound8,0.05,
         hitSound9,0.05,
         hitSound10,0.05,
         hitSound11,0.05,
         hitSound12,0.05,
         hitSound13,0.05,
         hitSound14,0.05,
         hitSound15,0.05,
         hitSound16,0.05,
         hitSound17,0.05,
         hitSound18,0.05,
         hitSound19,0.05,
         hitSound20,0.05
      };


I will keep looking about though.


Planck
I know a little about a lot, and a lot about a little.

Unnamed

  • Guest
Re:string names for injury sounds
« Reply #12 on: 08 Dec 2003, 02:56:32 »
At a push could you not use the Choke sound you get via the voice field in the Triggers sound effects?

The hit sounds and the above choke sound, are not defined in the same way as sounds in description.ext. So to use playsound or say, I think you would have to define them via an addon, which I guess you dont want to do?