Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CSSZMMA
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine(" ****By Avengers-Assemble****");
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine(" ***Special thanks to MrAlex & mcr0yal*** \n");
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("Welcome to the Counter-Strike Source Zombie Mode spots advisor");
- bool exitMapsLoop = false;
- while (exitMapsLoop == false)
- {
- bool exitEvacLoop = false;
- bool exitYesNoLoop = false;
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("Please choose one of the followings (type map number):");
- Console.WriteLine("1. zm_ATIX_Apocalypse_b6");
- Console.WriteLine("2. zm_fubar_towers_v4");
- Console.WriteLine("3. ZM_Krusty_krab_a3");
- Console.WriteLine("4. zm_ezir_hacker");
- Console.WriteLine("5. zm_Lila_hacker");
- Console.WriteLine("6. zm_420_beachstrike_HeLL");
- Console.WriteLine("7. zm_4way_tunnel_v2");
- Console.WriteLine("0. exit program");
- int actionNum = int.Parse(Console.ReadLine());
- Console.WriteLine();
- switch (actionNum)
- {
- case 0:
- Console.WriteLine("Are you sure you would like to close the program?");
- while (exitYesNoLoop == false)
- {
- Console.ForegroundColor = ConsoleColor.Cyan;
- Console.WriteLine("y / n");
- string yesNo = Console.ReadLine();
- Console.ForegroundColor = ConsoleColor.White;
- if (yesNo == "y")
- {
- exitMapsLoop = true;
- exitYesNoLoop = true;
- }
- if (yesNo == "n")
- exitYesNoLoop = true;
- if (yesNo != "y" && yesNo != "n")
- Console.WriteLine("Invalid order! You can only type 'y' or 'n'!");
- }
- break;
- case 1:
- while (exitEvacLoop == false)
- {
- Console.WriteLine("Please choose one of the following evacuations (type evac number):");
- Console.WriteLine("1. Helicopter");
- Console.WriteLine("2. Truck");
- Console.WriteLine("3. Train");
- Console.WriteLine("4. Boat");
- exitEvacLoop = false;
- int evacNum = int.Parse(Console.ReadLine());
- switch (evacNum)
- {
- case 1:
- Console.WriteLine("Latern/Retreat/White house' rooftop are the best spots.");
- break;
- case 2:
- Console.WriteLine("There are two building that contain a door that unlocks after a certain amount\nof time. These doors lead to a secret room that only humans (CTs) can enter. In that room, there is a glass wall that breaks after a certain amount of time,\nthat glass wall leads directly into the truck.");
- break;
- case 3:
- Console.WriteLine("In front of the enterance to the train, there is a building with a breakable\ndoor. Get to the top floor of that building.");
- Console.WriteLine("Otherwise, go to retreat (heli spot), there is a secret enterance to the train\nthere, placed behind the big truck.");
- break;
- case 4:
- Console.WriteLine("White house/building in front of train");
- break;
- default:
- Console.WriteLine("Invalid evacuation number! Please choose again");
- break;
- }
- Console.WriteLine();
- if (evacNum >= 1 && evacNum <= 4)
- exitEvacLoop = !exitEvacLoop;
- }
- break;
- case 2:
- Console.WriteLine("Sky/disco (not a good spot if some of the zombies (Ts) know about the teleport\nto the disco)");
- break;
- case 3:
- Console.WriteLine("This map has many teleports and secrets, most of which are useless. However,\nthere are a few useful ones. One of them leads to a secret room, which is a\ngreat place to camp with 2 friends with LMGs.");
- break;
- case 4:
- Console.WriteLine("Sniping spot/breakable blocks room (need to use a certain strategy)/breakable\nfloor platform.");
- break;
- case 5:
- Console.WriteLine("This map is almost identical to zm_ezir_hacker (though it has less secrets and\nit's harder to use its teleports), thus the recommendations are the same as\nthose for zm_ezir_hacker.");
- break;
- case 6:
- Console.WriteLine("Rocks (greatly OP spot)/arrow/secret sky bridge (takes time to block so it's a\nrisk, but if you do manage to block it in time, it's almost impossible to get\nyou.");
- break;
- case 7:
- Console.WriteLine("Many places in this map are good if you have 5+ players with you, but the room\nwith sealable doors and air vents is best if you are only 1-3 guys.");
- break;
- default:
- Console.WriteLine("Invalid number. Please choose a number between 0 to 7");
- break;
- }
- if (exitMapsLoop == false)
- {
- Console.ForegroundColor = ConsoleColor.White;
- Console.WriteLine();
- Console.WriteLine("Press 'enter' (return) to choose another map.");
- Console.ReadLine();
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement