Page 1 of 1
CEditorPlugin::SaveMap() - path is not striped
Posted: 27 Jun 2015, 08:22
by maxi031
I use CEditorPlugin::SaveMap() to save maps faster, it works great, but when i used it today on the map that has color codes in its name i get this very colorful prompt:
https://dl.dropboxusercontent.com/u/117 ... triped.jpg
Someone forgot to format Map path, should be easy fix

Re: CEditorPlugin::SaveMap() - path is not striped
Posted: 27 Jun 2015, 08:56
by haenry
I think this is an issue with the plugin itself. Not with Maniaplanet.
btw, where did you get this plugin from? I'd like to try it out myself
Re: CEditorPlugin::SaveMap() - path is not striped
Posted: 27 Jun 2015, 09:21
by maxi031
I made it some days ago, it is still in development.
https://dl.dropboxusercontent.com/u/117 ... Script.txt
You can use it but be warned it is not polished nor finished.
E key turns mixmaping on/off,
A key turns airmaping on/off,
T key zooms camera,
S saves the map, it saves it as unnamed if it was not normally saved before, else it overwrites old file version.
Re: CEditorPlugin::SaveMap() - path is not striped
Posted: 27 Jun 2015, 09:27
by Florenzius
How to install?
Re: CEditorPlugin::SaveMap() - path is not striped
Posted: 27 Jun 2015, 09:40
by maxi031
Copy it to maniaDocs\Scripts\EditorPlugins\TrackMania and than restart the game.
Re: CEditorPlugin::SaveMap() - path is not striped
Posted: 27 Jun 2015, 11:17
by haenry
Code: Select all
SaveMap(Map.MapInfo.Name, Map.MapInfo.Path);
This is what I needed. I made some first poor attempts at maniascript for this too, but I couldn't find out how to get the mapname and path.
Thanks!
And the mixmapping features is a great idea too
And I realised, it IS actually a problem that nadeo could fix, but you can alternatively just put $z at the end of the map name

Re: CEditorPlugin::SaveMap() - path is not striped
Posted: 27 Jun 2015, 12:03
by maxi031
No problem
You can go to
http://www.uaseco.org/Maniascript/2015-06-16/ and find what functions/vars belong to what class/namespace.