Types of layers

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Types of layers

Post by Dommy »

(Don't ask me why I'm writing a question about MS at 3 AM)

I'm interested what are some kinds of layers doing:

CutScene - when is it shown?
EditorPlugin - is it really necessary? Afaik normal layers are visibke in editor plugins without any problems.
ManiaplanetMenu - where is it shown?
LoadingScreen - does that even work?

So far, i know as much as this:

Code: Select all

enum EUILayerType { 
  Normal, // nothing else, but a normal manialink
  ScoresTable, // visible when holding tab
  ScreenIn3d, // displayed on the spawn screen
  AltMenu, // visible when holding alt
  Markers, // set of frames used as markers
  CutScene,
  InGameMenu, // replaces the default pause menu
  EditorPlugin, 
  ManiaplanetPlugin, // in plugins, frame attached to status bar
  ManiaplanetMenu,
  LoadingScreen 
}
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
User avatar
Gugli
Nadeo
Nadeo
Posts: 536
Joined: 14 Jun 2010, 17:35
Location: Mon PC est à Paris, mais mon coeur rode dans les forêts de Lozère

Re: Types of layers

Post by Gugli »

Hi,

Every hour is a good hour to write questions about Manialink. xD

From what I know :

CutScene : shown during MediaTrack animations. Not sure if it works though.

EditorPlugin : There's a feature that allows you to offset a plugin in the Editor, available for these layers only. (to solve cases when you installed 2 plugins made by different people, but they both show a dialog box at the same screen location)

ManiaplanetMenu - This layer is used when making a title menu to have the nicer "3d boxes" look, instead of the regular Manialink "flat" look

LoadingScreen : Should work, provided you filled this layer before the loading starts

Hope it helps
--
(>~_~)> ═╦═ ╔╦╗ <(~_~<)
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: Types of layers

Post by reaby »

LoadingScreen : Should work, provided you filled this layer before the loading starts
Does it work also from xmlrpc layer="LoadingScreen" , since this would be the most proper way to do a Loading Screens, maybe i just test to see :D
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: Types of layers

Post by reaby »

Hmm.. Unfortunately at my test, it draws it to normal layer.
Hopefully this gets fixed :thumbsup:
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests