Jump to content
EN
Play

Forum

[Batchgame] Defense System by xTremeAluminium / Idea by ExtremeKiller26


 Share

Recommended Posts

Hello all,

 

today I made a batch-scripted batchgame. The idea was brought when I was playing Tanki in map Future with @ExtremeKiller26 and other friends.

 

The story:

 

As I said, I was playing with @ExtremeKiller26 and some other friends. We were playing in map Future. I also got a gold box.

@ExtremeKiller26 called the mines plantplace a Defense System. So, the idea came to me and I decided to make a batchgame with batch script.

So, I started to make it and it was made in about 20 minutes. Here are also some pictures:

 

Mine plantplace (The ramp)

 

screenshot1.png

 

The mine plantplace is marked with a red rectangle.

 

screenshot3.png

 

And, as you (probably) all know there is some type of a big screen pane. So, @ExtremeKiller26 said: "Let's play Xbox on a 32-inch display". We started to play Xbox on that screen (just kidding  :D )...

So, here is a picture of that screen pane.

 

screenshot2.png

 

All instructions for the batchgame can be found in the game itself. Have fun playing.

 

How to run the game (you need Windows to run it):

1. Download the .bat file

2. Open/run it

3. You're done

 

 

coollogocom-134007430.png

 

coollogocom-134007452.png

 

Scanned with ESET Endpoint Antivirus

 

 

 

Thank you for viewing this topic!

 

~ xTremeAluminium

Edited by xTremeAluminium

Share this post


Link to post
Share on other sites

Yes, didn't understand though and the instruction didn't came up, trying to figure it out.

I'll fix that ASAP. Will be updated soon. I know what's the problem  ;) 

Edited by xTremeAluminium

Share this post


Link to post
Share on other sites

Looking at the comments, why are you two having a little conversation with each other? PM is there for a reason.

Anyway, I won't download due to the risk of viruses.

Share this post


Link to post
Share on other sites

Looking at the comments, why are you two having a little conversation with each other? PM is there for a reason.

Anyway, I won't download due to the risk of viruses.

It's virus-free. I downloaded, and  scanned it with my anti-virus, trust me it's fine.

Share this post


Link to post
Share on other sites

Topic has been updated

Problem with viewing the instructions is fixed


Also, everytime I press '1' or anything as action in the game, it says you loose.

 

Try opening it now, probably it's fixed. For any other bugs please PM me (include the bug screenshots please).

Edited by xTremeAluminium

Share this post


Link to post
Share on other sites

 

@echo off

cls
color f0
:MAIN
echo.
echo.
echo ......... Defense System .........
echo.
echo ......... By xTremeAluminium .........
echo.
echo.
echo.
echo Welcome! You just entered a batchgame Defense System!
echo.
echo If you want to start playing, press G (caps lock shall be on) and then the ENTER key.
echo.
echo If you want to read the instructions, press I (caps lock shall be on) and then the ENTER key.
echo.
echo If you want to exit, press E (caps lock shall be on) and then the ENTER key.
echo.
set /p input=Command (G, I or E)?
if %input%==G goto GAME
if %input%==I goto INST
if %input%==E exit
:INST
cls
type INST.txt
echo.
echo.
echo If you want to start playing, press G (caps lock shall be on) and then the ENTER key.
echo.
echo If you want to return to the main screen, press M (caps lock shall be on) and then the ENTER key.
echo.
echo If you want to exit, press E (caps lock shall be on) and then the ENTER key.
echo.
set /p input=Command (G, M or E)?
if %input%==G goto GAME
if %input%==M goto MAIN
if %input%==E exit
:GAME
cls
echo Please wait. The game is loading.
timeout /t 5
cls
echo.
color f4
echo.
echo The field is open. Please put a mine, a machine gun or a laser gun.
echo.
echo To choose position 1, press the button(s) for weapon and then number 1.
echo To choose position 2, press the button(s) for weapon and then number 2.
echo.
echo FIELD
echo.
echo ___________________________________
echo I...[POSITION 1]................................
echo I.......................................................
echo I.......................................................
echo I.......................................................
echo I...................................[POSITION 2]
echo I___________________________________
echo.
echo Your goal is to defend the field from attackers. Good luck. 
set /p input=Action?
if %input%==M1 goto MENA
if %input%==M2 goto MDVA
if %input%==MG1 goto MGEN
if %input%==MG2 goto MGDV
if %input%==LG1 goto LGEN
if %input%==LG2 goto LGDV
:MENA
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers infected the field! You loose!
pause
goto LOOS
:LOOS
cls
echo You loosed the game. Try again
pause
goto MAIN
:MDVA
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers didn't infect the field! You won!
pause
goto WIN
:MGEN
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers didn't infect the field! You won!
pause
goto WIN
:MGDV
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers infected the field! You loose!
pause
goto LOOS
:LGEN
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers didn't infect the field! You won!
pause
goto WIN
:LGDV
cls
echo Attackers are attacking
timeout /t 3
echo.
echo Attackers infected the field! You loose!
pause
goto LOOS
:WIN
cls
echo You won! Congratulations!
pause
goto MAIN

 
nice coding
  • Like 1

