Page 1 of 1

[SOLVED] [CELAYOUTEDITOR] StaticImage?

Posted: Sun Feb 22, 2009 04:46
by ripper9100
Hi,

How do I load images? I've tried writing "set:[myImage.imageset] image:[myImage.tga]" and other slight variations of this in the image field but nothing has worked so far. Can someone point out my mistake?

Posted: Sun Feb 22, 2009 10:43
by scriptkid
Hi and welcome :)

You should use the names, as defined in your XML name tags, not the filenames themselves.

For example to use the mouse arrow from the taharez look, you'd say:

"set:Taharezlook image:MouseArrow"

HTH.

Posted: Wed Mar 11, 2009 09:58
by xabila
I have actually a similar question.

First, where i'm suppose to write "set blablba image:toto", on the image field it's not working...


And after If we need to use a name, so our imageSet must have been loaded on the editor. But only the theme imageSet is loaded on the editor?
So how can i use my own imageSet to add an image on my interface on the editor?

This could be done, if we can add another ImageSet on the .scheme of the theme, but it crash the editor right now...

Posted: Wed Mar 11, 2009 15:51
by scriptkid
Hi,

Okay i understand your problem. The editor will (try to) load all files which are inside the paths as mentioned in the CELayoutEditor.INI file. So you don't have to edit your .scheme files.

You need to make sure that the imageset you want to use is inside the path, which can be found in the INI file.

The editor will prompt with errors if it encounters exceptions during the loading process. Is that what you mean by crash? If so, does the image file (which is used by the imageset.xml file) also exist in the correct folder?

Finally, there needs to be a ":" after "set" as well, but maybe your sample has a typo.

HTH.

Posted: Wed Mar 11, 2009 17:46
by xabila
Ok for the resource
And sorry, for the crash, it's actually exceptions

But i still don't get where on the StaticImage property write "set:Taharezlook image:MouseArrow"
I tried on the Image field wich is empty by default, but it's not working with the Taharelook MouseArrow, wich must be loaded by the editor.

Thanks a lot.

Posted: Wed Mar 11, 2009 18:51
by CrazyEddie
Hi,

It's case sensitive, so you need a capital 'L' on the Look part, so:
"set:TaharezLook image:MouseArrow"


HTH

CE.

Posted: Thu Mar 12, 2009 08:33
by xabila
oh f*** :oops:
Thanks a lot
Now it makes sens ;)