diff --git a/zdefs.acs b/zdefs.acs index c75de7d..40bef9b 100644 --- a/zdefs.acs +++ b/zdefs.acs @@ -675,6 +675,21 @@ #define SECSEQ_FULLHEIGHT 3 #define SECSEQ_INTERIOR 4 +// Channels for PlaySound and StopSound + +#define CHAN_AUTO 0 +#define CHAN_WEAPON 1 +#define CHAN_VOICE 2 +#define CHAN_ITEM 3 +#define CHAN_BODY 4 + +// Standard attenuation values for PlaySound + +#define ATTN_NONE 0 // full volume the entire level +#define ATTN_NORM 1.0 +#define ATTN_IDLE 1.001 +#define ATTN_STATIC 3.0 // dimish very rapidly with distance + // Actor pointer selectors #DEFINE AAPTR_DEFAULT 0 diff --git a/zspecial.acs b/zspecial.acs index 5230279..f2bbf38 100644 --- a/zspecial.acs +++ b/zspecial.acs @@ -301,6 +301,9 @@ special -57:SetCVarString(2), -58:GetUserCVarString(2), -59:SetUserCVarString(3), + -60:LineAttack(3,6), + -61:PlaySound(2,6), + -62:StopSound(1,2), // ZDaemon's -19260:GetTeamScore(1),