diff --git a/Config/MovieAdsRemover_Config.ini b/Config/MovieAdsRemover_Config.ini index ee5b56a..6504a11 100644 --- a/Config/MovieAdsRemover_Config.ini +++ b/Config/MovieAdsRemover_Config.ini @@ -3,14 +3,15 @@ bCompletelyDisable=true # Replace the movies with a texture image/GIF that you can specify below bReplaceWithTexture=true +# Name of the texture Package +sPackageName=MARTex.utx # First, make sure the image you are trying to import is: # A power-of-two number of pixels across (e.g. 1x1, 16x4, 64x128, 256x256, ...) up to 1024x1024. # Using 8-bit color (256 color indexed) BMP or PCX for UT; 8-bit indexed BMP or PCX, 24 bit or 32 bit TGA or DDS for UT2003. -# Saved in .pcx or .bmp for UT; saved in .pcx, .bmp, targa, DXT or UPaint for UT2003. +# Saved in .pcx or .bmp or .dds # Import to KF-SDK. In-game they will automatically be downscaled to fit view of w=320 h=240 -# This is just an `Image` -; sTextureName=MARTex.AT_FirePlace -# This is a `GIF` +# This is a `GIF`, recommended size is 256x256 +# A guide on how to easily create GIFs as textures will be provided soon sTextureName=MARTex.Doro.Blood_a01 # FPS of the Animated GIF/Texture - if set to 0, FPS will always be same # as the Player's own FPS. This is sometimes problematic if you have 60+ FPS diff --git a/MovieAdsRemover/Classes/MovieAdsRemover.uc b/MovieAdsRemover/Classes/MovieAdsRemover.uc index 0fcfec9..ce93434 100644 --- a/MovieAdsRemover/Classes/MovieAdsRemover.uc +++ b/MovieAdsRemover/Classes/MovieAdsRemover.uc @@ -6,11 +6,9 @@ class MovieAdsRemover extends Mutator Config(MovieAdsRemover_Config); -#exec OBJ LOAD FILE=MARTex.utx - // Config Vars var config bool bCompletelyDisable, bReplaceWithTexture; -var config string sTextureName; +var config string sPackageName, sTextureName; var config float fMaxFPS; // Local Vars @@ -20,7 +18,7 @@ replication { unreliable if (Role == ROLE_Authority) bCompletelyDisable,bReplaceWithTexture, - sTextureName, + sPackageName,sTextureName, fMaxFPS; } @@ -33,7 +31,7 @@ simulated function PostBeginPlay() class'MovieAdsRemover'.default.Mut = self; // Make sure Clients also download the Texture Package - AddToPackageMap("MARTex.utx"); + AddToPackageMap(sPackageName); } simulated function Tick(float DeltaTime) { diff --git a/README.md b/README.md index 42d64ab..3d54002 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# CustomLobbyMenuADs +# MovieAdsRemover -Completely disable LobbyAdMenu (Movie section) or (WIP - Show your custom image (as a .utx)) +Completely disable LobbyAdMenu (Movie section) or show your custom image/GIF for all players diff --git a/Workshop-text/Workshop-Text b/Workshop-text/Workshop-Text index 5974e5e..2adc57b 100644 --- a/Workshop-text/Workshop-Text +++ b/Workshop-text/Workshop-Text @@ -3,7 +3,7 @@ Remove 'Movies' section from the Lobby [b]Features[/b] - Completely hide the Movies panel -- Replace 'Movies' with a custom Texture +- Replace 'Movies' with a custom Texture (IMGs, GIFs etc..) [h1][b][u]Credits[/u][/b][/h1] @@ -25,7 +25,25 @@ Remove 'Movies' section from the Lobby [h1][b][u]Sample Config[/u][/b][/h1] [code] - +[MovieAdsRemover.MovieAdsRemover] +# Removes the 'Movies' section completely +bCompletelyDisable=true +# Replace the movies with a texture image/GIF that you can specify below +bReplaceWithTexture=true +# Name of the texture Package +sPackageName=MARTex.utx +# First, make sure the image you are trying to import is: +# A power-of-two number of pixels across (e.g. 1x1, 16x4, 64x128, 256x256, ...) up to 1024x1024. +# Using 8-bit color (256 color indexed) BMP or PCX for UT; 8-bit indexed BMP or PCX, 24 bit or 32 bit TGA or DDS for UT2003. +# Saved in .pcx or .bmp or .dds +# Import to KF-SDK. In-game they will automatically be downscaled to fit view of w=320 h=240 +# This is a `GIF`, recommended size is 256x256 +# A guide on how to easily create GIFs as textures will be provided soon +sTextureName=MARTex.Doro.Blood_a01 +# FPS of the Animated GIF/Texture - if set to 0, FPS will always be same +# as the Player's own FPS. This is sometimes problematic if you have 60+ FPS +# then the animation will be super fast! +fMaxFPS=60 [/code] [h1][b][u]File Names[/u][/b][/h1]