Suggestions to improve Signs selection in the Editor

Discuss everything related to Maniaplanet.

Moderator: English Moderator

User avatar
TGYoshi
Posts: 795
Joined: 15 Mar 2011, 16:59

Re: Suggestions to improve Signs selection in the Editor

Post 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?
=3
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Suggestions to improve Signs selection in the Editor

Post 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 :roflol: 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.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: Suggestions to improve Signs selection in the Editor

Post by Eole »

Improvements made on Maniascript during Turbo development will benefit to Maniaplanet.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
adamkooo2
Posts: 1318
Joined: 13 Jun 2014, 08:43
Location: Slovakia
Contact:

Re: Suggestions to improve Signs selection in the Editor

Post by adamkooo2 »

Eole wrote:Improvements made on Maniascript during Turbo development will benefit to Maniaplanet.
nice!
thank you :thx:
/\rkady
Image
om23
Posts: 568
Joined: 29 Aug 2010, 21:29

Re: Suggestions to improve Signs selection in the Editor

Post by om23 »

2019? ^^
═╦═╔╦╗LAN-Party »»» :pil :pop: :pil
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: Suggestions to improve Signs selection in the Editor

Post 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);
}
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
om23
Posts: 568
Joined: 29 Aug 2010, 21:29

Re: Suggestions to improve Signs selection in the Editor

Post by om23 »

well, how does this works now?
do I need to code the plugin by myself?
═╦═╔╦╗LAN-Party »»» :pil :pop: :pil
User avatar
Rots
Translator
Translator
Posts: 1101
Joined: 01 Sep 2010, 14:39
Location: España, Barcelona

Re: Suggestions to improve Signs selection in the Editor

Post 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
Image
Image
Image
TrackMania Original brought me here... Here I am since 2006
Post Reply

Return to “Maniaplanet”

Who is online

Users browsing this forum: No registered users and 1 guest