Team Spartan Cookies & Milk Forums
New option to the Material tool - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Feedback (https://teamscm.co.uk/forum-9.html)
+--- Forum: Suggestions and improvements (https://teamscm.co.uk/forum-11.html)
+--- Thread: New option to the Material tool (/thread-3259.html)

Pages: 1 2 3


RE: New option to the Material tool - Blackcrow - 27-08-2020

Could be nice if when you copy the sub mat of a prop, The material is chosen in the material selection, and the Translation / Scale / Angle cursor of the transformation tab, switch to the copied value, will be very usefull


RE: New option to the Material tool - Person8880 - 30-08-2020

The current copying mode copies all of the sub-materials at once, of which there may be more than one so it can't really setup the tool parameters from them. I've added a second copying mode when holding sprint, that will open a menu with all of the sub-material overrides. Selecting an entry will copy the settings from it to your tool.


RE: New option to the Material tool - Blackcrow - 30-08-2020

Great ! Thanks


RE: New option to the Material tool - Person8880 - 20-09-2020

I've added a new "automatic scaling" option to the transform section that lets you specify the x and y axis to extract a prop's resizer scale from. The tool will apply these values to the scale you have set in the tool automatically based on the scale of the prop you apply a material to. This hopefully makes it easier to line up materials on resized props.


RE: New option to the Material tool - Blackcrow - 30-09-2020

I've been testing all the new options you added, very usefull !

I just had a problem with the preview, when I was looking at some props resized using Shearing.
Some props have an invisible preview, some other gave me a Black screen while looking at them and I got this error in the console :

[ulx-tscm] addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:432: attempt to perform arithmetic on a nil value
1. GetAutoTransformScale - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:432
2. GetTransformScale - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1157
3. GetTransform - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1191
4. __RenderOverride - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1554
5. unknown - addons/ulx-tscm/lua/tscm/client/rendering.lua:425


[ulx-tscm] addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:432: attempt to perform arithmetic on a nil value
1. GetAutoTransformScale - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:432
2. GetTransformScale - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1157
3. GetTransform - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1191
4. __RenderOverride - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1554
5. unknown - addons/ulx-tscm/lua/tscm/client/rendering.lua:425
6. DrawModel - [C]:-1
7. Render - lua/includes/modules/halo.lua:78
8. unknown - lua/includes/modules/halo.lua:154
9. CallHooks - addons/ulx-tscm/lua/tscm/hook.lua:181
10. unknown - addons/ulx-tscm/lua/tscm/hook.lua:193

Edit:
It's not only on the preview, I also can't apply materials on those props.


RE: New option to the Material tool - Person8880 - 30-09-2020

Not sure how I missed that when testing it, should be fixed after the next restart.