Animsounds (DEF): Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with "'''animsounds''' <ANM file> { [...] } Defines the sounds to be played with a cutscene. == Tokens == {| {{prettytable}} | <frame> <sound ID> || Defines a..."
 
Fox (talk | contribs)
No edit summary
Line 9: Line 9:
|-
|-
|}
|}
==Full list of sounds played for each animation==
By replacing these sounds, you can customize your own animation files with new sound files. The frames they're played on are hard-coded, but listed here for ease of use. As with the framerates, these can be found in the source file [{{EDuke32 source|source/duke3d/src/anim.c}} anim.c].
{| width="75%"
|- valign="top"
|
{| class="wikitable"
|+ cineov2
! Frame
! Sounds
|-
| 1
| WIND_AMBIENCE
|-
| 26
| ENDSEQVOL2SND1
|-
| 36
| ENDSEQVOL2SND2
|-
| 54
| THUD
|-
| 62
| ENDSEQVOL2SND3
|-
| 75
| ENDSEQVOL2SND4
|-
| 81
| ENDSEQVOL2SND5
|-
| 115
| ENDSEQVOL2SND6
|-
| 124
| ENDSEQVOL2SND7
|}
|
{| class="wikitable"
|+ cineov3
! Frame
! Sounds
|-
| 1
| WIND_REPEAT
|-
| 98
| DUKE_GRUNT
|-
| 102
| THUD<br>SQUISHED
|-
| 124
| ENDSEQVOL3SND3
|-
| 134
| ENDSEQVOL3SND2
|-
| 158
| PIPEBOMB_EXPLODE
|}
|
{| class="wikitable"
|+ logo
! Frame
! Sounds
|-
| 1
| FLY_BY
|-
| 19
| PIPEBOMB_EXPLODE
|}
|
{| class="wikitable"
|+ vol41a
! Frame
! Sounds
|-
| 1
| INTRO4_1
|-
| 12
| INTRO4_2
|-
| 7
| INTRO4_3
|-
| 26
| INTRO4_4
|}
|}
{| width="75%"
|- valign="top"
|
{| class="wikitable"
|+ vol42a
! Frame
! Sounds
|-
| 1
| INTRO4_B
|-
| 12
| SHORT_CIRCUIT
|-
| 34
| SHORT_CIRCUIT
|-
| 18
| INTRO4_5
|}
|
{| class="wikitable"
|+ vol4e1
! Frame
! Sounds
|-
| 3
| DUKE_UNDERWATER
|-
| 35
| VOL4ENDSND1
|}
|
{| class="wikitable"
|+ vol43a
! Frame
! Sounds
|-
| 10
| INTRO4_6
|}
|
{| class="wikitable"
|+ vol4e2
! Frame
! Sounds
|-
| 11
| DUKE_UNDERWATER
|-
| 20
| VOL4ENDSND1
|-
| 39
| VOL4ENDSND2
|-
| 50
| (all sounds stopped)
|}
|}
{| class="wikitable"
|+ vol4e3
! Frame
! Sounds
|-
| 1
| BOSS4_DEADSPEECH
|-
| 40
| VOL4ENDSND1<br>DUKE_UNDERWATER
|-
| 50
| BIGBANG
|}
RADLOGO plays the sounds <code>ENDSEQVOL3SND5</code>, <code>ENDSEQVOL3SND6</code>, <code>ENDSEQVOL3SND7</code>, <code>ENDSEQVOL3SND8</code> and <code>ENDSEQVOL3SND9</code> sequentially after another.
DUKETEAM plays <code>ENDSEQVOL3SND4</code> (a variation of [[Grabbag]]). The sound starts when the "Thanks for giving us big heads" screen (see [[LOGO_FLAGS]]) is shown and continues until any user input is given during the DUKETEAM animation.


[[Category:DEF commands]]
[[Category:DEF commands]]

Revision as of 03:09, 21 February 2020

animsounds <ANM file> { [...] }

Defines the sounds to be played with a cutscene.

Tokens

<frame> <sound ID> Defines a sound to be played at a specific time.

Full list of sounds played for each animation

By replacing these sounds, you can customize your own animation files with new sound files. The frames they're played on are hard-coded, but listed here for ease of use. As with the framerates, these can be found in the source file anim.c.

cineov2
Frame Sounds
1 WIND_AMBIENCE
26 ENDSEQVOL2SND1
36 ENDSEQVOL2SND2
54 THUD
62 ENDSEQVOL2SND3
75 ENDSEQVOL2SND4
81 ENDSEQVOL2SND5
115 ENDSEQVOL2SND6
124 ENDSEQVOL2SND7
cineov3
Frame Sounds
1 WIND_REPEAT
98 DUKE_GRUNT
102 THUD
SQUISHED
124 ENDSEQVOL3SND3
134 ENDSEQVOL3SND2
158 PIPEBOMB_EXPLODE
logo
Frame Sounds
1 FLY_BY
19 PIPEBOMB_EXPLODE
vol41a
Frame Sounds
1 INTRO4_1
12 INTRO4_2
7 INTRO4_3
26 INTRO4_4


vol42a
Frame Sounds
1 INTRO4_B
12 SHORT_CIRCUIT
34 SHORT_CIRCUIT
18 INTRO4_5
vol4e1
Frame Sounds
3 DUKE_UNDERWATER
35 VOL4ENDSND1
vol43a
Frame Sounds
10 INTRO4_6
vol4e2
Frame Sounds
11 DUKE_UNDERWATER
20 VOL4ENDSND1
39 VOL4ENDSND2
50 (all sounds stopped)
vol4e3
Frame Sounds
1 BOSS4_DEADSPEECH
40 VOL4ENDSND1
DUKE_UNDERWATER
50 BIGBANG

RADLOGO plays the sounds ENDSEQVOL3SND5, ENDSEQVOL3SND6, ENDSEQVOL3SND7, ENDSEQVOL3SND8 and ENDSEQVOL3SND9 sequentially after another.

DUKETEAM plays ENDSEQVOL3SND4 (a variation of Grabbag). The sound starts when the "Thanks for giving us big heads" screen (see LOGO_FLAGS) is shown and continues until any user input is given during the DUKETEAM animation.