Hello, there!
I created this tool for players go messing around, server owners do outdoors/propaganda/unique maps and filmmakers re-imagine their scenes more freely.
----------------------------------------------------------------
MEDIA
----------------------------------------------------------------
https://files.facepunch.com/forum/upload/107192/c2389b59-a629-4d98-8599-c8f2977097ec/8.jpg
https://files.facepunch.com/forum/upload/107192/58554bc2-d725-47ad-b3a4-8c49078e29bf/7.jpg
https://files.facepunch.com/forum/upload/107192/61081aca-9aed-46c9-b2c6-7345ac21c5b4/5.jpg
https://files.facepunch.com/forum/upload/107192/76e53967-792d-4fb1-8f84-19af3376f558/6.jpg
https://files.facepunch.com/forum/upload/107192/48682644-e196-438e-b78b-b6bbaeed5550/1.jpg
https://files.facepunch.com/forum/upload/107192/a310026a-bf1a-4e20-a429-882f7db38ddd/3.jpg
----------------------------------------------------------------
Functionalities
----------------------------------------------------------------
- Copy, paste and restore map, model and decal materials;
- Support for duplicator, undo and GMod saves;
- Preview mode;
- Material Browser;
- Change many material properties;
- Save / autosaving;
- Load / autoloading;
- Detailed cleanup;
- Admin / Client modes.
----------------------------------------------------------------
Limitations
----------------------------------------------------------------
Because of many reasons, this tool has some limitations and hacks.
- We can't handle map material bumpmaps;
- We can't get displacements texture paths;
- We can't use decals on the horizontal;
- We can't remove decals individually;
- We have a physical limit to the map material quantity (set by me, can be raised) because the materials created by the GMod's CreateMaterial() function show missing textures when I decide to use them on the map;
- We can't get precise information from map materials;
- I chose to not support model submaterials because they are not the focus;
- I don't know how the tool behaves with animated vmts;
- I'm not a programmer, I do this for fun. The source file is a huge block of code because I only feel comfortable this way, multiple files give me headaches...;
- Last but not least, English is not my primary language. Sorry for the ugly grammatical errors etc.
----------------------------------------------------------------
Activate the tool for players
----------------------------------------------------------------
If you want to easily edit maps maps with your friends, you can turn off the admin protections. Do it by typing de cvar:
mapret_admin 0
command in the server console. If you want to turn it back to normal, just set it to 1.
----------------------------------------------------------------
Demo download
----------------------------------------------------------------
Here is my modified gm_construct if you just want to see the addon in action without getting your hands dirty:
www.mediafire.com/file/xn7wyspy1qftw11/Demo.zip
Unzip it inside your "./GarrysMod/garrsmod" folder.
----------------------------------------------------------------
Source code
----------------------------------------------------------------
Here it is!
If you want to send me changes or suggestions, feel free to do so!
Have fun!
----------------------------------------------------------------
End
----------------------------------------------------------------
Special thanks to the testers:
* Beckman;
* BombermanMaldito;
* duck;
* XxtiozionhoxX;
* le0board;
* NickMBR.
Valeu, pessoal!!!
If there is something interesting that I can include in my tool, please, leave a comment!
If there are English errors or stupid text, please, let me know!
More tags: video / cinema / youtube / vimeo / tool / addon
Enjoy it!
Hopefully, it'll be worth the weight.
Made in Brazil
this is a pretty handy tool. i took it for a spin and i had lots of fun with it!
thanks for the tool, pal.
You're welcome.
But it's a shame to see so little movement around here.
This is actually really neat. Do you have a way to trigger a preset remotely? I'd imagine time based material changes might be kind of cool
@solid_jake Done
[Map Retexturizer] v1.3
- Fixed: Decal_Start() was internally requiring admin access and causing problems in the autoload
- Fixed: preview mode was not setting itself ON when the tool was selected
- Fixed: TOOL_BasicChecks() was running a map check on models and causing a script error
- Changed: better first spawn handling to avoid errors
- Added: server alerts when loads and saves are running
- Added: support to stop an already running load to load another saved game
- Added: remote (server) control (solid_jake's request):
-- mapret_remote_list = List the saved games;
-- mapret_remote_load = Load a saved game;
-- mapret_remote_save = Save the current server state.
Wow man I never would've thought something like this could be done, great work!
since the forum has been dead @Skeleto dude this forum is one of the most active pages i ever saw XD especially the lua delveopmen discussion. You post something, a few minutes later you have several answers
Sorry, you need to Log In to post a reply to this thread.