MoI discussion forum
MoI discussion forum

Full Version: CustomUI

Show messages:  1-18  …  339-358  359-378  379-398  399-418  419-438  439-458  459-478  …  519-522

From: Death
5 Apr 2019   [#399] In reply to [#397]
Hi co3Darts,

where they usually do...

Image Attachments:
temp03.png 


From: co3Darts (CO3DPRINTS)
5 Apr 2019   [#400] In reply to [#399]
Thanks! Looks like a nice mini setup :)
From: FENGYANG (A164389772)
9 Apr 2019   [#401] In reply to [#319]
How do you create folder branches in object libraries?
From: bemfarmer
9 Apr 2019   [#402] In reply to [#401]
Folders can be manually created, for example by file explorer under %appdata%/Objects (MoI4Beta), but the subfolders and their contents, do not seem to be accessible through the Object Library icon, so are of no use. (As far as I know.)
- Brian
From: jinyicool (ZHANGJINYI)
22 Apr 2019   [#403] In reply to [#398]
Hello! My MAC user file directory is just Application Data, right? How to implement? Thank you very much!
From: Michael Gibson
22 Apr 2019   [#404] In reply to [#403]
Hi jinyicool, on the Mac your appdata folder is in your home directory, under Library/Application Support/Moi.

So the full path is /Users/[your user name]/Library/Application Support/Moi (or ~/Library/Application Support/Moi).

Note that since OSX Lion Apple decided to hide the Library folder by default from Finder. You can use the "Go to folder" menu option and enter it, or use Cmd+Shift+. to temporarily show hidden files, or use one of the methods mentioned here:
http://osxdaily.com/2016/12/12/show-user-library-folder-macos-sierra/

- MIchael
From: semo123 (SEMO)
16 Jul 2019   [#405]

hello

i was looking everywhere for a step by step instruction to install the scrip but honestly, there is just random information flying around, like come on take it, easy guys. i have extracted the file to my fold of installation

C:\Program Files (x86)\MoI 3.0 beta Mar-17-2013

and when i lunch moi i get a Script error :

TypeError: Result of expression 'moi.fiIesystem.getUIDir• [undefined] is not a function.

please someone explain step by step

thank you

 


From: Michael Gibson
16 Jul 2019   [#406] In reply to [#405]
Hi semo, that error will happen if you're running an older cracked v3 beta release. CustomUI requires a newer version than that, either the v3 final release or the v4 beta release.

If you are using a cracked version please don't ask for support on the official forum.

- Michael
From: semo123 (SEMO)
17 Jul 2019   [#407] In reply to [#406]
Hi Michael Gibson

ohh trust me i did buy moi v3 2 years ago for 300USD , i have been using it for a long time now , so dont assume that i cracked it , i do some times get cracked software but moi was worth it tho.
From: Michael Gibson
17 Jul 2019   [#408] In reply to [#407]
Hi Semo, well the path you give above "C:\Program Files (x86)\MoI 3.0 beta Mar-17-2013" is definitely for a cracked version. That's an old v3 beta release which is not available anymore and has long since expired. The only way you could have that version and be running it now would be by using a cracked version.

So if you did purchase it make sure you're using the actual purchased version and not one that you downloaded from somewhere else. You wouldn't run into that particular error that you reported if you were using the real v3 final release instead of an older v3 beta release.

If you have somehow misplaced the real v3 installer, you can go here to get a new download: http://moi3d.com/reinstall.htm .

- Michael
From: semo123 (SEMO)
17 Jul 2019   [#409] In reply to [#408]
Hi Michael Gibson


thank you for your replay , long story short , i bought MOI at work and i had a problem installing it with all the security they had , so in order to bypass the security i dragged and drop the moi file from another computer with no security , and it seems to work fine sense , i got fired from my job and couldn't get all my original files , all i left with is this file ''MoI 3.0 beta Mar-17-2013'' and i know it looks like i got a cracked version i already looked and searched for solutions but i was sure this error is because i don't have it installed the right way ,anyway thanks for your help and god bless .
From: Ronster (RON)
27 Jul 2019   [#410]
How do I change the colors for the icons from black as displayed, to white as I have a dark background and they don't show up very well. All my icons are already white so I assume the code in Max's HTML for the four icons in question has something to do with it?
Regards
Ron


Image Attachments:
How to change Icon Color.jpg 


From: Michael Gibson
27 Jul 2019   [#411] In reply to [#410]
Hi Ron, the CustomUI scripts use a button image that is embedded in the script file itself so you'll need to edit the script so the button loads an image file instead of using the embedded image.

To do that go to your MoI appdata startup folder and edit the CustomUI files there like the file "70 ObjLibrary.js" is what adds the "Obj Library" button.
It will currently look like this:

code:
var title = "Obj Library";
var menu = "moi://appdata/customui/ObjLibrary.menu.htm";
var icon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGX ...
moi.ui.commandBar.CommandBarCustomUI.insertAdjacentHTML( "beforeEnd", '<moi:Spacer/> ...


Comment out line #3 for the icon value by putting a // in front of it, and then add a new line for an image file like this:

code:
var title = "Obj Library";
var menu = "moi://appdata/customui/ObjLibrary.menu.htm";
//var icon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGX ...
var icon = "icons/YourIconFile.png";
moi.ui.commandBar.CommandBarCustomUI.insertAdjacentHTML( "beforeEnd", '<moi:Spacer/> ...


That should then make it load a file named YourIconFile.png from the ui\icons folder.

The above description is for MoI v4. For MoI v3 you would edit the file "70 ObjLibrary.htm" located in your install directory under ui\customui and change it from this:

code:
<moi:CommandMenuButton menu="customui/mods/ObjLibrary.menu.htm" icon="data:image/png; ...........">Obj Library</moi:CommandMenuButton>


to this:
code:
<moi:CommandMenuButton menu="customui/mods/ObjLibrary.menu.htm" icon="icons/YourIconFile.png">Obj Library</moi:CommandMenuButton>


- Michael
From: Ronster (RON)
27 Jul 2019   [#412] In reply to [#411]
Hi Michael. Thanks for your help. Just wondered why he would embed the image rather than just pointing to it?
Ron
From: Michael Gibson
27 Jul 2019   [#413] In reply to [#412]
Hi Ron, no problem!

re:
> Just wondered why he would embed the image rather than just pointing to it?

I'm not sure, maybe something like he wanted to reduce the number of files that had to be managed.

- Michael
From: OGAR (OGAROGAR)
27 Jul 2019   [#414]
Hi All,

Dose any one know how make the Z Axis on the grid visible on in the 3D view port?


Image Attachments:
InkedBLUR AX_LI.jpg 


From: Michael Gibson
27 Jul 2019   [#415] In reply to [#414]
Hi Ogar,

re:
> Dose any one know how make the Z Axis on the grid visible on in the 3D view port?

Sorry no there isn't any way set up to show that currently.

- Michael
From: bemfarmer
28 Jul 2019   [#416] In reply to [#414]
Not quite the z-axis request, but a line can be drawn at the position of the z-axis, even in Front or Right view,
or a construction line can be added.
- Brian
From: Ronster (RON)
28 Jul 2019   [#417] In reply to [#416]
Hi, I suppose you could add a vertical polyline and colour it however you want then lock it. Save the scene as a template and load from that each time. Not perfect but I think it would work :)
Ron
From: Ronster (RON)
28 Jul 2019   [#418]
Hi again, could someone point me to the HTML than controls the colour of the panel divider for the 4 views ?
Ron

Show messages:  1-18  …  339-358  359-378  379-398  399-418  419-438  439-458  459-478  …  519-522