#include common_scripts\utility; #include maps\mp\_utility; #include maps\mp\gametypes\_hud_util; // ============================================================================= // ============================================================================= // == Mod Name: Your Mod Name Here // == Mod Cleaner: Shootah| // == Mod Maker: iNuke(I think) // == Mod Description: - // - // - // - // - // - // == Mod Version: x.x // ============================================================================= // ============================================================================= doSettings() { AntiHardScope = true; MaxScopeTime = 0.22; CustomFieldOfView = *fov*GSCCHANGE; FieldOfView = *fovint*GSCCHANGE; FieldOfViewScale = 1; CustomTeamNames = true; ShowEnemyNames = false; TeamNameAxis = "*Axis*GSCCHANGE"; TeamNameAllies = "*Allies*GSCCHANGE"; DamageDirection = false; RemoveTurrets = true; DrawCrosshair = true; EnableKillstreaks = false; EnableKillcam = true; EnableFallDamage = false; MainWeapon = "*primary*GSCCHANGE"; ThrowingKnife = true; UseSecondary = true; SecondaryWeapon = "*secondary*GSCCHANGE"; SecondaryHasAmmo = false; RemoveAllPerks = true; DefaultSniperPerks = true; if (AntiHardScope) { self thread maps\mp\isnipe\extras\antihardscope::EnableAntiHardScope(MaxScopeTime); } self takeAllWeapons(); self giveWeapon( MainWeapon, false ); wait 0.1; self switchToWeapon(MainWeapon); self GiveMaxAmmo(MainWeapon); if (CustomFieldOfView) { setDvar("cg_fov", FieldOfView); self setClientDvar("cg_fov", FieldOfView); setDvar( "cg_fovscale", FieldOfViewScale); } if (EnableFallDamage == false) { setDvar("bg_fallDamageMinHeight", 9998); setDvar("bg_fallDamageMaxHeight", 9999); } if (CustomTeamNames) { setDvar("g_TeamName_Allies", TeamNameAllies); setDvar("g_TeamName_Axis", TeamNameAxis); } if (RemoveTurrets) { level deletePlacedEntity("misc_turret"); } if (DamageDirection == false) { setDvar( "cg_drawDamageDirection", 0 ); } if (ShowEnemyNames == false) { setDvar( "cg_drawCrosshairNames", 0 ); } if (DrawCrosshair == false) { setDvar( "cg_drawCrosshair", 0 ); } if (EnableKillstreaks == false) { setDvar("scr_game_killstreakdelay", 99999); self maps\mp\killstreaks\_killstreaks::clearKillstreaks(); self maps\mp\gametypes\_class::setKillstreaks( "none", "none", "none" ); setDvar("scr_game_hardpoints", 0); } if (ThrowingKnife) { self maps\mp\perks\_perks::givePerk("throwingknife_mp"); self setWeaponAmmoClip("throwingknife_mp", 1); } if (RemoveAllPerks) { self _clearPerks(); } if (DefaultSniperPerks) { *perks*GSCCHANGE } if (UseSecondary) { self giveWeapon( SecondaryWeapon, 5, false ); if (SecondaryHasAmmo == false) { self setWeaponAmmoClip( SecondaryWeapon, 0); self setWeaponAmmoStock( SecondaryWeapon, 0); } } if (EnableKillcam == false) { setDvar("scr_game_allowkillcam", 1); } while (self getCurrentWeapon() != MainWeapon) { self switchToWeapon(MainWeapon); wait 0.05; } }