Quote:
|
Originally posted by Soundwave
Right i cut it down all i want is a .bat file to make muiltplayer events and singel player.... ummmm how do i make a .bat file?
|
Quote:
|
Originally posted by Field Marshal Klesh
Just right click an existing batch file and select 'edit'.
-FMK.
|
-----------------------------------------------------------------------------
Here is the incomplete batch file for Stalingrad:
@echo off
cls
echo.
echo Stalingrad Playtest File Manager Version 1.0
echo.
echo Choose the phase which you want to play.
echo You have the following options:
echo.
echo 1. Load Phase 1 "Outskirts"
echo 2. Load Phase 2 "City in Flames"
echo 3. Load Phase 3 "General Winter"
echo 4. Load Phase 4 "Operation Uranus"
echo 5. Load Phase 5 "Operation Winterstorm"
echo 5. Load Phase 6 "Liquidation"
echo X. Exit without Loading
echo.
choice /c:123456X Enter your selection please:
if errorlevel 7 goto done
if errorlevel 6 goto Opt6
if errorlevel 5 goto Opt5
if errorlevel 4 goto Opt4
if errorlevel 3 goto Opt3
if errorlevel 2 goto Opt2
if errorlevel 1 goto Opt1
:Opt1
echo.
echo Phase 1 "Outskirts" loading...
copy rules1.txt rules.txt
copy units1.gif units.gif
copy events1.txt events.txt
copy Sterrain1.gif terrain1.gif
copy Sterrain2.gif terrain2.gif
copy cities1.gif cities.gif
copy Game1.txt Game.txt
copy sound\Missile1.wav sound\Missile.wav
echo.
echo Welcome to Stalingrad, Herr Paulus!
goto done
:Opt2
echo.
echo Phase 2 "City in Flames" loading...
copy rules2.txt rules.txt
copy units2.gif units.gif
copy events2.txt events.txt
copy Sterrain1.gif terrain1.gif
copy Sterrain2.gif terrain2.gif
copy cities1.gif cities.gif
copy Game2.txt Game.txt
copy sound\Missile2.wav sound\Missile.wav
DELEVENT SG.sav
echo.
echo We must take the banks of the Volga, Herr Paulus!
goto done
:Opt3
echo.
echo Phase 3 "General Winter" loading...
copy rules3.txt rules.txt
copy units3.gif units.gif
copy events3.txt events.txt
copy Wterrain1.gif terrain1.gif
copy Wterrain2.gif terrain2.gif
copy cities2.gif cities.gif
copy Game2.txt Game.txt
copy sound\Missile2.wav sound\Missile.wav
DELEVENT SG.sav
echo.
echo Another winter campaigning in Russia...
goto done
:Opt4
echo.
echo Phase 4 "Operation Uranus" loading...
copy rules4.txt rules.txt
copy units3.gif units.gif
copy events4.txt events.txt
copy Wterrain1.gif terrain1.gif
copy Wterrain2.gif terrain2.gif
copy cities2.gif cities.gif
copy Game2.txt Game.txt
copy sound\Missile2.wav sound\Missile.wav
DELEVENT SG.sav
echo.
echo There's been word of a Soviet breakthrough!
goto done
:Opt5
echo.
echo Phase 5
copy rules5.txt rules.txt
copy units3.gif units.gif
copy events5.txt events.txt
copy Wterrain1.gif terrain1.gif
copy Wterrain2.gif terrain2.gif
copy cities2.gif cities.gif
copy Game2.txt Game.txt
copy sound\Missile2.wav sound\Missile.wav
DELEVENT SG.sav
goto done
:Opt6
echo.
echo Phase 6
copy rules6.txt rules.txt
copy units3.gif units.gif
copy events6.txt events.txt
copy Wterrain1.gif terrain1.gif
copy Wterrain2.gif terrain2.gif
copy cities2.gif cities.gif
copy Game2.txt Game.txt
copy sound\Missile2.wav sound\Missile.wav
DELEVENT SG.sav
goto done
:done
echo.
exit
quit
--------------------------------------------------------------------------------
It is all self explanitory.
Events files are numbered.
Graphics are based on winter/summer looks.
There is a wav file that gets changed as well.
DELEVENT- deletes the events within the save file. I am making people name it 'SG.sav'
Each 'Opt' is what is going to happen when the person selects that phase of the game.
If you have seperate set ups for each country, just write it out so all the proper files are used.
The game only actually reads the generic file names: 'events', 'game', 'rules', 'cities' etc ect. So you have to have the batch file rename all your sepeate civ files to these generic file names (which are to be read by Civ when the player plays).
It really is pretty simple.
-FMK.