Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CVisualTab::Setup()
- {
- SetTitle("VISUALS");
- ActiveLabel.SetPosition(46 + 134, -15 - 8);
- ActiveLabel.SetText("Active");
- RegisterControl(&ActiveLabel);
- Active.SetFileId("active");
- Active.SetPosition(86 + 134, -15 - 8);
- RegisterControl(&Active);
- #pragma region Options
- BoxGroup.SetText("Box");
- BoxGroup.SetPosition(363 - 25, -15 - 8);
- BoxGroup.SetSize(173, 155);
- RegisterControl(&BoxGroup);
- OptionsBox.SetFileId("otr_showbox");
- BoxGroup.PlaceCheckBox("Bounding box", this, &OptionsBox);
- OptionsName.SetFileId("opt_name");
- BoxGroup.PlaceCheckBox("Name", this, &OptionsName);
- OptionsWeapon.SetFileId("opt_weapon");
- BoxGroup.PlaceCheckBox("Weapon", this, &OptionsWeapon);
- OptionHealthEnable.SetFileId("opt_health");
- BoxGroup.PlaceCheckBox("Health bar", this, &OptionHealthEnable);
- OptionsArmor.SetFileId("opt_armor");
- BoxGroup.PlaceCheckBox("Armor", this, &OptionsArmor);
- OptionsSkeleton.SetFileId("opt_bone");
- BoxGroup.PlaceCheckBox("Skeleton", this, &OptionsSkeleton);
- ChamsGroup.SetText("Chams");
- ChamsGroup.SetPosition(16 + 134, -3); //-23
- ChamsGroup.SetSize(173, 135);
- RegisterControl(&ChamsGroup);
- OptionsChams.SetFileId("opt_chams");
- OptionsChams.AddItem("Off");
- OptionsChams.AddItem("Normal");
- OptionsChams.AddItem("Flat");
- ChamsGroup.PlaceOtherControl("Chams", this, &OptionsChams);
- OtherNoHands.SetFileId("otr_hands");
- OtherNoHands.AddItem("Off");
- OtherNoHands.AddItem("None");
- OtherNoHands.AddItem("TP");
- OtherNoHands.AddItem("WF");
- OtherNoHands.AddItem("Chams");
- OtherNoHands.AddItem("Rainbow");
- ChamsGroup.PlaceOtherControl("Hands", this, &OtherNoHands);
- ChamsVisibleOnly.SetFileId("opt_chamsvisonly");
- ChamsGroup.PlaceCheckBox("XQZ chams", this, &ChamsVisibleOnly);
- pLocalOpacity.SetFileId("otr_plocal_opacity");
- ChamsGroup.PlaceCheckBox("Opacity", this, &pLocalOpacity);
- OptionsGroup.SetText("Misc");
- OptionsGroup.SetPosition(150, 155 + 183);
- OptionsGroup.SetSize(173, 155);
- RegisterControl(&OptionsGroup);
- OtherHitmarker.SetFileId("otr_hitmarker");
- OptionsGroup.PlaceCheckBox("Hitmarker", this, &OtherHitmarker);
- HitmarkerSound.SetFileId("otr_hitmarkersound");
- OptionsGroup.PlaceCheckBox("Hitmarker sound", this, &HitmarkerSound);
- Logs.SetFileId("otr_logs");
- OptionsGroup.PlaceCheckBox("Logs", this, &Logs);
- OptionsAimSpot.SetFileId("opt_aimspot");
- OptionsGroup.PlaceCheckBox("Head cross", this, &OptionsAimSpot);
- BacktrackingLol.SetFileId("opt_backdot");
- OptionsGroup.PlaceCheckBox("Backtrack visualization", this, &BacktrackingLol);
- InfoGroup.SetText("Info");
- InfoGroup.SetPosition(526, 155);
- InfoGroup.SetSize(173, 155);
- RegisterControl(&InfoGroup);
- OptionsInfo.SetFileId("opt_info");
- InfoGroup.PlaceCheckBox("Info", this, &OptionsInfo);
- ResolverInfo.SetFileId("opt_resolverinfo");
- InfoGroup.PlaceCheckBox("Resolver info", this, &ResolverInfo);
- OptionsCompRank.SetFileId("opt_comprank");
- InfoGroup.PlaceCheckBox("Ranks", this, &OptionsCompRank);
- RemovalsGroup.SetText("Removals");
- RemovalsGroup.SetPosition(566 - 40, -15 - 8);
- RemovalsGroup.SetSize(173, 155);
- RegisterControl(&RemovalsGroup);
- OtherNoVisualRecoil.SetFileId("otr_visrecoil");
- RemovalsGroup.PlaceCheckBox("Remove visual recoil", this, &OtherNoVisualRecoil);
- OtherNoFlash.SetFileId("otr_noflash");
- RemovalsGroup.PlaceCheckBox("Remove flashbang", this, &OtherNoFlash);
- OtherNoSmoke.SetFileId("otr_nosmoke");
- RemovalsGroup.PlaceCheckBox("Remove smoke", this, &OtherNoSmoke);
- OtherNoScope.SetFileId("otr_noscope");
- RemovalsGroup.PlaceCheckBox("Remove scope", this, &OtherNoScope);
- #pragma endregion Setting up the Options controls
- #pragma region Filters
- FiltersGroup.SetText("Filters");
- FiltersGroup.SetPosition(749 - 40, -15 - 8);
- FiltersGroup.SetSize(173, 155);
- RegisterControl(&FiltersGroup);
- //FiltersAll.SetFileId("ftr_all");
- //FiltersGroup.PlaceCheckBox("All", this, &FiltersAll);
- FiltersPlayers.SetFileId("ftr_players");
- FiltersGroup.PlaceCheckBox("Players", this, &FiltersPlayers);
- FiltersSelf.SetFileId("ftr_self");
- FiltersGroup.PlaceCheckBox("Local", this, &FiltersSelf);
- FiltersEnemiesOnly.SetFileId("ftr_enemyonly");
- FiltersGroup.PlaceCheckBox("Enemies only", this, &FiltersEnemiesOnly);
- FiltersWeapons.SetFileId("ftr_weaps");
- FiltersGroup.PlaceCheckBox("Weapons", this, &FiltersWeapons);
- FiltersNades.SetFileId("ftr_nades");
- FiltersGroup.PlaceCheckBox("Nades", this, &FiltersNades);
- FiltersC4.SetFileId("ftr_c4");
- FiltersGroup.PlaceCheckBox("C4", this, &FiltersC4);
- #pragma endregion Setting up the Filters controls
- #pragma region Other
- OtherGroup.SetText("Show");
- OtherGroup.SetPosition(150, 155);
- OtherGroup.SetSize(173, 155);
- RegisterControl(&OtherGroup);
- OtherSpreadCrosshair.SetFileId("otr_spreadhair");
- OtherGroup.PlaceCheckBox("Show innacuracy", this, &OtherSpreadCrosshair);
- SpecList.SetFileId("otr_speclist");
- OtherGroup.PlaceCheckBox("Spectators", this, &SpecList);
- OtherRadar.SetFileId("otr_radar");
- OtherGroup.PlaceCheckBox("Radar", this, &OtherRadar);
- Watermark.SetFileId("otr_watermark");
- OtherGroup.PlaceCheckBox("Watermark", this, &Watermark);
- WelcomeMessage.SetFileId("otr_welcomemsg");
- WelcomeMessage.SetState(false);
- OtherGroup.PlaceCheckBox("Show greeting", this, &WelcomeMessage);
- LBYIndicator.SetFileId("otr_lbyindicator");
- OtherGroup.PlaceCheckBox("LBY Indicator", this, &LBYIndicator);
- GlowGroup.SetText("Glow");
- GlowGroup.SetPosition(363 - 25, 155);
- GlowGroup.SetSize(173, 155);
- RegisterControl(&GlowGroup);
- OptionsGlow.SetFileId("opt_glow");
- GlowGroup.PlaceCheckBox("Glow", this, &OptionsGlow);
- EntityGlow.SetFileId("opt_entityglow");
- GlowGroup.PlaceCheckBox("Entity glow", this, &EntityGlow);
- //GlowZ.SetFileId("opt_glowz");
- GlowZ.SetBoundaries(0.f, 255.f);
- GlowZ.SetValue(255);
- //OptionsGroup.PlaceOtherControl("Glow Alpha", this, &GlowZ);
- RenderGroup.SetText("Render");
- RenderGroup.SetPosition(709, 155);
- RenderGroup.SetSize(173, 155);
- RegisterControl(&RenderGroup);
- Barrels.SetFileId("opt_barrels");
- RenderGroup.PlaceCheckBox("Trace lines", this, &Barrels);
- AALines.SetFileId("opt_aalines");
- RenderGroup.PlaceCheckBox("Anti-Aim lines", this, &AALines);
- OtherViewmodelFOV.SetFileId("otr_viewfov");
- OtherViewmodelFOV.SetBoundaries(0.f, 180.f);
- OtherViewmodelFOV.SetValue(0.f);
- RenderGroup.PlaceOtherControl("Viewmodel FOV", this, &OtherViewmodelFOV);
- OtherFOV.SetFileId("otr_fov");
- OtherFOV.SetBoundaries(0.f, 70.f);
- OtherFOV.SetValue(0.f);
- RenderGroup.PlaceOtherControl("Render FOV", this, &OtherFOV);
- #pragma endregion Setting up the Other controls
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement