MoI discussion forum
MoI discussion forum

Full Version: CustomUI

Show messages:  1-14  …  335-354  355-374  375-394  395-414  415-434  435-454  455-474  …  515-522

From: Death
3 Apr 2019   [#395] In reply to [#394]
You pointed me in the right direction, got it done the way I wanted now...

Here's what I tried to do and achieved thanks to your help.

Many thanks! (again)

Jack

Image Attachments:
test.png 


From: Mr. Yuri (MR_JURAJ)
5 Apr 2019   [#396]
Hi Death (weird thing to write)
You see all the icons now?
Can you share how and what you had to modify?

Thanks
Juraj
From: co3Darts (CO3DPRINTS)
5 Apr 2019   [#397] In reply to [#396]
When you click on for instance the scale tool, can you show a screen grab of where the sub menu with this config pops up?
From: Death
5 Apr 2019   [#398] In reply to [#396]
Hi Yuri,

I changed a bunch of things, don't all remember the details.

(I didn't include "Select All" and "Deselect All", since that's just CTRL-A and a "click in empty screen space")

Your screen resolution should be at least 1900x1200 to make it work well, font size (in MoI's OPTIONS) should be 9.5


Drop this file into your user's ApData/moi/startup directory and it should work automatically.
In my case that is:

C:\Users\Jack\AppData\Roaming\Moi\startup (just replace "Jack" with whatever your user name is)

If you don't have a "startup" (no quotes and all lower case) directory, just make one and drop it in there. Alternatively you can use the Moi program directory and drop it into there (again, into the startup directory, if it doesn't exist, just create one).

It should then look like you see in the picture attached.

This will even work with the default MoI installation (and should work with any custom UI's, the 2nd screenshot attached uses the grey custom UI).

If you want your normal MoI panes back, just delete the file from the startup directory and MoI works as if nothing ever happened...

Jack

Attachments:
DeathPane.js

Image Attachments:
temp01.png  temp02.png 


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 


Show messages:  1-14  …  335-354  355-374  375-394  395-414  415-434  435-454  455-474  …  515-522