MoI discussion forum
MoI discussion forum

Full Version: CustomUI

Show messages:  1-16  17-36  37-56  57-76  77-96  97-116  117-136  137-156  …  517-522

From: Frenchy Pilou (PILOU)
17 Feb 2014   [#77]
And about The Lighting Options by Dinos? Where is it ? adress post ?

What is the installation with Max plugin?

Does it conflict whith the native Lightings options of the Options menu of Moi ?
From: Max Smirnov (SMIRNOV)
17 Feb 2014   [#78] In reply to [#75]
Hi Pilou,

>> It was that I suspected: Object Library;C:\Program Files\MoI 3.0 beta Nov-19-2013\objects against Object Library;MoI\objects !!!

Object Library;MoI\objects? Of course it doesn't work :)
You should use a full path or MOI (all capitals) abbrevation.

>>After use the Max Smirnov SnapShot the "Area, Zoom, Pan, Reset" are not more visible on some views inside MOI!
Tried to reproduce this issue. Yes, "Area, Zoom, Pan, Reset" dissapears after language switching (my script switches language to disable viewport labels).
But seems it's a MoI bug. If you want to reproduce it follow the steps below:
1. Copy EnglishStrings.txt to TestStrings.txt
2. In the Options menu: Switch language to English, Switch to Test, then back to English.
3. It disappears.

>>And about The Lighting Options by Dinos? Where is it ? adress post ?
http://moi3d.com/forum/index.php?webtag=MOI&msg=5222.48

>>What is the installation with Max plugin?
Just download Dinos's LightingOptions.htm, and put it to ui/ folder (overwrite the original one)
From: Frenchy Pilou (PILOU)
17 Feb 2014   [#79] In reply to [#78]
Thx for the infos!

I will try that!

But another little question :)

Say I have several libraries of Objects
I must change the text of the "ObjLibrary.cfg.htm" or i can put several lines inside it or...there is another trick ?
From: Max Smirnov (SMIRNOV)
17 Feb 2014   [#80] In reply to [#79]
put several lines inside ObjLibrary.cfg.htm
From: Frenchy Pilou (PILOU)
17 Feb 2014   [#81] In reply to [#80]
Cool & fabulous for the libraries!!





About the Dinos lighting plugin

I have a PC must i paste also this file ? .DS_Store
French or English i have this result so a path must bad somewhere!

From: Max Smirnov (SMIRNOV)
17 Feb 2014   [#82] In reply to [#81]
>>I have a PC must i paste also this file ? .DS_Store
No.
Copy the .htm file and go to Options -> View -> Lighting Options
From: Frenchy Pilou (PILOU)
17 Feb 2014   [#83] In reply to [#82]
<<< and go to Options -> View -> Lighting Options

Ah Perfect!

The trick was go one time inside the options Menu!

Now I can try to translate all that! :) (text button icons of your plugin if possible etc... :)


From: Frenchy Pilou (PILOU)
18 Feb 2014   [#84]
Curious!

After some good sessions and numerous MOI lauching Moi I have that !


I had translated the list of the LightingOptions of Dinoscript but without success (same message ! )

I have all kill and reload the Lighting Script by Dinos http://moi3d.com/forum/messages.php?webtag=MOI&msg=5222.47
and your script! No Change!

So seems it's from the Options menu / Vews / Lighting Option there is something?

Edit ! Damned that was the same than before :
I must enter a new Tempo Lighting Preset, then kill it for Get back the list! :)

A very vicious bug! :D

So I believe now that I can re translate the all :)

Edit ! not so easy! works one time then comes back! seems accents make trouble!
From: Max Smirnov (SMIRNOV)
18 Feb 2014   [#85] In reply to [#84]
Hi Pilou,

You need to delete LightingOptions line from moi.ini
But first send this line to me.
From: Frenchy Pilou (PILOU)
18 Feb 2014   [#86] In reply to [#85]
Sending by PM :)
Seems it's a very big line! :)
From: Frenchy Pilou (PILOU)
18 Feb 2014   [#87]
Not Better!
I see the list in French on the Options Menu one time, but whent I call your Plugin I obtain similar message!

And the erased line in the moi ini comeback ! :)

I have tryed different formats Ansi seems the best but...
It's an headache! :)
From: Frenchy Pilou (PILOU)
19 Feb 2014   [#88]
So i have found the ultimate solution, not the perfection but near the perfection! :)
I write French without accent! And all works fine!
As that is only for the vertical list of the Dinos Ligthings, it's not a big disaster! :)

This is for my old computer! :)

For the modern seems it's more hard to found a solution!

Another thing : what about put a new image icone button for a specific command on the CommandBar?

Ok I found a solution for the modern computer but that is some tiedous :) Before maybe a morez direct native system by Michael ? :)
No accent, and format must be in Notepad "Ansi as Utf-8" else some problems!
In Moi.ini Kill the line LightingOptions=....
And no possibility to have accent for your icon "Lighting" or other without numerous again some problems!

So this is! That was a big fight for me! :)
(in fact just 3 words must have accent in French: "Défaut", "Pétrole" and "Zèbre" so not a big deal !


From: DannyT (DANTAS)
19 Feb 2014   [#89] In reply to [#88]
Well done Pilou!
Just check your spelling on 'Default' and I don't see Zebre in the list.

-
From: Frenchy Pilou (PILOU)
19 Feb 2014   [#90] In reply to [#89]
Thx for the little default! :)

For the "Zèbre" : Seems it is! :)
(Without accents due bug error message etc... :(


From: BurrMan
19 Feb 2014   [#91] In reply to [#88]
Hi Frenchy,
"""""""""""Another thing : what about put a new image icone button for a specific command on the CommandBar?""""

You can make your image (I think he made his at 64x64 pixals) then go drop it here, and copy the result:

http://base64image.org/

Then edit the corresponding file here:

C:\Program Files (x86)\MoI 3.0 beta Nov-19-2013\ui\customui

and replace the base64 encode with yours...

Message 6507.92 was deleted


From: Frenchy Pilou (PILOU)
19 Feb 2014   [#93] In reply to [#91]
Say I want one for the LineWeb Command for example

I have the image ok, but what about the rest of the process till that icon will be added to the CommandBar ?
I don't want replace the 4 yet existing of the Max's Plugin
From: BurrMan
19 Feb 2014   [#94] In reply to [#93]
Hi Frenchy,
You can open the commandbar.htm file with notepad, then note the line for one of the commands already there, like this one:

<moi:CommandButton icon="res://deleteicon" command="delete"><moi:Text textid="Delete"></moi:CommandButton>

This part here is your icon:

icon="res://deleteicon"

If you put your icon in MoI's icon folder, you can then set that to something like this:

icon="icons/plugin.png"

Does that help?
From: Max Smirnov (SMIRNOV)
19 Feb 2014   [#95] In reply to [#93]
Hi Pilou,
you need to create a new module. (you can use "select" module as template)
copy "07 Select.htm" to "60 LineWeb.htm"
open 60 LineWeb.htm with notepad
code:
<moi:Spacer/>
<moi:CommandButton icon=" ----- put BASE64 icon here ---- " onbuttonclick="LineWeb">LineWeb</moi:CommandButton>

From: BurrMan
19 Feb 2014   [#96] In reply to [#95]
oop's... I had left max's ui.. yes, disregard my comments and look to previous post from max. My bad.

Show messages:  1-16  17-36  37-56  57-76  77-96  97-116  117-136  137-156  …  517-522