![]() |
![]() « Consul » 1498785840000
| 17 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This thread is an EN translation of Rectop's FR map XML documentation. It has been translated with Sentinel permission by Drescen. This is not a tutorial, and therefore you must already know your way around XML editing to understand this. A full summary of all the XML tags may be found in the second tab ("Tags"). The remaining tabs document each tag in their categories, in detail.\ A more up to date and comprehensive XML Documentation may be found here. Information about the tabs will be specified in spoilers in the categorised tabs, please use these to help get an understanding of the tag before you use it. Full Map <C> </C> Basic Locations <D /> Shaman Spawn <DC /> Second Shaman Spawn <DC2 /> Mouse Spawn <DS /> Cheese <F /> Distance Joint <JD /> Prismatic Joint <JP /> Pulley Joint <JPL /> Revolute Joint <JR /> Joints Container <L> </L> Map Settings <P /> Decorations <D /> Shaman Objects Container <O> </O> Shaman Object <O /> Ground Container <S> </S> Ground <S /> Hole <T /> All elements of the Map <Z> </Z> These tags go into <P /> tag at the start of the XML and specify various map settings. Soulmate A="" Shock Sensitive aie="" Cannon Upwards without skill bh="" Collision C="" Map Border Ca="" Background Image D="url,x,y,r;url,x,y,r"
Foreground Image d="url,x,y,r;url,x,y,r"
Defilante defilante="vi,va,vm,d"
Multiple mice spawns DS="m;x1,y1,x2,y2"
Random X axis spawn for mice DS="y;y"
Random Y axis spawn for mice DS="x;x"
Background F="id"
Wind and gravity G="w,g"
Height H="h"
Length L="l"
Hide nails mc="" Mass of Shaman Objects mgoc="m"
Nightmode N="" Portals P="" These parameters go into the ground tag <S /> and specify ground properties. Type of collision c="type"
Height H="h"
Image on the ground i="x,y,url"
Length L="l"
Lua ID lua="id"
Invisibility m="" Foreground N="" Deactivation of sync if ground is dynamic nosync="" Color (for rectangle and circle) o="c"
Properties of ground P="sd,m,f,r,a,af,aml,ama"
Ground skin ID T="id"
Despawn v="ms"
X Position X="x"
Y Position Y="y"
Z Index Z="z"
These parameters specify the properties of shaman objects, placed in the <O /> tag. Type of the object C="id"
Nail rotation power Mp="p"
Nail rotation speed Mv="v"
Deactivation of synchronisation nosync="" Paramaters of the object P="a,t"
X Position X="x"
Y Position X="X"
Reference ID Z="z"
These parameters specify the properties of the decorations (found in the <D /> inside of the <Z></Z> tag) Colors C="c1,c2,c3"
Appearance P="ap,inv"
Type of decoration T="id"
X Position X="x"
Y Position X="X"
Reference ID Z="z"
More information can be found here. Another, up to date tutorial dedicated to understanding joints is planned for the future (by Drescen). Distance Joint Parameters of the Distance Joint - <JD /> Joint stiffness AMP="r"
Color c="c,ep,t,ap"
Oscillation HZ="o"
First ground to connect M1="z"
Second ground to connect M2="z"
Point in the first ground to be connected P1="x,y"
Point in the second ground to be connected P2="x,y"
Revolute Joint Parameters of the Revolute Joint - <JR /> Color c="c,ep,t,ap"
Limit of rotation 1 Lim1="a"
Limit of rotation 2 Lim2="b"
First ground to connect M1="z"
Second ground to connect M2="z"
Rotation Properties MV="p,v"
Point in the first ground to be connected P1="x,y"
Point in the second ground to be connected P2="x,y"
Prismatic Joint Parameters of the Prismatic Joint - <JP /> Angle between the grounds A="a"
Axis AXIS="ax,ay"
Limit of movement 1 Lim1="a"
Limit of movement 2 Lim2="b"
First ground to connect M1="z"
Second ground to connect M2="z"
Motor (AXIS must be specified) MV="p,v"
Origin P1="x,y"
Pulley Joint Parameters of the Pulley Joint - <JPL /> Color c="c,ep,t,ap"
First ground to connect M1="z"
Second ground to connect M2="z"
Point in the first ground to be connected P1="x,y"
Point in the second ground to be connected P2="x,y"
Location of the first pulley point P3="x,y"
Location of the second pulley point P4="x,y"
Pulley Strength R="rf"
Cheese These parameters specify the properties of cheese. They are found in the <F /> tag. X Position X="x"
Y Position X="X"
Foreground D="" Hole These parameters specify the properties of the hole. They are found in the <T /> tag. X Position X="x"
Y Position X="X"
Foreground D="" Mouse spawn These parameters specify the properties of the mice spawn. They are found in the <DS /> tag. X Position X="x"
Y Position X="X"
Shaman spawn These parameters specify the properties of the mice spawn. They are found in the <DC /> tag. X Position X="x"
Y Position X="X"
Second shaman spawn These parameters specify the properties of the mice spawn. They are found in the <DC2 /> tag. This spawn is redundant unless the map is in the category of P8 or P32. X Position X="x"
Y Position X="X"
The following parameters can not be used via the Map Editor and LUA scripting. They are present in the XML codes of event maps. Since access to these parameters for testing purposes is not possible, the arguments are deduced and may not be accurate. Parameters Appearance and disappearance of image APS="url,x,dx,y,dy,?"
Image which appears in certain conditions IP="url,x,y;url,x,y"
Non Player Character PNJ="name#x#y#?#text"
Scenario to activate S="id"
Appearance as vanilla vanilla="nv"
Dernière modification le 1515010980000 |
![]() « Consul » 1498785900000
| 5 | ||
Reserved for future updates. |
![]() ![]() « Citoyen » 1498788000000
| 0 | ||
I approve |
![]() « Citoyen » 1498803300000
| 1 | ||
In grounds there's Paramètres du sol P="sd,m,f,r,a,af,aml,ama" that's not translated yet |
![]() « Consul » 1498803480000
| 4 | ||
Tinkse a dit : Translated, thank you ^^ If you (or anyone else) finds any error in the translation or any other error in the OP, give me a heads up so I can fix it. Dernière modification le 1498803600000 |
0 | ||
shame idk much about these things.. shock sensitive? ground container? are you gonna add the summaries/maybe link threads to the thingies? '.' |
![]() ![]() « Consul » 1498821660000
| 0 | ||
Nice thread Dre Dernière modification le 1498821720000 |
![]() « Censeur » 1498823400000
| 0 | ||
nice thread. |
![]() ![]() « Consul » 1498829160000
| 1 | ||
I think this deserve to be stickied, like FR thread. |
![]() « Citoyen » 1504644960000
| 1 | ||
This topic is so useful, thank you Drescen ;) |
0 | ||
Btw last time I tried having DC="x1,y1" and DC2="x2,y2" in the <P /> map settings tab, it works when I p32 the map. Might want to add that :P And if I'm not wrong the D tag is a so-called "location/spawn container" for locations of shaman and mouse spawn(aka DC and DS)? Idk Nice thread tho maybe having it pinned or mentioned in one of those links in the Information and Guidelines thread would be good :D Oh and I think there are many more things you can do in the XML with lua e.g. exceeding height and length limits of map, or putting in functions too. And if I'm not wrong the images for grounds (i="") works in map editor too for limited number of transformice images...need to experiment more on that xD Dernière modification le 1509856200000 |
![]() ![]() « Censeur » 1509897900000
| 0 | ||
hey i think u missed this |
![]() ![]() « Citoyen » 1531811160000
| 0 | ||
how can you make a AIE Map that is long? |
0 | ||
Overjoy06 a dit : Just add aie="" and L="1600" between the <P> tags |
![]() ![]() « Citoyen » 1531882920000
| 0 | ||
Riox a dit : thanks |
![]() ![]() « Citoyen » 1548968100000
| 0 | ||
How can I make my map have the ability to transform mice into shamanic objects? (sorry for the bad translation) |
![]() « Consul » 1548969480000
| 1 | ||
Air_drakon a dit : Currently this isn't possible in the editor. Also, next time I recommend that you ask questions like this in the Map Editor Q&A. This thread is also outdated, a new version exists here ^^ |
![]() ![]() « Citoyen » 1549013880000
| 0 | ||
Drescen a dit : tnx |
![]() ![]() « Sénateur » 1561911900000
| 1 | ||
APS is wrong. It's APS="url,?,x,dx,y,dy" |