Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Client Support
  3. Trying to Remove Lighting effect in MOTD

Trying to Remove Lighting effect in MOTD

Scheduled Pinned Locked Moved BO2 Client Support
4 Posts 2 Posters 148 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Former User? Offline
    A Former User? Offline
    A Former User
    wrote on last edited by
    #1

    So I love MOTD, the only thing I don't really like is the blinding lighting🌩 effect that happens regularly. I have been looking at console commands with the hope of fidgeting with the skybox enough to remove it.
    I've found out that " r_lightTweakSunLight " when typed, displays the a normal value of 10 and then when it displays the lighting effect it jumps all the way to 30, I don't really know if it has anything to do with it but I'm just desperate at this point.
    Maybe I'll try flipping the skybox around or sum. Maybe the skybox isn't even involved. I'm really dumb and need some help please<3

    JezuzLizardundefined 1 Reply Last reply
    0
    • A Former User? A Former User

      So I love MOTD, the only thing I don't really like is the blinding lighting🌩 effect that happens regularly. I have been looking at console commands with the hope of fidgeting with the skybox enough to remove it.
      I've found out that " r_lightTweakSunLight " when typed, displays the a normal value of 10 and then when it displays the lighting effect it jumps all the way to 30, I don't really know if it has anything to do with it but I'm just desperate at this point.
      Maybe I'll try flipping the skybox around or sum. Maybe the skybox isn't even involved. I'm really dumb and need some help please<3

      JezuzLizardundefined Offline
      JezuzLizardundefined Offline
      JezuzLizard
      Plutonium Staff
      wrote on last edited by
      #2

      @Ahri-Simp The only way to disable the lightning is with a GSC script. I wrote this one a while ago but never released it.

      #include maps\mp\_utility;
      #include common_scripts\utility;
      #include maps\mp\zombies\_zm_utility;
      
      init()
      {
          if ( level.script == "zm_prison" )
          {
              level._callbacks[ "on_player_connect" ][ 16 ] = ::player_lightning_manager_override;
          }
      }
      
      player_lightning_manager_override()
      {
          self setclientfieldtoplayer( "toggle_lightning", 0 );
      }
      
      A Former User? 2 Replies Last reply
      0
      • JezuzLizardundefined JezuzLizard

        @Ahri-Simp The only way to disable the lightning is with a GSC script. I wrote this one a while ago but never released it.

        #include maps\mp\_utility;
        #include common_scripts\utility;
        #include maps\mp\zombies\_zm_utility;
        
        init()
        {
            if ( level.script == "zm_prison" )
            {
                level._callbacks[ "on_player_connect" ][ 16 ] = ::player_lightning_manager_override;
            }
        }
        
        player_lightning_manager_override()
        {
            self setclientfieldtoplayer( "toggle_lightning", 0 );
        }
        
        A Former User? Offline
        A Former User? Offline
        A Former User
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • JezuzLizardundefined JezuzLizard

          @Ahri-Simp The only way to disable the lightning is with a GSC script. I wrote this one a while ago but never released it.

          #include maps\mp\_utility;
          #include common_scripts\utility;
          #include maps\mp\zombies\_zm_utility;
          
          init()
          {
              if ( level.script == "zm_prison" )
              {
                  level._callbacks[ "on_player_connect" ][ 16 ] = ::player_lightning_manager_override;
              }
          }
          
          player_lightning_manager_override()
          {
              self setclientfieldtoplayer( "toggle_lightning", 0 );
          }
          
          A Former User? Offline
          A Former User? Offline
          A Former User
          wrote on last edited by
          #4

          JezuzLizard works perfectly, thank you very much❤ ❤

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Donate