hit sounds
|
|
ŁfenrirŁ | Date: Friday, 2012-04-27, 4:27 AM | Message # 1 |
Angel
Group: contributor
Messages: 1346
Awards: 1
Reputation: 3
Reproofs: 0%
Status: Offline
| Does anyone know how to get a hit sound to play during a thorw?
WIP SoiFon Picture Ripped by Dan Mt 95% click sig to get latest version
|
|
| |
Ultraboard101 | Date: Friday, 2012-04-27, 5:01 AM | Message # 2 |
Knight
Group: contributor
Messages: 105
Awards: 0
Reputation: 4
Reproofs: 0%
Status: Offline
| It depends where. Do you want it as soon as the throw happens? Or sometime in the middle? If you want it to play as soon as the CLSN's Collide? If so, then just use the hitsound code inside the hitdef controller. If not, and you want to play it at the middle/end of the grab, just use a plysnd state controller. If its a character voice, use -1 as the channel, if its a smack or smash sound, then use whatever channel you wish.
Warhammer 40k Space Marines --------------------------------------- Get it done.
|
|
| |
ŁfenrirŁ | Date: Saturday, 2012-04-28, 8:32 AM | Message # 3 |
Angel
Group: contributor
Messages: 1346
Awards: 1
Reputation: 3
Reproofs: 0%
Status: Offline
| I want it in the middle and while your idea is nice if someone with a different screenpack than me uses the character then the hitsound of the throw would be different than every other hitsound.
I want a way to play a hitsound in the middle of the throw useing the screenpacks hitsound
WIP SoiFon Picture Ripped by Dan Mt 95% click sig to get latest version
|
|
| |
sgn_15 | Date: Saturday, 2012-04-28, 9:21 AM | Message # 4 |
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
| middle of the throw? playsnd does not work using animelem or time triggers?
|
|
| |
MGSSJ2 | Date: Saturday, 2012-04-28, 11:21 AM | Message # 5 |
Mystic Coder
Group: contributor
Messages: 2954
Awards: 5
Reputation: 47
Reproofs: 0%
Status: Offline
| Quote (ŁfenrirŁ) I want a way to play a hitsound in the middle of the throw useing the screenpacks hitsound
Check the Screenpack's SND file to see the group and number of the sound you want to play, then use a PlaySnd with these, adding an F behind (the F indicates it must be loaded from the Screenpack's sounds). For example:
[State 0, PlaySnd] type = PlaySnd trigger1 = animelem = 3 value = F5,0 volume = 0 channel = -1
Quote (Ultraboard101) If its a character voice, use -1 as the channel, if its a smack or smash sound, then use whatever channel you wish.
You're wrong there. Voices go in the channel 0, so they stop whenever the char changes to a hit state. -1 plays the sound in a random free channel other than 0.
|
|
| |
ŁfenrirŁ | Date: Saturday, 2012-04-28, 10:59 PM | Message # 6 |
Angel
Group: contributor
Messages: 1346
Awards: 1
Reputation: 3
Reproofs: 0%
Status: Offline
| Quote (MGSSJ2) [State 0, PlaySnd] type = PlaySnd trigger1 = animelem = 3 value = F5,0 volume = 0 channel = -1 thank MGSSJ2. just one more question if the character is played on a different screenpack is some random sound going to play during the throw?
WIP SoiFon Picture Ripped by Dan Mt 95% click sig to get latest version
|
|
| |
MGSSJ2 | Date: Saturday, 2012-04-28, 11:20 PM | Message # 7 |
Mystic Coder
Group: contributor
Messages: 2954
Awards: 5
Reputation: 47
Reproofs: 0%
Status: Offline
| Quote (ŁfenrirŁ) if the character is played on a different screenpack is some random sound going to play during the throw?
The sound that will be played will be the one in the group and number of the default hitsound. I guess you used either F5,0; F5,1; F5,2; or F5,3. If the .snd file of the SP is made correctly, the SP's hitsound will play.
|
|
| |
ŁfenrirŁ | Date: Saturday, 2012-04-28, 11:23 PM | Message # 8 |
Angel
Group: contributor
Messages: 1346
Awards: 1
Reputation: 3
Reproofs: 0%
Status: Offline
| ok thanks again ^.^ works like a charm
WIP SoiFon Picture Ripped by Dan Mt 95% click sig to get latest version
|
|
| |
MGSSJ2 | Date: Saturday, 2012-04-28, 11:26 PM | Message # 9 |
Mystic Coder
Group: contributor
Messages: 2954
Awards: 5
Reputation: 47
Reproofs: 0%
Status: Offline
| No problem, thanks for the rep
|
|
| |