mirror of
https://github.com/stevenhowes/CTheEscape.git
synced 2026-05-26 15:53:29 +01:00
Show tractor beam ending (and sound effect to match) at map start.
This commit is contained in:
Binary file not shown.
Binary file not shown.
+1
-1
@@ -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
@@ -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.
+24
-1
@@ -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)
|
||||||
@@ -143,3 +154,15 @@ Event("CONSOLE2")
|
|||||||
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
Reference in New Issue
Block a user