Advertisement
AvengersAssemble

CSSZMMA-By-Yuval

Aug 31st, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 8.04 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace CounterStrikeSourceZMMA
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             /*
  14.              **************************
  15.              **************************
  16.              ***By Avengers-Assemble***
  17.              **********MrAlex**********
  18.              *********mcr0yal**********
  19.             */
  20.             Console.ForegroundColor = ConsoleColor.Yellow;
  21.             Console.WriteLine("                       ****By Avengers-Assemble****");
  22.             Console.ForegroundColor = ConsoleColor.Green;
  23.             Console.WriteLine("                 ***Special thanks to MrAlex & mcr0yal***");
  24.             Console.ForegroundColor = ConsoleColor.Cyan;
  25.             Console.WriteLine();
  26.             Console.WriteLine("Welcome to the Counter-Strike Source Zombie Mode spots advisor");
  27.             for (int i = 0; i >= 0; i++)
  28.             {
  29.                 Console.ForegroundColor = ConsoleColor.Cyan;
  30.                 if (i != 0)
  31.                     Console.WriteLine();
  32.                 Console.WriteLine("Please choose one of the followings (type map number):");
  33.                 Console.WriteLine("1. zm_ATIX_Apocalypse_b6");
  34.                 Console.WriteLine("2. zm_fubar_towers_v4");
  35.                 Console.WriteLine("3. ZM_Krusty_krab_a3");
  36.                 Console.WriteLine("4. zm_ezir_hacker");
  37.                 Console.WriteLine("5. zm_Lila_hacker");
  38.                 Console.WriteLine("6. zm_420_beachstrike_HeLL");
  39.                 Console.WriteLine("7. zm_4way_tunnel_v2");
  40.                 Console.WriteLine("0. exit program");
  41.                 int actionNum = int.Parse(Console.ReadLine());
  42.                 Console.WriteLine();
  43.                 if (actionNum == 1) //zm_ATIX_Apocalypse_b6
  44.                 {
  45.                     Console.WriteLine("Please choose one of the following evacuations (type evac number):");
  46.                     Console.WriteLine("1. Helicopter");
  47.                     Console.WriteLine("2. Truck");
  48.                     Console.WriteLine("3. Train");
  49.                     Console.WriteLine("4. Boat");
  50.                     int evacNum = int.Parse(Console.ReadLine());
  51.                     if (evacNum == 1)
  52.                     {
  53.                         Console.WriteLine("Latern/Retreat/White house' rooftop are the best spots.");
  54.                     }
  55.                     if (evacNum == 2)
  56.                     {
  57.                         Console.WriteLine("There are two building that contain a door that unlocks after a certain amount of time.");
  58.                         Console.WriteLine("These doors lead to a secret room that only humans (CTs) can enter.");
  59.                         Console.WriteLine("In that room, there is a glass wall that breaks after a certain amount of time, that glass wall leads directly into the truck.");
  60.                     }
  61.                     if (evacNum == 3)
  62.                     {
  63.                         Console.WriteLine("In front of the enterance to the train, there is a building with a breakable door. Get to the top floor of that building.");
  64.                         Console.WriteLine("Otherwise, go to retreat (heli spot), there is a secret enterance to the train there, placed behind the big truck.");
  65.                     }
  66.                     if (evacNum == 4)
  67.                     {
  68.                         Console.WriteLine("White house/building in front of train");
  69.                     }
  70.                     Console.ForegroundColor = ConsoleColor.White;
  71.                     Console.WriteLine();
  72.                     Console.WriteLine("Press any key to choose another map.");
  73.                     Console.ReadLine();
  74.                 }
  75.                 if (actionNum == 2) //zm_fubar_towers_v4
  76.                 {
  77.                     Console.WriteLine("Sky/disco (not a good spot if some of the zombies (Ts) know about the teleport to the disco)");
  78.                     Console.ForegroundColor = ConsoleColor.White;
  79.                     Console.WriteLine();
  80.                     Console.WriteLine("Press any key to choose another map.");
  81.                     Console.ReadLine();
  82.                 }
  83.                 if (actionNum == 3) //ZM_Krusty_krab_a3
  84.                 {
  85.                     Console.WriteLine("This map has many teleports and secrets, most of which are useless. However, there are a few useful ones. One of them leads to a secret room, which is a great place to camp with 2 friends with LMGs.");
  86.                     Console.ForegroundColor = ConsoleColor.White;
  87.                     Console.WriteLine();
  88.                     Console.WriteLine("Press any key to choose another map.");
  89.                     Console.ReadLine();
  90.                 }
  91.                 if (actionNum == 4) //zm_ezir_hacker
  92.                 {
  93.                     Console.WriteLine("Sniping spot/breakable blocks room (need to use a certain strategy)/breakable floor platform.");
  94.                     Console.ForegroundColor = ConsoleColor.White;
  95.                     Console.WriteLine();
  96.                     Console.WriteLine("Press any key to choose another map.");
  97.                     Console.ReadLine();
  98.                 }
  99.                 if (actionNum == 5) //zm_Lila_hacker
  100.                 {
  101.                     Console.WriteLine("This map is almost identical to zm_ezir_hacker (though it has less secrets and it's harder to use its teleports), thus the recommendations are the same as those for zm_ezir_hacker.");
  102.                     Console.ForegroundColor = ConsoleColor.White;
  103.                     Console.WriteLine();
  104.                     Console.WriteLine("Press any key to choose another map.");
  105.                     Console.ReadLine();
  106.                 }
  107.                 if (actionNum == 6) //zm_420_beachstrike_HeLL
  108.                 {
  109.                     Console.WriteLine("Rocks (greatly OP spot)/arrow/secret sky bridge (takes time to block so it's a risk, but if you do manage to block it in time, it's almost impossible to get you.");
  110.                     Console.ForegroundColor = ConsoleColor.White;
  111.                     Console.WriteLine();
  112.                     Console.WriteLine("Press any key to choose another map.");
  113.                     Console.ReadLine();
  114.                 }
  115.                 if (actionNum == 7) //zm_4way_tunnel_v2
  116.                 {
  117.                     Console.WriteLine("Many places in this map are good if you have 5+ players with you, but the room with sealable doors and air vents is best if you are only 1-3 guys.");
  118.                     Console.ForegroundColor = ConsoleColor.White;
  119.                     Console.WriteLine();
  120.                     Console.WriteLine("Press any key to choose another map.");
  121.                     Console.ReadLine();
  122.                 }
  123.                 if (actionNum == 0) //exit program
  124.                 {
  125.                     Console.WriteLine("Are you sure you would like to close the program?");
  126.                     Console.WriteLine("y / n");
  127.                     string yesNo = Console.ReadLine();
  128.                     Console.ForegroundColor = ConsoleColor.White;
  129.                     if (yesNo == "y")
  130.                     {
  131.                         Console.WriteLine("Press any key to cause the program to crash");
  132.                         Console.ReadLine();
  133.                         Console.WriteLine(1 / actionNum);
  134.                     }
  135.                     if (yesNo == "n")
  136.                     {
  137.                         Console.WriteLine("Press any key to go back to the main menu.");
  138.                         Console.ReadLine();
  139.                         Console.WriteLine();
  140.                     }
  141.                 }
  142.                 if (actionNum < 0 || actionNum > 7)
  143.                 {
  144.                     Console.WriteLine("Invalid number. Please choose a number between 0 to 7");
  145.                     Console.ForegroundColor = ConsoleColor.White;
  146.                     Console.WriteLine("Press any key to go back to choose again.");
  147.                     Console.ReadLine();
  148.                 }
  149.             }
  150.         }
  151.     }
  152. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement