// Use this for initialization void Start() { Prompt = GameObject.Find("Prompts"); System = GameObject.Find("System"); ComAddress = "S:/Settings"; windowRect.x = Customize.cust.windowx[windowID]; windowRect.y = Customize.cust.windowy[windowID]; ep = Prompt.GetComponent <ErrorProm>(); def = System.GetComponent <Defalt>(); com = System.GetComponent <Computer>(); os = System.GetComponent <OS>(); desk = System.GetComponent <Desktop>(); ct = System.GetComponent <CustomTheme>(); mouse = System.GetComponent <Mouse>(); appman = System.GetComponent <AppMan>(); ss = System.GetComponent <ScreenSaver>(); sc = System.GetComponent <SoundControl>(); TempName = ""; TempPass = ""; UpdateRezList(); AddTime(); SetPos(); Scale = Customize.cust.UIScale; windowRect.x = Screen.width - windowRect.width - 1; windowRect.y = 50; }
// Progtive is the one at a time sequential cracker // Use this for initialization void Start() { Hardware = GameObject.Find("Hardware"); Prompts = GameObject.Find("Prompts"); SysSoftware = GameObject.Find("System"); HackingSoftware = GameObject.Find("Hacking"); AppSoftware = GameObject.Find("Applications"); ep = Prompts.GetComponent <ErrorProm>(); com = SysSoftware.GetComponent <Computer>(); trace = HackingSoftware.GetComponent <Tracer>(); cmd = SysSoftware.GetComponent <CLI>(); defalt = SysSoftware.GetComponent <Defalt>(); ib = AppSoftware.GetComponent <InternetBrowser>(); ws = AppSoftware.GetComponent <WebSec>(); cpu = Hardware.GetComponent <CPU>(); sc = SysSoftware.GetComponent <SoundControl>(); windowRect = new Rect(100, 100, 300, 200); CloseButton = new Rect(windowRect.width - 23, 2, 21, 21); ExecuteButton = new Rect(45, 100, 60, 24); windowID = 99; }
// Progtive is the one at a time sequential cracker // Use this for initialization void Start() { Hardware = GameObject.Find("Hardware"); Prompts = GameObject.Find("Prompts"); SysSoftware = GameObject.Find("System"); HackingSoftware = GameObject.Find("Hacking"); AppSoftware = GameObject.Find("Applications"); ep = Prompts.GetComponent <ErrorProm>(); com = SysSoftware.GetComponent <Computer>(); trace = HackingSoftware.GetComponent <Tracer>(); cmd = SysSoftware.GetComponent <CLICommands>(); defalt = SysSoftware.GetComponent <Defalt>(); ib = AppSoftware.GetComponent <InternetBrowser>(); ws = AppSoftware.GetComponent <WebSec>(); cpu = Hardware.GetComponent <CPU>(); sc = SysSoftware.GetComponent <SoundControl>(); windowRect.x = Customize.cust.windowx[windowID]; windowRect.y = Customize.cust.windowy[windowID]; native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; DictionaryVersion = 1; windowRect.height = 130; }
// Use this for initialization void Start() { windowID = 33; ai = GameObject.Find("NPCs"); go = GameObject.Find("Computer"); npcg = ai.GetComponent <NPCGen>(); com = go.GetComponent <Computer>(); def = go.GetComponent <Defalt>(); sc = go.GetComponent <SoundControl>(); ep = go.GetComponent <ErrorProm>(); native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; CloseButton = new Rect(375, 5, 21, 21); }
void WebSearch() { ib = AppsSoftware.GetComponent <InternetBrowser>(); misgen = Missions.GetComponent <MissionGen>(); ep = Prompts.GetComponent <ErrorProm>(); upg = Computer.GetComponent <Upgrade>(); defalt = SysSoftware.GetComponent <Defalt>(); pp = Prompts.GetComponent <PurchasePrompt>(); prog = HackingSoftware.GetComponent <Progtive>(); trace = HackingSoftware.GetComponent <Tracer>(); brow = Missions.GetComponent <MissionBrow>(); sm = AppsSoftware.GetComponent <SystemMap>(); dskman = SysSoftware.GetComponent <DiskMan>(); fu = SysSoftware.GetComponent <FileUtility>(); }
//public string Answer; //public float Var1; //public float Var2; // Use this for initialization void Start() { ep = GetComponent <ErrorProm>(); sdp = GetComponent <ShutdownProm>(); dp = GetComponent <DeleteProm>(); accset = GetComponent <AccSetup>(); ProfileController.procon.Load(); SelectedBackground = Random.Range(0, BackgroundPics.Count - 1); // if (GameControl.control.SelectedOS == null) // { // GameControl.control.SelectedOS = GameControl.control.OSName[0]; // } }
void WebSearch() { // APPLICATIONS ws = Applications.GetComponent <WebSec>(); sm = Applications.GetComponent <SystemMap>(); tr = Applications.GetComponent <TextReader>(); ib = Applications.GetComponent <InternetBrowser>(); // PROMPTS ep = Prompts.GetComponent <ErrorProm>(); // HACKING trace = Hacking.GetComponent <Tracer>(); prog = Hacking.GetComponent <Progtive>(); // SYSTEM com = System.GetComponent <Computer>(); def = System.GetComponent <Defalt>(); pl = System.GetComponent <PasswordList>(); clic = System.GetComponent <CLICommandsV2>(); }
// Progtive is the one at a time sequential cracker // Use this for initialization void Start() { Hardware = GameObject.Find("Hardware"); Prompts = GameObject.Find("Prompts"); SysSoftware = GameObject.Find("System"); HackingSoftware = GameObject.Find("Hacking"); AppSoftware = GameObject.Find("Applications"); ep = Prompts.GetComponent <ErrorProm>(); com = SysSoftware.GetComponent <Computer>(); trace = HackingSoftware.GetComponent <Tracer>(); cmd = SysSoftware.GetComponent <CLI>(); defalt = SysSoftware.GetComponent <Defalt>(); ib = AppSoftware.GetComponent <InternetBrowser>(); ws = AppSoftware.GetComponent <WebSec>(); cpu = Hardware.GetComponent <CPU>(); pl = SysSoftware.GetComponent <PasswordList>(); sc = SysSoftware.GetComponent <SoundControl>(); CloseButton = new Rect(125, 1, 21, 21); ExecuteButton = new Rect(45, 100, 60, 24); StartingCount = pl.PasswordWords.Count; }
// Use this for initialization void Start() { System = GameObject.Find("System"); Applications = GameObject.Find("Applications"); Hacking = GameObject.Find("Hacking"); Other = GameObject.Find("Other"); Computer = GameObject.Find("Computer"); Prompts = GameObject.Find("Prompts"); WindowHandel = GameObject.Find("WindowHandel"); QA = GameObject.Find("QA"); winman = WindowHandel.GetComponent <WindowManager>(); history = Computer.GetComponent <SiteList>(); websecviewer = Computer.GetComponent <WebSecViewer>(); qa = QA.GetComponent <BugReport>(); //DESKTOP ENVIROMENT customtheme = Computer.GetComponent <CustomTheme>(); startmenu = System.GetComponent <AppMenu>(); rezprompt = Prompts.GetComponent <RezPrompt>(); desktop = System.GetComponent <Desktop>(); vc = System.GetComponent <VolumeController>(); //HACKING SOFTWARE pro = Hacking.GetComponent <Progtive>(); trace = Hacking.GetComponent <Tracer>(); dirsearch = Hacking.GetComponent <DirSearch>(); dicCrk = Hacking.GetComponent <DicCrk>(); passwordcracker = Hacking.GetComponent <PasswordCracker>(); dirsearch = Hacking.GetComponent <DirSearch>(); //STOCK SYSTEMS // port = Applications.GetComponent<Portfolio>(); // shareprompt = Prompts.GetComponent<SharePrompt>(); //OTHER PROMPTS purchaseprompt = Prompts.GetComponent <PurchasePrompt>(); //SYSTEM PROMPTS errorprompt = Prompts.GetComponent <ErrorProm>(); shutdownprompt = Prompts.GetComponent <ShutdownProm>(); installprompt = Prompts.GetComponent <InstallPrompt>(); //SYSTEM SOFTWARE sysclock = System.GetComponent <Clock>(); cli = System.GetComponent <CLI>(); cliv2 = System.GetComponent <CLIV2>(); os = System.GetComponent <OS>(); systempanel = System.GetComponent <SystemPanel>(); tasks = System.GetComponent <TaskViewer>(); com = System.GetComponent <Computer>(); diskman = System.GetComponent <DiskMan>(); vv = System.GetComponent <VersionViewer>(); fp = System.GetComponent <FileExplorer>(); SRM = System.GetComponent <SystemResourceManager>(); boot = System.GetComponent <Boot>(); deviceman = System.GetComponent <DeviceManager>(); executor = System.GetComponent <Executor>(); gatewayviewer = System.GetComponent <GatewayViewer>(); //LEGAL APPLICATIONS email = Applications.GetComponent <EmailClient>(); caluclator = Applications.GetComponent <Calculator>(); notepad = Applications.GetComponent <Notepad>(); notepadv2 = Applications.GetComponent <Notepadv2>(); accountlogs = Applications.GetComponent <AccLog>(); mp = Applications.GetComponent <MusicPlayer>(); treeview = Applications.GetComponent <TreeView>(); nv = Applications.GetComponent <NotificationViewer>(); pv = Applications.GetComponent <PlanViewer>(); calendar = Applications.GetComponent <Calendar>(); calendarv2 = Applications.GetComponent <CalendarV2>(); eventview = Applications.GetComponent <EventViewer>(); exchangeviewer = Applications.GetComponent <ExchangeViewer>(); //INTERNET BROWSERS internetbrowser = Applications.GetComponent <InternetBrowser>(); edgebrowser = Applications.GetComponent <NetViewer>(); firefoxbrowser = Applications.GetComponent <Firefox>(); //APPLICATIONS systemMap = Applications.GetComponent <SystemMap>(); textreader = Applications.GetComponent <TextReader>(); //BROWSER STUFF history = Computer.GetComponent <SiteList>(); //OTHER CONNECTION DEVICE rv = Applications.GetComponent <RemoteView>(); vmd = Other.GetComponent <VMDesigner>(); }
void ProgramSetup() { AppSoftware = GameObject.Find("Applications"); QA = GameObject.Find("QA"); HackingSoftware = GameObject.Find("Hacking"); SysSoftware = GameObject.Find("System"); Computer = GameObject.Find("Computer"); Other = GameObject.Find("Other"); Missions = GameObject.Find("Missions"); qa = QA.GetComponent <BugReport>(); //mb = GetComponent<MissionBrow>(); sl = Computer.GetComponent <SiteList>(); wsv = Computer.GetComponent <WebSecViewer>(); //Hacking Software pro = HackingSoftware.GetComponent <Progtive>(); trace = HackingSoftware.GetComponent <Tracer>(); ds = HackingSoftware.GetComponent <DirSearch>(); dc = HackingSoftware.GetComponent <DicCrk>(); passcrk = HackingSoftware.GetComponent <PasswordCracker>(); //System Sofware dsk = SysSoftware.GetComponent <Desktop>(); com = SysSoftware.GetComponent <Computer>(); ss = SysSoftware.GetComponent <ScreenSaver>(); sp = SysSoftware.GetComponent <SystemPanel>(); am = SysSoftware.GetComponent <AppMenu>(); tasks = SysSoftware.GetComponent <TaskViewer>(); clk = SysSoftware.GetComponent <Clock>(); cmd = SysSoftware.GetComponent <CLI>(); cmd2 = SysSoftware.GetComponent <CLIV2>(); os = SysSoftware.GetComponent <OS>(); dm = SysSoftware.GetComponent <DiskMan>(); mouse = SysSoftware.GetComponent <Mouse>(); fp = SysSoftware.GetComponent <FileExplorer>(); dem = SysSoftware.GetComponent <DeviceManager>(); vc = SysSoftware.GetComponent <VolumeController>(); //Application Softwate // port = AppSoftware.GetComponent<Portfolio>(); tr = AppSoftware.GetComponent <TextReader>(); sm = AppSoftware.GetComponent <SystemMap>(); al = AppSoftware.GetComponent <AccLog>(); note = AppSoftware.GetComponent <Notepad>(); notev2 = AppSoftware.GetComponent <Notepadv2>(); cc = AppSoftware.GetComponent <EmailClient>(); tv = AppSoftware.GetComponent <TreeView>(); nv = AppSoftware.GetComponent <NotificationViewer>(); pv = AppSoftware.GetComponent <PlanViewer>(); //calendar = AppSoftware.GetComponent<Calendar>(); calendarv2 = AppSoftware.GetComponent <CalendarV2>(); eventview = AppSoftware.GetComponent <EventViewer>(); exchangeview = AppSoftware.GetComponent <ExchangeViewer>(); // Application Browsers ib = AppSoftware.GetComponent <InternetBrowser>(); eib = AppSoftware.GetComponent <NetViewer>(); fib = AppSoftware.GetComponent <Firefox>(); rv = AppSoftware.GetComponent <RemoteView>(); cal = AppSoftware.GetComponent <Calculator>(); mp = AppSoftware.GetComponent <MusicPlayer>(); // Prompts ip = Prompts.GetComponent <InstallPrompt>(); pp = Prompts.GetComponent <PurchasePrompt>(); ep = Prompts.GetComponent <ErrorProm>(); sdp = Prompts.GetComponent <ShutdownProm>(); rp = Prompts.GetComponent <RezPrompt>(); // shareprompt = Prompts.GetComponent<SharePrompt>(); notiprompt = Prompts.GetComponent <NotfiPrompt>(); //OTHER vmd = Other.GetComponent <VMDesigner>(); // Computer ct = Computer.GetComponent <CustomTheme>(); //Missions misgen = Missions.GetComponent <MissionGen>(); }
// Use this for initialization void Start() { cd = GameControl.control.BootTime; Kernal(); missions = GameObject.Find("Missions"); jd = GetComponent <JailDew>(); uc = GetComponent <Unicom>(); test = GetComponent <Test>(); disk = GetComponent <CD>(); com = GetComponent <Computer>(); note = GetComponent <Notepad>(); pro = GetComponent <Progtive>(); trace = GetComponent <Tracer>(); mb = GetComponent <MissionBrow>(); cc = GetComponent <CurContracts>(); sl = GetComponent <SiteList>(); al = GetComponent <AccLog>(); ds = GetComponent <DirSearch>(); tv = GetComponent <TreeView>(); clk = GetComponent <Clock>(); cmd = GetComponent <CLI> (); def = GetComponent <Defalt>(); mg = GetComponent <MissionGen>(); os = GetComponent <OS>(); sm = GetComponent <SystemMap>(); wsv = GetComponent <WebSecViewer>(); ep = GetComponent <ErrorProm>(); sdp = GetComponent <ShutdownProm>(); sp = GetComponent <SystemPanel>(); sc = GetComponent <SoundControl>(); desk = GetComponent <Desktop>(); ct = GetComponent <CustomTheme>(); mouse = GetComponent <Mouse>(); ss = GetComponent <ScreenSaver>(); clic = GetComponent <CLICommands>(); missiongen = missions.GetComponent <MissionGen>(); missionbrow = missions.GetComponent <MissionBrow>(); currentcontracts = missions.GetComponent <CurContracts>(); RotationCooldown = 0.01f; if (Application.isEditor == true) { windowRect.width = Screen.width; windowRect.height = Screen.height; } else { windowRect.width = Customize.cust.RezX; windowRect.height = Customize.cust.RezY; } Pos.width = windowRect.width / 2; Pos.height = windowRect.height / 2; windowRect.x = 0; windowRect.y = 0; x = Pos.width - 30; y = Pos.height; GameControl.control.GUIID = Customize.cust.GUIID; StartTimer = 0.01f; PlaySoundOnce = false; LoadPresetColors(); missiongen.enabled = true; missionbrow.enabled = true; currentcontracts.enabled = true; }
// Use this for initialization void Start() { com = GetComponent <Computer>(); pui = GetComponent <ProfileUI>(); ep = GetComponent <ErrorProm>(); }