MoI discussion forum
MoI discussion forum

Full Version: CustomUI

Show messages:  1-5  …  166-185  186-205  206-225  226-245  246-265  266-285  286-305  …  506-522

From: ndrakey
22 Mar 2016   [#226]
Is there a way to get CustomUi to work on Windows 10?

https://www.dropbox.com/s/vgs6cu0h454fwkg/test.png?dl=0
From: Michael Gibson
22 Mar 2016   [#227] In reply to [#226]
Hi ndrakey,

re: Is there a way to get CustomUi to work on Windows 10?

It does work on Windows 10 already, but it needs the final release of MoI v3 in order to run. From your screenshot it looks like your problem does not have anything to do with Windows 10, it's that you're running an older release of MoI which doesn't have the getUIDir() function that the error message is referring to.

- Michael

Message 6507.228 was deleted


From: Ced (FRACTIONALIST)
3 Mar 2017   [#229]
Balloons anyone? How to add mod your GUI with helpful tooltip commands:



Attachments:
sidePaneToolTipCode.zip

Image Attachments:
ModGui8.png  SidePaneToolTip.png 


From: Frenchy Pilou (PILOU)
30 Apr 2017   [#230]
After some tricky tests :)

Seems using Custom UI with the cool Kitbash by Chipp Walter (42 item) http://moi3d.com/forum/index.php?webtag=MOI&msg=8398.1
that Name of Image and file 3dm must be the same and in Uppercase!
Size of image seems have no incidence!


From: Frenchy Pilou (PILOU)
1 May 2017   [#231]
Edit!
After new tests!
Image name and file 3dm must have excatly the same name!
Case is sensitive!
From: Dreviou
24 May 2017   [#232]
Unfortunatelly I got error message like this when starting Moi after copying files to Moi folder. Win10, any idea how to solve this problem?

Image Attachments:
moiError.jpg 


From: bemfarmer
24 May 2017   [#233] In reply to [#232]
I would double check to see that the files are in the proper directories.
- Brian
From: coi (MARCO)
24 May 2017   [#234] In reply to [#232]
Are you using MOI v2 or MOI v3?
From: Michael Gibson
24 May 2017   [#235] In reply to [#232]
Hi Dreviou,

> Unfortunatelly I got error message like this when starting Moi after copying files to Moi
> folder. Win10, any idea how to solve this problem?

You'll get that error if you're using MoI v2, the CustomUI requires the final release version of v3 so to solve it you'd need to update to the current version.

- Michael

Message 6507.236 was deleted


From: Dreviou
24 May 2017   [#237]
That was it, v2, thanks guys! Now it works fine.
From: cnever
9 Jun 2017   [#238]
Hi

Does this still work? I get an error like the one above (for mac users) but I am on pc?

Thanks
From: Michael Gibson
9 Jun 2017   [#239] In reply to [#238]
Hi cnever,

re:
> Does this still work? I get an error like the one above (for mac users) but I am on pc?

Yes, it still works with the current version. You'll get an error if you're using an older version of MoI though.

- Michael
From: TheFlow
9 Nov 2017   [#240]
Thank you so much! :) I'm new to MoI and already got so good results quickly instead of modeling everything in Polygons! And your Addon makes it even better! :)
From: Max Smirnov (SMIRNOV)
8 Jan 2018   [#241]
Hi everybody! :)

CustomUI v2
http://moi.maxsm.net/media/files/CustomUI.2.0.beta1.zip
http://moi.maxsm.net/media/files/CustomUI.2.0.beta1.CommandBar.zip

This version works with MoI v4 beta Dec-12-2017 only!!! (and with all later versions of course)
Now CustomUI should be stored in AppData directory.

Installation (Win):
Extract CustomUI.2.0.beta1.zip to C:\Users\<username>\AppData\Roaming\Moi\
Make backup copy of existing C:\Program Files\MoI 4.0 beta Dec-12-2017\ui\CommandBar.htm
Extract CustomUI.2.0.beta1.CommandBar.zip to C:\Program Files\MoI 4.0 beta Dec-12-2017\ui\

Installation (Mac):
Extract CustomUI.2.0.beta1.zip to /Users/<username>/Library/Application Support/Moi/
Make backup copy of existing /Applications/MoI v4 beta Dec-12-2017.app/Contents/Resources/ui/CommandBar.htm
Extract CustomUI.2.0.beta1.CommandBar.zip to /Applications/MoI v4 beta Dec-12-2017.app/Contents/Resources/ui/
From: Frenchy Pilou (PILOU)
8 Jan 2018   [#242]
Cool adaptation!
Bravo!


From: mkdm
8 Jan 2018   [#243] In reply to [#241]
Wanderful!!

Thanks a lot Max!!

It works :)
From: moritzbock (MORITZ)
8 Jan 2018   [#244] In reply to [#241]
Hi Max,
Outstanding work. Thanks a lot - it works fine.
-moritz
From: Michael Gibson
8 Jan 2018   [#245] In reply to [#241]
Thanks for the update Max! That's great that it goes in AppData now.

I've been thinking that for the next beta how about if I have MoI look through some specific directory in AppData for any .js files and if any are found it will execute them. I'll also put in an empty named container element in CommandBar.htm by default that can be used as a target for where to insert controls. Then with that in place hopefully it wouldn't be needed to modify CommandBar.htm anymore and CustomUI would stay active between different releases.

A couple of issues are - what should the directory containing scripts to execute at startup be called, maybe just plain "startup" ? I guess there should also be a "commands" and "scripts" directory that you could make there as well. But then will having MoI look in 2 different commands directories for things cause problems since currently there's only one that is identified by moi.filesystem.getCommandsDir() ? And what should happen if there is a file with the same name in both places, which one should be actually loaded?

Also when should startup scripts run - probably just before the main window is shown?

- Michael

Show messages:  1-5  …  166-185  186-205  206-225  226-245  246-265  266-285  286-305  …  506-522