Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Feedback Suggestions and improvements v
« Previous 1 … 6 7 8 9 10 … 36 Next »
New option to the Material tool
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pages (3): « Previous 1 2 3 Next »
Threaded Mode
New option to the Material tool
23-08-2020, 04:40 PM,
#11
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: New option to the Material tool
This wasn't forgotten, it just took time to get around to implementing it and finding a good approach. I've now added a "Transform" tab to the smart colour/material tool which will let you set an offset and scale for materials being applied, both in normal and sub-material mode. It should be able to load dupes that used the tool you referenced (and when applying materials in normal mode, will save in a format that tool can recognise).

This is loaded on server 2 and will be on server 1 after the next restart.
Find
Reply
23-08-2020, 04:59 PM,
#12
Blackcrow Offline
Valued crow and member
****
Posts: 438
Threads: 75
Joined: Jul 2017
RE: New option to the Material tool
A huge thanks Person ! Smile

Resistance, is futile.
Website Find
Reply
23-08-2020, 05:11 PM,
#13
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: New option to the Material tool
Sounds pretty cool, never bothered looking into the original addon but I guess it'll solve some of my whacky mats

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
23-08-2020, 05:42 PM,
#14
Skeleton Offline
Cheating Donating Member ( ͡° ͜ʖ ͡°)
****
Posts: 199
Threads: 30
Joined: Nov 2014
RE: New option to the Material tool
Quote:[ulx-tscm] addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:34: attempt to index local 'KeyValues' (a nil value)

[Image: giphy.gif]
Find
Reply
23-08-2020, 05:51 PM,
#15
Blackcrow Offline
Valued crow and member
****
Posts: 438
Threads: 75
Joined: Jul 2017
RE: New option to the Material tool
I tested it, and I already have some suggestions of improvement.
First of all, thanks because it will change everything in term of Ship design !

Just a preview,
Before :
   

And after :
   

But for the moment, it's pretty hard to use...

Also I got some improvement suggestions :

- Adding Offset Angle to (So it will be easier to make match some textures)

- Add a way to copy the material transformation modification of a prop (that will maybe be easier to implement, by adding this tool as a real tool instead of just an option in the Smart Material tool. So that tool will be compatible with Smart Color and the basic Material tool aswell)

- Add an option, which will make possible to preserve the same dimension on all the props, regardless of their size, as well as their resize value (because currently, the same transformation on identical props but resized in a different way requires to find the relation between each, to have the same material size.)
For example :
   
These are the same props, resized to 1, 1.5 , 2, and the size isn't matching.

Also, when we used it on some modbridge external props with Skeleton, we found those errors spamming at like 200 error per second in the console :
[ulx-tscm] addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:34: attempt to index local 'KeyValues' (a nil value)
1. CreateSubMaterial - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:34
2. GetOrCreateSubMaterial - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:131
3. unknown - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1136 (x1796)



[ulx-tscm] addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:34: attempt to index local 'KeyValues' (a nil value)
1. CreateSubMaterial - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:34
2. GetOrCreateSubMaterial - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:131
3. unknown - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1136 (x528)



[ulx-tscm] addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:34: attempt to index local 'KeyValues' (a nil value)
1. CreateSubMaterial - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:34
2. GetOrCreateSubMaterial - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat/submaterials_cl.lua:131
3. unknown - addons/ulx-tscm/lua/weapons/gmod_tool/stools/smart_colourmat.lua:1136 (x351)

Resistance, is futile.
Website Find
Reply
23-08-2020, 06:02 PM,
#16
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: New option to the Material tool
Adding a rotation option shouldn't be too difficult. As for copying, right clicking should copy the properties as it always has, including the new transform options. Note that the preview currently doesn't show up when in sub-material copying mode, this is something I still have to implement.

Regarding accounting for resizing, this isn't as simple as it sounds. You'd have to tell it which axis on each prop correspond with the x/y directions on the material, it doesn't have an easy way to know what your intentions are.

Finally, the script errors should be fixed after a restart (if you disable the preview mode or avoid looking at props when the material is unset, it should avoid the errors until then).
Find
Reply
23-08-2020, 06:03 PM,
#17
Blackcrow Offline
Valued crow and member
****
Posts: 438
Threads: 75
Joined: Jul 2017
RE: New option to the Material tool
I think it was producing those errors when it wasn't in sub material mode

Resistance, is futile.
Website Find
Reply
24-08-2020, 06:18 AM, (This post was last modified: 24-08-2020, 06:20 AM by Blackcrow. Edited 1 time in total.)
#18
Blackcrow Offline
Valued crow and member
****
Posts: 438
Threads: 75
Joined: Jul 2017
RE: New option to the Material tool
(23-08-2020, 06:02 PM)Person8880 Wrote: Regarding accounting for resizing, this isn't as simple as it sounds. You'd have to tell it which axis on each prop correspond with the x/y directions on the material, it doesn't have an easy way to know what your intentions are.

So it's not easy to do, but is it still possible ?

And for the moment that the materials are of the same size on each props, xy direction should be easy to change

Resistance, is futile.
Website Find
Reply
24-08-2020, 11:32 AM, (This post was last modified: 24-08-2020, 12:10 PM by Skeleton. Edited 1 time in total.)
#19
Skeleton Offline
Cheating Donating Member ( ͡° ͜ʖ ͡°)
****
Posts: 199
Threads: 30
Joined: Nov 2014
RE: New option to the Material tool
I don't know if this is a bug or not, but I can't resize CAP materials on PHX plates without editing the submaterials of the prop.

Also, I've noticed that the two sliders are named Scale X instead of Scale X and Scale Y.

[Image: giphy.gif]
Find
Reply
25-08-2020, 04:01 PM,
#20
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: New option to the Material tool
The CAP materials and scale label issues should be fixed, and I've added rotation support.
Find
Reply
« Next Oldest | Next Newest »
Pages (3): « Previous 1 2 3 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.