Garry's Mod

Garry's Mod

1,339 ratings
Map Retexturizer
 
Rate  
Favorite
Favorited
Unfavorite
Type: Tool, Addon
Tags: Scenic, Build
File Size
Posted
Updated
0.025 MB
Apr 10, 2018 @ 10:14am
Apr 17, 2018 @ 10:09am
13 Change Notes ( view )

Subscribe to download
Map Retexturizer

Subscribed
Unsubscribe
In 3 collections by Xalalau
Brasil - Supremacia
71 items
GMod Gold Animator's Collection
94 items
mapret test
5 items
Description
Introduction

Hello, there!

I've created this tool for players to play around, for server owners to make unique outdoors / advertisement / maps and for filmmakers to reinvent their scenes more freely.

Here is my modified gm_construct from the video if you just want to see the addon in action without getting your hands dirty (remove the white spaces):

www . mediafire . com/file/xn7wyspy1qftw11/Demo.zip
Unzip it inside your "./GarrysMod/garrsmod" folder.

And check these links:




Functionalities
  • Copy, paste and restore map, model and decal materials;
  • Change all map materials at once (close enouth);
  • Change the skybox of any map with almost any material;
  • Works any with mounted or manually placed materials;
  • Support for duplicator, undo and GMod saves;
  • Fully prepared for singleplayer, listen servers and dedicated servers;
  • Preview mode;
  • Material Browser;
  • Change many material properties;
  • Save / autosaving;
  • Load / autoloading;
  • Detailed cleanup;
  • Admin / Client modes;
  • Remote control.

Server owners

You can remotely control the tool with these commands:
  • mapret_admin 1/0 = Turn on/off the admin protections;
  • mapret_remote_list = List the saved game names;
  • mapret_remote_load "name" = Load the saved game called "name";
  • mapret_remote_autoload "name" = Set an autoload;
  • mapret_remote_save "name" = Save the current server materials into a file called "name";
  • mapret_remote_autosave 1/0 = Enable/Disable the autosaving;
  • mapret_remote_delete "name" = Delete the save called "name".
  • mapret_remote_cleanup = Clean all the modifications.

Changing Skyboxes

Usage example:

1) Download: https://gamebanana.com/textures/4446 2) Place in the addons folder (from both server and client); 3) Restart the game (and the server); 4) Go to tool skybox textbox and write:
skybox/jungle_csgoft
You are going to see the material repeated. But remove the "ft" from the end of the name and try again...
skybox/jungle_csgo
Result: https://i.imgur.com/9LksdEa.jpg
Note: Check the documentation if you want to create your own sky materials
Note 2: If your computer is old and weak you are going to feel a slowdown using this function.

Managing Materials

HL2 textures and their properties are in these .VPKs:

[...]\steamapps\common\GarrysMod\sourceengine\hl2_textures_dir (For Valve Texture Files - VTF)
[...]\steamapps\common\GarrysMod\sourceengine\hl2_misc_dir (For Valve Material Files - VMF)

You can use your own materials by correctly creating them[gamebanana.com] and placing in the folder:

[...]\steamapps\common\GarrysMod\garrysmod\addons\mystuff\materials

Change "mystuff" as you like.

Requirements:
- GCFScape[nemesis.thewavelength.net] to open .VPK;
- VTFEdit[nemesis.thewavelength.net] to edit/create .VTF;
(OR Gimp[www.gimp.org] with the gimp-vtf[github.com] plug-in)
- A nice text editor like Notepad++[http//Notepad%2B%2B] to edit/create .VMF.

Limitations

Here is a list of the things that I'm struggling to do or we can't get to work:
  • Modify displacements;
  • Change many of the brush material properties, including but not limited to color and bumpmap;
  • GMod can't give me the complete map material list[wiki.garrysmod.com], so the "Change All" button works bad (I even hid it because of this problem. Use the command "mapret_changeall" to test the function);
  • Change materials per brush (How?);
  • Get displacements texture paths with Lua[gmod.facepunch.com];
  • Rezise decals[wiki.garrysmod.com];
  • Remove decals individually (How?);
  • I was not able to use CreateMaterial() to change map materials (shows missing textures), so files are needed to get the work done.

OMG IT ISN'T WORKING ON MY SERVER

TL;DR; Disable the Shader Cache in your NVidia Control Panel or AMD Settings.

People are having some weird errors because of graphics cards configurations optimizing the materials storage and for some reason it's only affecting dedicated servers.

if you are copying materials with the right mouse button and they are rendering wrong in the preview window then you are being affected by this thing.

Development status

TO-DO + Requests and bug reports

Source code

Here it is![github.com]

End

Thanks to the testers:
  • Beckman;
  • BombermanMaldito;
  • duck;
  • le0board;
  • Lou;
  • Matsilagi;
  • NickMBR;
  • XxtiozionhoxX;
  • Aliendude;
  • SMG5;
  • Gatíneo.

English errors or stupid text? Please, let me know!

More tags: video / cinema / youtube / vimeo / tool / addon

Made in Brazil. Valeu, pessoal!!!
Enjoy it! Hopefully, it'll be worth the weight. (Yes, WEIGHT!)
Popular Discussions View All (4)
21
May 18 @ 4:28am
PINNED: TO-DO + Requests and bug reports
Xalalau
9
Jul 8, 2018 @ 5:44am
gotta ask
soulus 天使
8
May 3 @ 5:41pm
Let's see if you are an artist
SMG5
< >
393 Comments
Aurum May 29 @ 8:10pm 
there ceiling of clouds in my 3d skybox and my atmos looks really bad because of it. But for some reason when i use the tool on the clouds it passes through and selects the skybox being it. Help?
Spookified sups.gg May 19 @ 6:19am 
I actually forgot my pic was added into this :D

(the 2nd one.)
the spook May 18 @ 8:13am 
welp this actually broke my game. And my textures. and several of my ribs.
DelHaven May 4 @ 7:12am 
cara, tem como adcionar de alguma forma, nesse addon, decal? tipo pode coloca texturas com decal na parede
DORQ709 May 4 @ 3:41am 
this would be sweet officially implemented
I cant figure out how to use this.
Ashe R34 Apr 3 @ 7:08pm 
HDR skyboxes drop my framerate from the 200s to 10-13.
~❤Nickolai❤~ Mar 24 @ 7:18am 
correction, it does not do the gun shooting animation when i click on a surface of a map.
~❤Nickolai❤~ Mar 24 @ 7:17am 
Hey for some reason it wont work anymore for me, i don't know what i did, but when i try to shoot the gun,(left click) it doesn't do anything, it does the animation when the gun fires, so could you help me with this problem, i hope you know what it is.
Grape Soda Mar 21 @ 12:28pm 
can you add a cleanup back to normal i keep having to undo one by one plz and a cleanup all:steamhappy: