Subversion Repositories nw_plus

Compare Revisions

Ignore whitespace Rev 20 → Rev 21

/nw_plus/NWinter.bat
114,12 → 114,10
if exist eduke32_mus.zip set args=%args% -geduke32_mus.zip
if exist "%addondir%" set args=%args% -j"%addondir:\=/%"
if exist "%addonhrpdir%" set args=%args% -j"%addonhrpdir:\=/%"
set args=%args% -gnwinter.grp -hnwinter.def
set args=%args% -gnwinter.grp -hnwinter.def -xNWEDuke.con
if "%editor%"=="1" set args=%args% -namesfile NWNames.h
if not "%editor%"=="1" set args=%args% -xNWEDuke.con
if "%dp%"=="1" (
set args=%args% -hnw_dp.def
if not "%editor%"=="1" set args=%args% -xNWDP.con
set args=%args% -hnw_dp.def -xNWDP.con
)
if "%xxx%"=="1" (
if exist xxx_lite.zip set args=%args% -gxxx_lite.zip
126,8 → 124,7
if exist xxx_pack.zip set args=%args% -gxxx_pack.zip
set args=%args% -hnw_xxx.def
if "%dp%"=="1" (
set args=%args% -hnw_dp_xxx.def
if not "%editor%"=="1" set args=%args% -xNWDPXXX.con
set args=%args% -hnw_dp_xxx.def -xNWDPXXX.con
) )
set args=%args% %*
if "%dp%"=="1" set args=%args% -jDukePlus
/nw_plus/nwfix.m32
35,75 → 35,134
 
onevent EVENT_DRAW2DSCREEN
// Fixing sounds.
for i allsprites, ifactor MUSICANDSFX
{
for i allsprites, ifactor MUSICANDSFX
{
// fixing ambient sounds
switch .lotag
switch .lotag
 
case 91
case 308
set .lotag 426
break
case 91
case 308
set .lotag 426
break
 
case 244
set .lotag 438
break
endswitch
}
case 244
set .lotag 438
break
endswitch
}
 
 
// fixing one-time sector sounds
for k allsectors
{
switch sector[k].lotag
for k allsectors
{
switch sector[k].lotag
 
case 10091
case 10308
set sector[k].lotag 10426
break
case 10091
case 10308
set sector[k].lotag 10426
break
 
case 10244
set sector[k].lotag 10438
break
case 10244
set sector[k].lotag 10438
break
 
endswitch
// setsector[k].lotag l
}
endswitch
 
/*
ifvarg sector[k].lotag 9999
ifvarl sector[k].lotag 20000
{
al k
al sector[k].lotag
}
*/
 
// texture replacements:
switch sector[k].floorpicnum
case 198
ifvare sector[k].floorpal 1
{
al k
set sector[k].floorpicnum 3670
set sector[k].floorpal 0
}
break
 
endswitch
switch sector[k].ceilingpicnum
case 198
ifvare sector[k].ceilingpal 1
{
al k
set sector[k].ceilingpicnum 3670
set sector[k].ceilingpal 0
}
break
 
endswitch
}
 
for k allwalls
{
ifvare wall[k].pal 1
{
switch wall[k].picnum
case 198
al k
set wall[k].picnum 3670
set wall[k].pal 0
break
endswitch
switch wall[k].overpicnum
case 198
al k
set wall[k].overpicnum 3670
set wall[k].pal 0
break
endswitch
}
}
 
// Fixing actors.
 
// fixing actors already in the map
for i allsprites
{
switch .picnum
for i allsprites
{
switch .picnum
/*
// Step 1: Santa
case 2000 set .picnum 3900 break
case 2045 set .picnum 3905 break
case 2000 set .picnum 3900 break
case 2045 set .picnum 3905 break
*/
/*
// Step 2: Pig Cops
case 2002 set .picnum 2000 break
case 2003 set .picnum 2001 break
case 2047 set .picnum 2045 break
case 2002 set .picnum 2000 break
case 2003 set .picnum 2001 break
case 2047 set .picnum 2045 break
*/
endswitch
}
endswitch
}
// fixing actors which spawn on triggers
for i allsprites, ifactor RESPAWN
{
switch .hitag
for i allsprites, ifactor RESPAWN
{
switch .hitag
/*
// Step 1: Santa
case 2000 set .hitag 3900 addlogvar .x addlogvar .y break
case 2045 set .hitag 3905 addlogvar .x addlogvar .y break
case 2000 set .hitag 3900 addlogvar .x addlogvar .y break
case 2045 set .hitag 3905 addlogvar .x addlogvar .y break
*/
/*
// Step 2: Pig Cops
case 2002 set .hitag 2000 addlogvar .x addlogvar .y break
case 2003 set .hitag 2001 addlogvar .x addlogvar .y break
case 2047 set .hitag 2045 addlogvar .x addlogvar .y break
case 2002 set .hitag 2000 addlogvar .x addlogvar .y break
case 2003 set .hitag 2001 addlogvar .x addlogvar .y break
case 2047 set .hitag 2045 addlogvar .x addlogvar .y break
*/
endswitch
}
endswitch
}
endevent
/nw_plus/nwl3.ips
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream