Cuz I don't know how.And so far,attempts at learning have been highly unsuccessful.
I need one for this.It tells which events.txt to load.They can be loaded manually but it would be nice to have it automated.
@echo off
cls
echo.
echo 2194 Days of War
echo.
echo Loading event files for play as specific nation
echo Please choose from the options below:
echo.
echo 1. Load German event file
echo 2. Load Soviet event file
echo 3. Load American event file
echo 4. Load British event file
echo 5. Load Japanese event file
echo X. Exit without Loading
echo.
choice /c:12345X Enter your selection
if errorlevel 6 goto done
if errorlevel 5 goto japanese
if errorlevel 4 goto british
if errorlevel 3 goto american
if errorlevel 2 goto soviet
if errorlevel 1 goto german
:german
echo.
echo Loading German Game
copy events1.txt events.txt
copy rules1.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:soviet
echo.
echo Loading Soviet Game
copy events2.txt events.txt
copy rules2.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:american
echo.
echo Loading American Game
copy events3.txt events.txt
copy rules2.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:british
echo.
echo Loading British Game
copy events4.txt events.txt
copy rules2.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:japanese
echo.
echo Loading Japanese Game
copy events5.txt events.txt
copy rules1.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:done
echo.
exit
quit
ps..I am holding my breath...
I need one for this.It tells which events.txt to load.They can be loaded manually but it would be nice to have it automated.
@echo off
cls
echo.
echo 2194 Days of War
echo.
echo Loading event files for play as specific nation
echo Please choose from the options below:
echo.
echo 1. Load German event file
echo 2. Load Soviet event file
echo 3. Load American event file
echo 4. Load British event file
echo 5. Load Japanese event file
echo X. Exit without Loading
echo.
choice /c:12345X Enter your selection
if errorlevel 6 goto done
if errorlevel 5 goto japanese
if errorlevel 4 goto british
if errorlevel 3 goto american
if errorlevel 2 goto soviet
if errorlevel 1 goto german
:german
echo.
echo Loading German Game
copy events1.txt events.txt
copy rules1.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:soviet
echo.
echo Loading Soviet Game
copy events2.txt events.txt
copy rules2.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:american
echo.
echo Loading American Game
copy events3.txt events.txt
copy rules2.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:british
echo.
echo Loading British Game
copy events4.txt events.txt
copy rules2.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:japanese
echo.
echo Loading Japanese Game
copy events5.txt events.txt
copy rules1.txt rules.txt
copy sound\Jetbomb.wav sound\Extra2.wav
copy sound\Jetbomb.wav sound\Extra3.wav
copy sound\Mchnguns.wav sound\Swrdhors.wav
copy sound\Extra1.wav sound\Extra6.wav
copy sound\Cavalry.wav sound\Extra8.wav
goto done
:done
echo.
exit
quit
ps..I am holding my breath...
Comment