Share this post


Link to post
Share on other sites

 

 

@echo off

cls
color f0
:MAIN
echo.
echo.
echo ......... Defense System .........
echo.
echo ......... By xTremeAluminium .........
echo.
echo.
echo.
echo Welcome! You just entered a batchgame Defense System!
echo.
echo If you want to start playing, press G (caps lock shall be on) and then the ENTER key.
echo.
echo If you want to read the instructions, press I (caps lock shall be on) and then the ENTER key.
echo.
echo If you want to exit, press E (caps lock shall be on) and then the ENTER key.
echo.
set /p input=Command (G, I or E)?
if %input%==G goto GAME
if %input%==I goto INST
if %input%==E exit
:INST
cls
type INST.txt
echo.
echo.
echo If you want to start playing, press G (caps lock shall be on) and then the ENTER key.
echo.
echo If you want to return to the main screen, press M (caps lock shall be on) and then the ENTER key.
echo.
echo If you want to exit, press E (caps lock shall be on) and then the ENTER key.
echo.
set /p input=Command (G, M or E)?
if %input%==G goto GAME
if %input%==M goto MAIN
if %input%==E exit
:GAME
cls
echo Please wait. The game is loading.
timeout /t 5
cls
echo.
color f4
echo.
echo The field is open. Please put a mine, a machine gun or a laser gun.
echo.
echo To choose position 1, press the button(s) for weapon and then number 1.
echo To choose position 2, press the button(s) for weapon and then number 2.
echo.
echo FIELD
echo.
echo ___________________________________
echo I...[POSITION 1]................................
echo I.......................................................
echo I.......................................................
echo I.......................................................
echo I...................................[POSITION 2]
echo I___________________________________
echo.
echo Your goal is to defend the field from attackers. Good luck. 
set /p input=Action?
if %input%==M1 goto MENA
if %input%==M2 goto MDVA
if %input%==MG1 goto MGEN
if %input%==MG2 goto MGDV
if %input%==LG1 goto LGEN
if %input%==LG2 goto LGDV
:MENA
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers infected the field! You loose!
pause
goto LOOS
:LOOS
cls
echo You loosed the game. Try again
pause
goto MAIN
:MDVA
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers didn't infect the field! You won!
pause
goto WIN
:MGEN
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers didn't infect the field! You won!
pause
goto WIN
:MGDV
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers infected the field! You loose!
pause
goto LOOS
:LGEN
cls
echo Attackers are attacking...
timeout /t 3
echo.
echo Attackers didn't infect the field! You won!
pause
goto WIN
:LGDV
cls
echo Attackers are attacking
timeout /t 3
echo.
echo Attackers infected the field! You loose!
pause
goto LOOS
:WIN
cls
echo You won! Congratulations!
pause
goto MAIN

 
nice coding

 

:D It's somehow boring, but I had fun making it.

Edited by xTremeAluminium

Share this post


Link to post
Share on other sites

This topic is now closed to further replies.
 Share

×
×
  • Create New...