1. #31
    Senior Member User Gallery
    Join Date
    Jun 2003
    Posts
    2,459

    Default

    if i do it on a folder with no _ files it stops at 250, a to o.
    if i do it with the _ files mixed in it reads 242, a to m.

  2. #32
    Senior Member User Gallery
    Join Date
    Jun 2003
    Posts
    2,459

    Default

    okay i also tried this, i removed all my other plugins. same result.
    with above removed i renamed all my mats (copied them first of course) to something like : 1 (1).ZMT, 1 (2).ZMT, etc.
    now it will read 342 out of 475 materials. so getting there but who knows what the issue is.

    (i accidentally deleted 4 mats somewhere in all of this, oh well)

  3. #33
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,653

    Default

    It's seems like it's a file recognition issue but I've no idea why it should go so far and stop like that. It's an odd one. Probably the simplest thing is to have fewer materials in a single folder.

  4. #34

    Default

    Marcus,

    DO you think that I can duplicate this script file and give a different name to use it as seperate profile? I know you do not have time so I do not want you to spend more time on this. What I want is to have 4 5 different profiles. So I am hoping that I can duplicate this script 5 times give different names(also the settings file) and have seperate shortcuts for all profiles. This way I can have clays, metals, rocks as seperate profiles etc Does it sound like a stupid idea?

  5. #35
    Senior Member User Gallery
    Join Date
    Jun 2003
    Posts
    2,459

    Default

    marcus just wanted to give you an update, i renamed the files again with the simple 001.zmt 002.zmt etc. naming convention and it did finally recognize them all, guess it didn't like those (). i then attempted to use the above naming along with the files original names but once again it didn't work correctly. this is unfortunate. i agree about using less mats as well, these were just my 3.1 mats not even including all the z2 mats, haha. sigh.

  6. #36
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,653

    Default

    kursadk,

    That would be possible but duplicating everything would be unnecessarily complex. Here's a solution which perhaps will solve your issue. Again this was code I had elsewhere and perhaps other zscripters will find it interesting.

    This saves a 'last used list' of folders (10 maximum) so by clicking on the folder in the list it is moved to the top and becomes the current folder. The folders are scanned when selected so you don't have to worry if you have added files.

    spaceboy412,
    I'm not surprised that it was a naming problem, though I don't know where the issue arises. I'll do some more testing. Meanwhile you might find this latest version helpful too.

    EDIT: Delete the previous install before installing this version - it allows for 200 materials in a folder.

    HTH,
    Attached Files Attached Files

  7. #37

    Default

    Thanks Marcus, I will try.

    I use direct folders as an explorer extension. It works especially great to browse folder and file history in ZBrush open-save dialog. It is free for personal use give try, it is amazing.

    http://www.codesector.com/directfolders.php

  8. #38
    Senior Member User Gallery
    Join Date
    Jun 2003
    Posts
    2,459

    Default

    i just wanted to note a somewhat strange behavior. say i select one of my mats using the plugin, and they are numbered, so for example i use #42, i then do some sclupting etc. now say i want to go to mat #43, when i hit the mat> button it starts at #01 again. is there a way to fix this? or have a slider along with the buttons?

  9. #39
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,653

    Default

    Quote Originally Posted by spaceboy412
    i just wanted to note a somewhat strange behavior. say i select one of my mats using the plugin, and they are numbered, so for example i use #42, i then do some sclupting etc. now say i want to go to mat #43, when i hit the mat> button it starts at #01 again. is there a way to fix this? or have a slider along with the buttons?
    It's because the index is not being stored, so if you use another plugin the index reverts to 0. Try this version (just put the file in the ZStartup/ZPlugs). I've not tested so if you get any errors, let me know.
    Attached Files Attached Files

  10. #40

    Default

    Marcus thanks for the update. I actually liked old behaviour, at the same time I was having the same issue spaceboy was having. In that respect can I use these 2 (new and old version) as seperate plugins? I just want them to show up in the material menu as seperate plugins So that I can assign different shortcuts to them.

  11. #41
    Senior Member User Gallery
    Join Date
    Jun 2003
    Posts
    2,459

    Default

    thanks, so far that seems to be working after a quick test. i like the folder addition as well.
    one change i noticed is that you cannot go back from your first mat to the last, like a loop, but this is not really a big deal.
    could a slider be added to this to save on hundreds of clicking, much like the normal mat slider?

  12. #42
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,653

    Default

    kursadk,

    This is possible but quite a bit must be renamed so as not to cause conflicts or errors.

    spaceboy,

    You should get a loop so that if you press the backwards arrow it goes from 1/12 to 12/12 (with twelve mats). I suppose you could add in a slider but I think I've done enough on this particular script.

  13. #43
    Senior Member User Gallery
    Join Date
    Jun 2003
    Posts
    2,459

    Default

    ah!, sorry marcus, i had forgotten to change the max number of mats so that's what was wrong.
    too bad about the slider, i looked into it myself but i just don't get it. thanks for doing so much on this.

  14. #44
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,653

    Default

    Slider added.
    Attached Files Attached Files

  15. #45
    Senior Member User Gallery
    Join Date
    Jun 2003
    Posts
    2,459

    Default

    super thanks marcus
    works like a dream!
    i'd also like to say that although this isn't one of the huge plugin releases it still is just as valuable.

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •