Subversion Repositories nw_plus

Compare Revisions

Regard whitespace Rev 21 → Rev 22

/nw_plus/NWUser.con
118,7 → 118,7
definesound SANTA_TRASH9 422.voc 0 0 254 20 100
 
definesound PHONE_RING fonering.voc 0 0 100 3 0
definesound RIP_PAPER rippaper.voc 0 0 255 20 100
definesound RIP_PAPER rippaper.voc -64 64 250 20 0
 
definesound SQUISH2 squish.voc -128 0 2 0 0
definesound WIND2 wind2.voc 0 0 0 2 0
132,10 → 132,10
definesound FEMALECAROL jingle2.voc 0 0 0 0 0
definesound FEMALECAROL_DEAD scream2.voc 0 0 0 0 0
 
definesound LOWANG1 nwinter/sounds/jg41075.voc 0 0 253 0 -2048
definesound LOWANG2 nwinter/sounds/jg42004.voc 0 0 253 0 -2048
definesound LOWANG3 nwinter/sounds/jg42019.voc 0 0 253 0 -2048
definesound LOWANG4 nwinter/sounds/jg42021.voc 0 0 253 0 -2048
definesound LOWANG1 nwinter/sounds/jg41075.voc 0 0 253 0 -2048 // 1.887 sec, 57 tics
definesound LOWANG2 nwinter/sounds/jg42004.voc 0 0 253 0 -2048 // 4.124 sec, 124 tics
definesound LOWANG3 nwinter/sounds/jg42019.voc 0 0 253 0 -2048 // 4.013 sec, 121 tics
definesound LOWANG4 nwinter/sounds/jg42021.voc 0 0 253 0 -2048 // 5.173 sec, 156 tics
 
definesound PHONE_PICKUP nwinter/sounds/phone-pick-up-1.wav 0 0 100 2 0
definesound PHONE_HANGUP nwinter/sounds/phone-hang-up-1.wav 0 0 100 2 0
/nw_plus/NWinter.bat
66,15 → 66,15
) )
 
:nonwgrp_done
if not exist nwflag_%addonver%.h266 goto extract
if not exist nwl1.map goto extract
if not exist nwl2.map goto extract
if not exist nwl3.map goto extract
if not exist nwl4.map goto extract
if not exist nwl5.map goto extract
if not exist nwl6.map goto extract
if not exist nwl7.map goto extract
if not exist nwl8.map goto extract
if not exist nwl1.map goto mapextract
if not exist nwl2.map goto mapextract
if not exist nwl3.map goto mapextract
if not exist nwl4.map goto mapextract
if not exist nwl5.map goto mapextract
if not exist nwl6.map goto mapextract
if not exist nwl7.map goto mapextract
if not exist nwl8.map goto mapextract
if not exist nwflag_%addonver%.h266 goto updateextract
 
 
 
169,6 → 169,14
echo '%cddrive%' is not the correct disc. Please try again.
goto retry
 
:mapextract
echo Extracted maps not found. Proceeding to installation.
goto extract
 
:updateextract
echo Map patch update required. Proceeding to installation.
goto extract
 
:extract
echo.
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
/nw_plus/NWinter.con
1165,8 → 1165,9
cstat 32768
// sizeat 1 1
 
ifspritepal 31
ifspritepal 31 // phone ringing effect
{
/*
getplayer[THISACTOR].cursectnum temp3
switch temp3
case 60 case 61 case 62 case 63
1175,8 → 1176,18
case 310 case 311 case 312 case 313 case 314 case 315 case 316 case 317
soundonce PHONE_RING
break
 
default
stopsound PHONE_RING
break
endswitch
*/
 
ifpdistl 8192 // 4096
soundonce PHONE_RING
ifpdistg 16384
stopsound PHONE_RING
 
ifpdistl RETRIEVEDISTANCE
ifp pfacing
ifhitspace
1184,6 → 1195,8
{
setvar temp 0
setvar temp2 1
setvar temp3 0
setvar tempb 0
}
 
ifvare temp2 1
1191,21 → 1204,43
addvar temp 1
 
stopsound PHONE_RING
ifvare temp 1 sound PHONE_PICKUP
else ifvare temp 39
ifvare temp 1
sound PHONE_PICKUP
else ifvare temp 30
{
setvar tempb 0
randvar tempb 3
 
switch tempb
case 0 sound LOWANG1 break
case 1 sound LOWANG2 break
case 2 sound LOWANG3 break
case 3 sound LOWANG4 break
case 0
sound LOWANG1
setvar temp3 57
break
case 1
sound LOWANG2
setvar temp3 124
break
case 2
sound LOWANG3
setvar temp3 121
break
case 3
sound LOWANG4
setvar temp3 156
break
endswitch
 
addvar temp3 60
setvar tempb 0
}
else ifvare temp 195 sound PHONE_HANGUP
else ifvare temp 247
else ifvarvare temp temp3
{
sound PHONE_HANGUP
setvarvar tempb temp3
addvar tempb 150
}
else ifvarvare temp tempb
{
setvar temp2 0
setvar temp 0
}