Subversion Repositories nw_plus

Compare Revisions

Ignore whitespace Rev 30 → Rev 29

/nw_plus/NWinter.bat
5,7 → 5,7
title Duke: Nuclear Winter Plus Launcher
if "%editor%"=="1" title Duke: Nuclear Winter Plus Editor Launcher
 
pushd .
set dir=%cd%
set exedir=%~dp0
set addondir=%~dp0
set addonhrpdir=%~dp0
65,9 → 65,7
goto nonwgrp
) )
 
call :grpchecksum
:nonwgrp_return
if not "%version%"=="demo" (
if not exist nwl1.map goto mapextract
if not exist nwl2.map goto mapextract
if not exist nwl3.map goto mapextract
77,7 → 75,6
if not exist nwl7.map goto mapextract
if not exist nwl8.map goto mapextract
if not exist nwflag_%addonver%.h266 goto updateextract
)
 
 
 
89,10 → 86,6
echo Santa: "setvar skin 1".
echo.
echo.
echo.
echo.
echo.
echo.
 
:init
pause
104,7 → 97,6
echo.
echo Launching Duke Nukem 3D . . .
echo Thanks for %action%^!
echo.
 
if "%editor%"=="1" (
type "%exedir%\names.h" > "%exedir%\NWNames.h"
165,24 → 157,12
type NWINTRO.TXT
echo.
pause
call :grpchecksum
call :grpchecksum_results
goto nonwgrp_return
 
:grpchecksum
echo a6728f621f121f9db02ee67c39efdbb5eea95711 *nwinter.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
if "%ERRORLEVEL%"=="0" set version=full
if "%ERRORLEVEL%"=="1" echo 1b33b2cbb7101b5b18b15855392f55575413ecc3 *nwinter.grp | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
if "%ERRORLEVEL%"=="0" set version=demo
if "%ERRORLEVEL%"=="1" set version=unknown
goto :eof
if "%ERRORLEVEL%"=="0" echo NWINTER.GRP checksum verified.
if "%ERRORLEVEL%"=="1" echo NWINTER.GRP checksum does not match. You may have a bad copy.
goto nonwgrp_return
 
:grpchecksum_results
if "%version%"="full" echo NWINTER.GRP checksum verified.
if "%version%"="demo" echo NWINTER.GRP (demo version) checksum verified.
if "%version%"="unknown" echo NWINTER.GRP checksum does not match. You may have a bad copy.
echo.
goto :eof
 
:cdno
echo '%cddrive%' is not valid. Please try again.
193,7 → 173,7
goto retry
 
:mapextract
echo Extracted maps not found or patched. Proceeding to installation.
echo Extracted maps not found. Proceeding to installation.
goto extract
 
:updateextract
206,8 → 186,6
echo º Installation º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
echo.
call :grpchecksum
call :grpchecksum_results
if not exist nwl1.patch goto nopatch
if not exist nwl2.patch goto nopatch
if not exist nwl3.patch goto nopatch
302,7 → 280,7
if not exist "%~2" goto :eof
echo %~1 *%~2 | "%addondir%\utils\windows\win32\sha1sum.exe" --status --check -
if "%ERRORLEVEL%"=="0" (
ren "%~2" "NWOld_%addonver%_%~nx2"
ren "%~2" "NWOld_%~nx2"
echo %~3 %~nx2
)
goto :eof
417,11 → 395,10
 
:end
echo.
set version=
set editor=
set xxx=
set dp=
set debug=
popd
set editor=0
set xxx=0
set dp=0
set debug=0
cd %dir%
@title %ComSpec%
@color 07
/nw_plus/NWinter+_To_Do.txt
100,9 → 100,9
@@ -452,7 +452,7 @@
@@ -494,9 +494,9 @@
/nw_plus/NWINTRO.TXT
14,13 → 14,3
 
A telegram alerts Duke Nukem to the horrible plan. Without any hesitation,
Duke springs into action.
 
THE LEVELS
 
Deja Vu - A familiar winterized version of the original, only backwards!
Where It All Began - Los Angeles with snow? What are the aliens up to?
Land of Forgotten Toys - Welcome to the frozen tundra, Duke.
Santa's Corporate HQ - Check Santa's list to see if you've been naughty or nice.
The Backdoor - There's always a way in, but sometimes you have to get a little bit wet.
Christmas Village - The villagers here don't appear to be very friendly.
Here Comes Santa Claus - And he's packing some holiday punch.
/nw_plus/NWinter.con
581,8 → 581,6
}
ends
 
// Flying Frosty
 
/*
action ACOMMBREETH 0 3 5 1 40
action ACOMMFROZEN 0 1 5
898,8 → 896,6
}
enda
 
// Frosted Battle Mobile
 
move TANKSTOPNW
 
useractor enemy TANK TANKSTRENGTH
/nw_plus/NWActor.con
1744,8 → 1744,8
else ifai AIBOTFLYSTRAIGHT state botflystraightstate
enda
 
// Grunt
 
 
action AELFUZIWALK 0 4 5 1 30
action AELFUZIRUN 0 4 5 1 15
action AELFUZIFROZEN 0 1 5 1
2077,8 → 2077,6
cactor ELFUZI
enda
 
// Groan
 
action AELFGUNWALK 0 4 5 1 20
action AELFGUNRUN 0 4 5 1 10
action AELFGUNFROZEN 0 1 5 1