Page 1 of 1

ManiaScript / Interface question

Posted: 07 Jun 2016, 19:18
by Florenzius
Hey there,

Please don't think I'm stupid or retarded, but the documentation is frustrating.

I learned the ManiaScript-Basics on the german Tutorial by destroflyer. "Integer", "Real" etc...

I saw some other tutrials (for example by AK) too, but it didn't help, because I want to create an editor plugin.

At destroflyers page (last update 2012) Is a big WIP at the EditorPlugin-Part. AK wrote the same :cry:

The only thing i find about EditorPlugins in the documentation is this text
The official ManiaPlanet Documentation from 2014/15 wrote:Map editor plugins

It's possible to extend the possibilities of the map editor with plugins written in ManiaScript. These plugins range from a simple autosave function to a fully random map generator.
?

Where is a full tutorial about the MapEditor-plugins?

Please again, don't think I'm stupid, that's a frustrating fact.

Re: Frustrating Documentation :(

Posted: 07 Jun 2016, 19:56
by TMarc
The problem is, you often have shown in the past that you act like being stupid:
- bad English
- not much patience, giving up much too early
- not much own invest
- ask silly questions without thinking

And you do it again here.

Why do you only read even less than half of the information,
and rely on some unkown and outdated data? :roll:

What about you really sit down, read properly until the end, and try to understand and learn by yourself!?
See it like homework for school, or exams: the teacher gives you a new task, where he explicitely does not give you all information. Some you need to know already from the courses, and some you have to find out yourself.
Either by trying out, doing experiments, or here, by looking a bit further.

Really, this is the last time I will help you here, because you are apparently too lazy and I will not encourage that.

You started good... on this page:
http://doc.maniaplanet.com/creation/man ... ction.html

But you have to read it until the end.
Small hint: there is a chapter "How to extract Nadeo scripts".

And with really little time for investigation, you would have found out that there are already a few example scripts:
  • AutoUnderground.Script.txt
  • BlockModelInCursor.Script.txt
  • CursorCoords.Script.txt
  • LatestBlocks.Script.txt
Where? find out by yourself and your task is now to paste here where you have found exactly.

Re: Frustrating Documentation :(

Posted: 07 Jun 2016, 20:11
by Florenzius
Hey,
Thank you.

This time I sat the complete day and searched for informations. Its not outdated. I didn't say that. I searched in the wiki and on sime other sites.

The previous few weeks I tried to write only important things and I am sorry to need your help again. Sure my largest - is reading pages complete, but here I tried to use all sourqes. I edited some other scripts and looked inside it, but without a big knowledge in editor plugins its hard

But well, thank you for your maybe last help before a temp ban or warn.
I wanted to learn i to create a maniascript tutorial for the newbies. As you can see the editor plugin documentation isn't done yet, so I wanted to help. :(

Cu

Re: Frustrating Documentation :(

Posted: 07 Jun 2016, 20:46
by TMarc
It was certainly not about banning. Only to make you think about your actions here, and how the others might see it.

If you want to learn, look at the available examples, modify them a little bit and see what changes in the game.
Do not always want to have too much directly at the start.

And you need a plan with steps, like what you want to do more precisely.

But it is not a good idea to think of creating a new tutorial already now, if you don't know anything yourself at the moment.

It is like learning to play piano: you can't play Rachmaninov concerto after one hour of reading piano books only.
Or, you can't beat Trackmasters only by playing Turbo for an hour only.

Re: Frustrating Documentation :(

Posted: 07 Jun 2016, 22:15
by Dommy
http://www.uaseco.org/Maniascript/2015- ... lugin.html

Wont help more as Im kind of petson that gets frustrated if somebody asks for complete basics.

I was going to write tutorial back this year but its too complex to write it to be understandable and im also just fking lazy :mrgreen:

Re: Frustrating Documentation :(

Posted: 08 Jun 2016, 05:26
by Florenzius
thanks for your answers. It's not that I started already some things for a video. Noo. I just had the idea: If i am good in this things, i will share it

Re: ManiaScript / Interface question

Posted: 09 Jun 2016, 13:09
by Florenzius
Hey,

I already searched on the forum for help, but nobody asked it before, so I'm the first ^^

My EditorPlugin works fine and i used an interface-xml in it. But I want to include pictures/videoclips (webm i think) in my interface. It works, but how it will be in the script? In a tp i can include the files, in a script not. How I can include it in the xml file?

Re: ManiaScript / Interface question

Posted: 09 Jun 2016, 13:25
by Eole
Host the .webm file online and use its url in your quad.

Code: Select all

<quad image="http://www.example.com/myvideo.webm" />

Re: ManiaScript / Interface question

Posted: 09 Jun 2016, 13:29
by Florenzius
Ah thanks :)