Page 2 of 2
Re: Suggestions to improve Signs selection in the Editor
Posted: 17 Sep 2015, 16:47
by TGYoshi
Eole wrote:TGYoshi wrote:Editor plugins are extremely limited, sadly this isn't possible too.
A lot of things have been improved on editor plugins for TM Turbo. It's possible to get and set a block skin from the script by example. So a plugin can display a list of skins pictures instead of only names.

Sounds promising. So TMT has the ability to create plugins or will these changes be merged into MP in 2018?
Re: Suggestions to improve Signs selection in the Editor
Posted: 17 Sep 2015, 17:53
by oliverde8
domino54 wrote:Eole wrote:TGYoshi wrote:Editor plugins are extremely limited, sadly this isn't possible too.
A lot of things have been improved on editor plugins for TM Turbo. It's possible to get and set a block skin from the script by example. So a plugin can display a list of skins pictures instead of only names.

Nope, it can't. You forgot in manialinks we can only use files in Media/ directory.
We could use the interface to actually register url's and saved them in persistent variables. Then display those images, we could also ask the user of the plugin to create a symbolic link into the media directory

We
We can ofcourse hope to gain access to other directories as well. Anyways as long as it isn't in MP talking about new TMT features is pretty uselss. I believed that TMT wasn't offering all the modification possibilities of MP? it seems I was wrong.
An abused test subject.
Re: Suggestions to improve Signs selection in the Editor
Posted: 17 Sep 2015, 18:14
by Eole
Improvements made on Maniascript during Turbo development will benefit to Maniaplanet.
Re: Suggestions to improve Signs selection in the Editor
Posted: 17 Sep 2015, 20:11
by adamkooo2
Eole wrote:Improvements made on Maniascript during Turbo development will benefit to Maniaplanet.
nice!
thank you

Re: Suggestions to improve Signs selection in the Editor
Posted: 18 Sep 2015, 12:17
by om23
2019? ^^
Re: Suggestions to improve Signs selection in the Editor
Posted: 18 Sep 2015, 14:05
by Eole
domino54 wrote:Nope, it can't. You forgot in manialinks we can only use files in Media/ directory.
It depends of the context, I checked again and it works for me. This plugin display a skin picture in a manialink :
Code: Select all
#RequireContext CEditorPlugin
main() {
declare SkinPath = "file://Skins/Any/Advertisement/Advert1.dds";
declare LayerSkin = UILayerCreate();
LayerSkin.ManialinkPage = """
<quad sizen="50 50" halign="center" valign="center" bgcolor="07c" image="{{{SkinPath}}}" />
""";
while (True) {
yield;
}
UILayerDestroy(LayerSkin);
}
Re: Suggestions to improve Signs selection in the Editor
Posted: 18 Sep 2015, 14:10
by om23
well, how does this works now?
do I need to code the plugin by myself?
Re: Suggestions to improve Signs selection in the Editor
Posted: 18 Sep 2015, 16:37
by Rots
Funny how we get offered a feature, plugins in editor, and there are just 3-4 official plugins (auto underground, block names, mouse coordinates) and then nothing more... Appart from some random map generators, auto save, auto shadowcompute features made by users and then nothing more. As Yoshi said, it seems there is no potential to take out of this feature with the actual limitations to the editor context...
I got no idea on MS coding but I've been tweaking around some of the existing codes just for the lolz changing design and making gui's and maybe I have 0 creativity but since I don't know the limits on what can be done in the editor I can't think of many more plugins.
lets wait 201x for implementations