Make some dialogues appear once per IWAD.
This commit is contained in:
parent
843a79ac42
commit
a2509e76e1
4 changed files with 38 additions and 28 deletions
|
|
@ -80,6 +80,8 @@ server int swwm_friendlyfire = 0; // 0: allow all friendly fire, 1: block incom
|
|||
nosave bool swwm_showmaptitle = false; // shows the name of the map when entering, just like in dark souls!
|
||||
server bool swwm_lobdoubled = false; // [LOB] Enable Double Death monster spawns
|
||||
nosave int swwm_bardist = 2000; // distance at which healthbars will be visible (does not affect player bars)
|
||||
nosave bool swwm_oldcheats = false; // has received the "old cheats" dialogue from Zanaveth
|
||||
nosave bool swwm_ccmessage = false; // has received the "corruption cards" dialogue from Cytho
|
||||
|
||||
// minimap settings
|
||||
nosave bool swwm_mm_enable = true; // show a minimap below the score counter
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r601 \cu(Sun 6 Nov 17:06:54 CET 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r601 \cu(2022-11-06 17:06:54)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r602 \cu(Sun 6 Nov 19:21:52 CET 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r602 \cu(2022-11-06 19:21:52)\c-";
|
||||
|
|
|
|||
|
|
@ -411,14 +411,18 @@ extend Class SWWMHandler
|
|||
let s = SWWMStats.Find(players[consoleplayer]);
|
||||
if ( (i > 5) && !swwm_nomapmsg && (!s || !s.oldcheat) )
|
||||
{
|
||||
let m = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_ZNVSNAME"),StringTable.Localize("$SWWM_ZNVNAME"),"Znv");
|
||||
m.seqname = "ZNVTXT";
|
||||
m.seqcnt = 5;
|
||||
m.znvspecial = true;
|
||||
m.delay = 80;
|
||||
m.enddelay = 90;
|
||||
m.pausedelay = 40;
|
||||
StatusBar.AttachMessage(m,-1232);
|
||||
if ( !swwm_oldcheats )
|
||||
{
|
||||
let m = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_ZNVSNAME"),StringTable.Localize("$SWWM_ZNVNAME"),"Znv");
|
||||
m.seqname = "ZNVTXT";
|
||||
m.seqcnt = 5;
|
||||
m.znvspecial = true;
|
||||
m.delay = 80;
|
||||
m.enddelay = 90;
|
||||
m.pausedelay = 40;
|
||||
StatusBar.AttachMessage(m,-1232);
|
||||
}
|
||||
CVar.GetCVar('swwm_oldcheats').SetBool(true);
|
||||
SendNetworkEvent("swwmsetoldcheat",consoleplayer);
|
||||
}
|
||||
if ( SWWMUtility.CheatsDisabled(consoleplayer) )
|
||||
|
|
|
|||
|
|
@ -114,24 +114,28 @@ extend Class SWWMHandler
|
|||
if ( m && (m.GetClassName() == 'CorruptionCardsSelector') ) incardmenu = true;
|
||||
else if ( incardmenu )
|
||||
{
|
||||
let msg = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_CYTHOSNAME"),StringTable.Localize("$SWWM_CYTHONAME"),"Cytho");
|
||||
msg.seqname = "CYTHOCCA";
|
||||
msg.seqcnt = 4;
|
||||
msg.delay = 120;
|
||||
StatusBar.AttachMessage(msg,-1232);
|
||||
let msg2 = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_SAYASNAME"),StringTable.Localize("$SWWM_SAYANAME"),"Saya");
|
||||
msg2.seqname = "CYTHOCCB";
|
||||
msg2.seqcnt = 1;
|
||||
msg2.delay = 30;
|
||||
msg.nextmsg = msg2;
|
||||
msg.nextdirect = true;
|
||||
msg = msg2;
|
||||
msg2 = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_CYTHOSNAME"),StringTable.Localize("$SWWM_CYTHONAME"),"Cytho");
|
||||
msg2.seqname = "CYTHOCCC";
|
||||
msg2.seqcnt = 1;
|
||||
msg2.delay = 45;
|
||||
msg.nextmsg = msg2;
|
||||
msg.nextdirect = true;
|
||||
if ( !swwm_ccmessage )
|
||||
{
|
||||
let msg = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_CYTHOSNAME"),StringTable.Localize("$SWWM_CYTHONAME"),"Cytho");
|
||||
msg.seqname = "CYTHOCCA";
|
||||
msg.seqcnt = 4;
|
||||
msg.delay = 120;
|
||||
StatusBar.AttachMessage(msg,-1232);
|
||||
let msg2 = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_SAYASNAME"),StringTable.Localize("$SWWM_SAYANAME"),"Saya");
|
||||
msg2.seqname = "CYTHOCCB";
|
||||
msg2.seqcnt = 1;
|
||||
msg2.delay = 30;
|
||||
msg.nextmsg = msg2;
|
||||
msg.nextdirect = true;
|
||||
msg = msg2;
|
||||
msg2 = new("SWWMDirectMessage").Init(StringTable.Localize("$SWWM_CYTHOSNAME"),StringTable.Localize("$SWWM_CYTHONAME"),"Cytho");
|
||||
msg2.seqname = "CYTHOCCC";
|
||||
msg2.seqcnt = 1;
|
||||
msg2.delay = 45;
|
||||
msg.nextmsg = msg2;
|
||||
msg.nextdirect = true;
|
||||
}
|
||||
CVar.GetCVar('swwm_ccmessage').SetBool(true);
|
||||
cardmessaged = true;
|
||||
SendNetworkEvent("swwmccstart");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue