Page 2 of 3
Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 12:48
by krial057
Here is a list of functions I found out about the editor plugins for those who can't wait for the documentation

:
- GetStartLineBlock
GetBlockGroundHeight
RemoveTerrainBlocks
GetBlock
PlaceMacroblock
CanPlaceMacroblock
PlaceTerrainBlocks
CanPlaceTerrainBlocks
PlaceRoadBlocks
CanPlaceRoadBlocks
CanPlaceBlock
RemoveAllBlocksAndTerrain
RemoveAllBlocks
UpdateBlocksDisplay
CameraHAngle
CameraVAngle
CursorMacroblockModel
CursorTerrainBlockModel
CursorBlockModel
CursorDir
CursorCoord
SetViewMode_Underground
IsViewMode_Underground
IsPlaceMode_Test
IsPlaceMode_CopyPaste
IsPlaceMode_Skin
IsPlaceMode_Macroblock
IsPlaceMode_Block
IsPlaceMode_Terraform
SetDisplayMode_BlockStock
DialogDoMessage
SaveChallenge
EnterEditMode_FreeLook
EnterEditMode_Pick
EnterEditMode_Erase
EnterEditMode_Place
SwitchViewMode_Underground
EnterPlaceMode_Test
EnterPlaceMode_CopyPaste
EnterPlaceMode_Skin
EnterPlaceMode_Macroblock
EnterPlaceMode_Block
EnterPlaceMode_Terraform
AutoSave
Help
ComputeShadows
Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 13:53
by aXu
jonthekiller wrote:We wait a documentation for the moment. You have an example of the solitaire (file://Media/Manialinks/Solitaire/index.xml) and the file is in Program Data/ManiaPlanet/PacksCache/Maniaplanet_Extras.zip
I couldn't find it. Can you specify?
@krial: Thanks, I'll use that as a reference

Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 13:59
by jonthekiller
aXu wrote:jonthekiller wrote:We wait a documentation for the moment. You have an example of the solitaire (file://Media/Manialinks/Solitaire/index.xml) and the file is in Program Data/ManiaPlanet/PacksCache/Maniaplanet_Extras.zip
I couldn't find it. Can you specify?
@krial: Thanks, I'll use that as a reference

Try this : file://Media/Manialinks/Solitaire/index.xml

Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 19:41
by aXu
jonthekiller wrote:aXu wrote:jonthekiller wrote:We wait a documentation for the moment. You have an example of the solitaire (file://Media/Manialinks/Solitaire/index.xml) and the file is in Program Data/ManiaPlanet/PacksCache/Maniaplanet_Extras.zip
I couldn't find it. Can you specify?
@krial: Thanks, I'll use that as a reference

Try this : file://Media/Manialinks/Solitaire/index.xml

It really doesn't work that way - you're supplying me with a link to your hard drive. It's working only for you.
Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 20:00
by krial057
press the windows_key and the r key on the keyboard(or search for "run" under windows startbutton) and then enter the following:
Code: Select all
%programdata%/ManiaPlanet/PacksCache/Maniaplanet_Extras.zip
There you have to go under "Media/Manialinks/Solitare/index.xml" and open it with a texteditor.
To try solitaire out, move your cursor inside trackmania on the top. There you have to enter on the right of the houseicon the following:
Code: Select all
file://Media/Manialinks/Solitaire/index.xml
and happy playing

Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 21:17
by TGYoshi
Copy-paste the link in the TM browser bar where you normally type manialinks.
Re: Maniascript/Plugin documentation
Posted: 22 Aug 2011, 08:10
by aXu
krial057 wrote:press the windows_key and the r key on the keyboard(or search for "run" under windows startbutton) and then enter the following:
Code: Select all
%programdata%/ManiaPlanet/PacksCache/Maniaplanet_Extras.zip
There you have to go under "Media/Manialinks/Solitare/index.xml" and open it with a texteditor.
To try solitaire out, move your cursor inside trackmania on the top. There you have to enter on the right of the houseicon the following:
Code: Select all
file://Media/Manialinks/Solitaire/index.xml
and happy playing

It works well in TM, but I don't have PacksCache folder. That was actually first place I looked for, but no, nothing. There's only Gamedata and Packs folders. Inside those, nothing important for this case. I actually searched for my whole HDDs and no Maniaplanet_Extras file was found :S
Re: Maniascript/Plugin documentation
Posted: 22 Aug 2011, 10:05
by krial057
I think you did not what I said
I think you are looking in the installation folder, but the Programdata folder is not the folder where tm is installed and the maniaplanet.exe is.
You have to go in the Program data folder. You can find it by doing what i said:
krial057 wrote:press the windows_key and the r key on the keyboard(or search for "run" under windows startbutton) and then enter the following:
Code: Select all
%programdata%/ManiaPlanet/PacksCache/Maniaplanet_Extras.zip
Or if you are still not getting it, you have to find the path manualy. For me it was "C:\ProgramData\". It could be that the folder is hidden. (use google to find how to show hidden files and folders).
If your path is the same than mine you can enter this in your internetbrowser urlbar:
[url]file://C://ProgramData/ManiaPlanet/PacksCache/Maniaplanet_Extras.zip[/url]
Re: Maniascript/Plugin documentation
Posted: 22 Aug 2011, 10:23
by svens
Or you open the launcher, click the Help button and you'll find the path to the right of the "Move Game Data" button.
Re: Maniascript/Plugin documentation
Posted: 22 Aug 2011, 12:04
by aXu
Now I found it, thanks to svens.
@krial: What's your OS? %programdata% is not valid environment variable, not at least in WinXP. Crazy thing that Maniaplanet installs those files to AllUsers folder, I had looked into my own appdata folder but didn't even think of all users. Thank you for your help, anyway (though, I'm not that noob with computers, but I there's no way you could've known it).
The actual reason I missed it was because of windows didn't find it with search so I thought I don't have in my computer. Well, next time I need to search something, I'll skip windows' default search function.
Hehe, I tested inserting that into a track. It really works! Next thing to find out can you block player inputs until you beat spider
EDIT: urgh, are you using Vista :S