Show tractor beam ending (and sound effect to match) at map start.

This commit is contained in:
stevenhowes
2021-08-31 23:43:35 +01:00
parent 13b2d53588
commit 1908075f84
9 changed files with 28 additions and 4 deletions
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -384,7 +384,7 @@ void game2_setup_audio()
sound_pcm_loadsample(PCMSAMPLE_HAIL,"sounds.commbdg"); sound_pcm_loadsample(PCMSAMPLE_HAIL,"sounds.commbdg");
sound_pcm_loadsample(PCMSAMPLE_DOOR,"sounds.door"); sound_pcm_loadsample(PCMSAMPLE_DOOR,"sounds.door");
sound_pcm_loadsample(PCMSAMPLE_ALERT,"sounds.alert"); sound_pcm_loadsample(PCMSAMPLE_ALERT,"sounds.alert");
sound_pcm_loadsample(PCMSAMPLE_TRACTOREND,"sounds.tracend");
} }
void game2_setup() void game2_setup()
+1 -1
View File
@@ -44,7 +44,7 @@ enum pcmchannel_e{
PCMCHANNEL_NPC2 = 7, PCMCHANNEL_NPC2 = 7,
PCMCHANNEL_AMBIENT = 8 PCMCHANNEL_AMBIENT = 8
}; };
enum pcmsample_e{PCMSAMPLE_DURNOTORPEDO, PCMSAMPLE_PHASER, PCMSAMPLE_SHIPEXPLODE, PCMSAMPLE_TRACTOR, PCMSAMPLE_HAIL, PCMSAMPLE_DOOR, PCMSAMPLE_ALERT, PCMSAMPLE_MAX}; enum pcmsample_e{PCMSAMPLE_DURNOTORPEDO, PCMSAMPLE_PHASER, PCMSAMPLE_SHIPEXPLODE, PCMSAMPLE_TRACTOR, PCMSAMPLE_HAIL, PCMSAMPLE_DOOR, PCMSAMPLE_ALERT, PCMSAMPLE_TRACTOREND, PCMSAMPLE_MAX};
struct CompositionElement { struct CompositionElement {
signed short int Start; signed short int Start;
Binary file not shown.
Binary file not shown.
Binary file not shown.
+25 -2
View File
@@ -27,11 +27,22 @@ AddEvent(17,"REDALERTOFF",0,-1,-1)
AddEvent(18,"CONSOLE1",0,-1,-1) AddEvent(18,"CONSOLE1",0,-1,-1)
AddEvent(19,"CONSOLE2",0,-1,-1) AddEvent(19,"CONSOLE2",0,-1,-1)
AddEvent(20,"TRAC1",0,-1,-1)
AddEvent(21,"TRAC2",0,-1,-1)
AddEvent(22,"TRACOFF",0,-1,-1)
Event("PlayerStart") Event("PlayerStart")
AreaName(1) AreaName(1)
Schedule("TRAC1",20)
Schedule("TRAC2",40)
Schedule("TRAC1",60)
Schedule("TRAC2",80)
Schedule("TRAC1",100)
Schedule("TRACOFF",120)
Schedule("REDALERTON",125) Schedule("REDALERTON",125)
Schedule("CONSOLE1",75) Schedule("CONSOLE1",75)
Schedule("Brief",200) Schedule("Brief",400)
Sound(5,7)
Event("Brief") Event("Brief")
Sound(5,4) Sound(5,4)
@@ -142,4 +153,16 @@ Event("CONSOLE2")
SetOverlayTile(2204,86) SetOverlayTile(2204,86)
SetOverlayTile(3104,85) SetOverlayTile(3104,85)
SetOverlayTile(3204,86) SetOverlayTile(3204,86)
ReArm("CONSOLE2") ReArm("CONSOLE2")
Event("TRAC1")
SetOverlayTile(407,88)
ReArm("TRAC1")
Event("TRAC2")
SetOverlayTile(407,87)
ReArm("TRAC2")
Event("TRACOFF")
SetOverlayTile(407,0)
File diff suppressed because one or more lines are too long