×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Éditeur de cartes
  • /
  • Map Editor Q&A
« ‹ 241 / 272 › »
Map Editor Q&A
Ykr
« Censeur »
1490081940000
    • Ykr#0000
    • Profil
    • Derniers messages
    • Tribu
#4801
  0
Censere a dit :
<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="30" X="400" Y="385" T="0" /><S P="1,0,0,0.2,0,1,0,0" L="40" H="40" X="400" Y="350" T="1" /><S P="0,0,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /></S><D /><O /><L><JD M1="2" c="88B5CC,0,1,0" M2="1" HZ="0.01" /><JP M1="2" M2="1" AXIS="1,0" /></L></Z></C>


The central ice ground in this map doesn't collide with other grounds in the map, but it's set to collide with them in the map settings. How can this be fixed?

A quick fix
<C><P /><Z><S><S H="30" L="800" Y="385" X="400" P="0,0,0.3,0.2,0,0,0,0" T="0" /><S H="40" L="40" Y="350" X="400" P="1,0,0,0.2,0,1,0,0" T="1" /><S H="40" L="40" Y="350" X="20" P="1,-1,0,0.2,0,0,0,0" T="1" /><S H="40" L="40" Y="350" X="60" P="0,0,0.3,0.2,0,0,0,0" T="0" /></S><D /><O /><L><JD c="88B5CC,0,1,0" HZ="0.01" M1="2" M2="1" /><JP M1="2" AXIS="1,0" M2="1" /></L></Z></C>


Linked grounds have no collision with each other. And besides, dynamic grounds that are linked to normal ones start passing through all of them except other dynamic ones even if they are set to collide everything.
The easiest fix is to link only dynamic one to another.
Censere
« Consul »
1490127540000
    • Censere#0095
    • Profil
    • Derniers messages
    • Tribu
#4802
  0
Sweet, thanks

Another question, I have this XML:
<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" X="400" H="30" Y="385" T="0" /><S P="1,0,0.3,0.2,0,0,0,0" L="20" H="200" X="400" Y="190" T="0" /><S P="1,-1,0.3,0.2,0,0,0,0" L="20" H="20" X="400" Y="100" T="0" /><S P="1,-1,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /><S P="1,0,0,0.2,0,1,0,0" L="40" H="40" X="400" Y="350" T="1" /><S P="1,-1,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /></S><D><T Y="370" X="730" /></D><O /><L><JD HZ="0.01" M2="3" c="88B5CC,0,1,0" M1="4" /><JR M2="2" MV="Infinity,2" M1="1" /><JP M2="3" AXIS="1,0" M1="4" /></L></Z></C>


I've linked the two ice grounds so that the moving central one's Y axis is locked to the one on the left.
I have linked the two wood grounds in the middle so that the larger one rotates around the smaller one.

However, when I try to link the larger wood ground to the moving ice ground to make the ice ground move side to side by linking their Y-axis' together, all of the grounds freeze and become static.
<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" X="400" H="30" Y="385" T="0" /><S P="1,0,0.3,0.2,0,0,0,0" L="20" H="200" X="400" Y="190" T="0" /><S P="1,-1,0.3,0.2,0,0,0,0" L="20" H="20" X="400" Y="100" T="0" /><S P="1,-1,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /><S P="1,0,0,0.2,0,1,0,0" L="40" H="40" X="400" Y="350" T="1" /><S P="1,-1,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /></S><D><T Y="370" X="730" /></D><O /><L><JD HZ="0.01" M2="3" c="88B5CC,0,1,0" M1="4" /><JR M2="2" MV="Infinity,2" M1="1" /><JP M2="3" AXIS="1,0" M1="4" /><JP M2="1" AXIS="0,1" M1="4" /></L></Z></C>


How do I fix this?

Dernière modification le 1490128620000
Thegbc
« Censeur »
1490146020000
    • Thegbc#0095
    • Profil
    • Derniers messages
    • Tribu
#4803
  0
Censere a dit :
Sweet, thanks

Another question, I have this XML:
<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" X="400" H="30" Y="385" T="0" /><S P="1,0,0.3,0.2,0,0,0,0" L="20" H="200" X="400" Y="190" T="0" /><S P="1,-1,0.3,0.2,0,0,0,0" L="20" H="20" X="400" Y="100" T="0" /><S P="1,-1,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /><S P="1,0,0,0.2,0,1,0,0" L="40" H="40" X="400" Y="350" T="1" /><S P="1,-1,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /></S><D><T Y="370" X="730" /></D><O /><L><JD HZ="0.01" M2="3" c="88B5CC,0,1,0" M1="4" /><JR M2="2" MV="Infinity,2" M1="1" /><JP M2="3" AXIS="1,0" M1="4" /></L></Z></C>


I've linked the two ice grounds so that the moving central one's Y axis is locked to the one on the left.
I have linked the two wood grounds in the middle so that the larger one rotates around the smaller one.

However, when I try to link the larger wood ground to the moving ice ground to make the ice ground move side to side by linking their Y-axis' together, all of the grounds freeze and become static.
<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" X="400" H="30" Y="385" T="0" /><S P="1,0,0.3,0.2,0,0,0,0" L="20" H="200" X="400" Y="190" T="0" /><S P="1,-1,0.3,0.2,0,0,0,0" L="20" H="20" X="400" Y="100" T="0" /><S P="1,-1,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /><S P="1,0,0,0.2,0,1,0,0" L="40" H="40" X="400" Y="350" T="1" /><S P="1,-1,0,0.2,0,0,0,0" L="40" H="40" X="20" Y="350" T="1" /></S><D><T Y="370" X="730" /></D><O /><L><JD HZ="0.01" M2="3" c="88B5CC,0,1,0" M1="4" /><JR M2="2" MV="Infinity,2" M1="1" /><JP M2="3" AXIS="1,0" M1="4" /><JP M2="1" AXIS="0,1" M1="4" /></L></Z></C>


How do I fix this?

You can't link the two grounds using JP because it will result in both being restricted by their angle, to execute this effect you'll have to link them with JD and set the ice ground's coordinates to the same Y axis of the wood ground's rotation center in order to avoid instability.

Example
<C><P /><Z><S><S L="800" H="30" X="400" Y="385" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="20" X="400" H="200" Y="190" T="0" P="1,999999,0.3,0.2,0,0,0,0" /><S L="20" X="400" H="20" Y="100" T="0" P="1,-1,0.3,0.2,0,0,0,0" /><S L="40" X="20" H="40" Y="350" T="1" P="1,-1,0,0.2,0,0,0,0" /><S L="40" X="400" H="40" Y="350" T="1" P="1,0,0,0.2,0,1,0,0" /><S L="40" X="20" H="40" Y="350" T="1" P="1,-1,0,0.2,0,0,0,0" /></S><D><T Y="370" X="730" /></D><O /><L><JD M2="3" c="88B5CC,0,1,0" M1="4" HZ="0.01" /><JR M2="2" MV="Infinity,2" M1="1" /><JP M2="3" AXIS="1,0" M1="4" /><JD M2="1" P1="1e20,100" M1="4" /></L></Z></C>

Dernière modification le 1490149800000
Censere
« Consul »
1490154240000
    • Censere#0095
    • Profil
    • Derniers messages
    • Tribu
#4804
  0
Thank you o/

+yet another question

I know how to make a sticky ground which pushes mice downward, but how do I make one which pushes to left or right, or upward?
Pamdecp
« Censeur »
1490269980000
    • Pamdecp#0020
    • Profil
    • Derniers messages
    • Tribu
#4805
  0
Censere a dit :
Thank you o/

+yet another question

I know how to make a sticky ground which pushes mice downward, but how do I make one which pushes to left or right, or upward?

You mean like a treadmill or you want mice to literally go through the ground?
Censere
« Consul »
1490298480000
    • Censere#0095
    • Profil
    • Derniers messages
    • Tribu
#4806
  0
Pamdecp a dit :
You mean like a treadmill or you want mice to literally go through the ground?

sticky ground, not a booster ground. I want to make one which goes sidewards or upwards instead of downwards.
Thegbc
« Censeur »
1490321280000
    • Thegbc#0095
    • Profil
    • Derniers messages
    • Tribu
#4807
  0
Censere a dit :
Pamdecp a dit :
You mean like a treadmill or you want mice to literally go through the ground?

sticky ground, not a booster ground. I want to make one which goes sidewards or upwards instead of downwards.

Sorry, I couldn't understand what do you mean by "sticky ground", do you have any example of it being used in a map?
@edit: Nevermind, already helped him ingame.

Dernière modification le 1490383200000
Vintage
« Consul »
1490434380000
    • Vintage#0246
    • Profil
    • Derniers messages
    • Tribu
#4808
  0
I've seen in some maps that jump is disabled, I want to make a map with that feature. Is it a xml tag or how do you add it?
Wangan
« Censeur »
1490435040000
    • Wangan#0095
    • Profil
    • Derniers messages
    • Tribu
#4809
  0
V_ntage a dit :
I've seen in some maps that jump is disabled, I want to make a map with that feature. Is it a xml tag or how do you add it?

Add v="-1" in the water XML.

<C><P /><Z><S><S L="800" X="400" H="30" Y="395" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,,,,0,0,0" L="800" X="400" v="-1" Y="195" T="9" H="370" /></S><D><F Y="200" X="400" /><DS Y="365" X="400" /></D><O /></Z></C>
Vintage
« Consul »
1490450340000
    • Vintage#0246
    • Profil
    • Derniers messages
    • Tribu
#4810
  0
Wangan a dit :
V_ntage a dit :
I've seen in some maps that jump is disabled, I want to make a map with that feature. Is it a xml tag or how do you add it?

Add v="-1" in the water XML.

<C><P /><Z><S><S L="800" X="400" H="30" Y="395" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,,,,0,0,0" L="800" X="400" v="-1" Y="195" T="9" H="370" /></S><D><F Y="200" X="400" /><DS Y="365" X="400" /></D><O /></Z></C>

This is only when you have the cheese, I want it to work without a cheese too
Highperm
« Citoyen »
1490453100000
    • Highperm#0000
    • Profil
    • Derniers messages
#4811
  0
V_ntage a dit :
Wangan a dit :
V_ntage a dit :
I've seen in some maps that jump is disabled, I want to make a map with that feature. Is it a xml tag or how do you add it?

Add v="-1" in the water XML.

<C><P /><Z><S><S L="800" X="400" H="30" Y="395" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,,,,0,0,0" L="800" X="400" v="-1" Y="195" T="9" H="370" /></S><D><F Y="200" X="400" /><DS Y="365" X="400" /></D><O /></Z></C>

This is only when you have the cheese, I want it to work without a cheese too

Then delete the cheese. Adding v="-1" to the water ground in XML makes the water ground invisible and doesn't require a cheese to work.

Wangan's XML without cheese
<C><P /><Z><S><S L="800" H="30" X="400" Y="395" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="800" X="400" H="370" v="-1" Y="195" T="9" P="0,0,,,,0,0,0" /></S><D><DS Y="365" X="400" /></D><O /></Z></C>
Vintage
« Consul »
1490454240000
    • Vintage#0246
    • Profil
    • Derniers messages
    • Tribu
#4812
  0
Highperm a dit :
V_ntage a dit :
Wangan a dit :
V_ntage a dit :
I've seen in some maps that jump is disabled, I want to make a map with that feature. Is it a xml tag or how do you add it?

Add v="-1" in the water XML.

<C><P /><Z><S><S L="800" X="400" H="30" Y="395" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,,,,0,0,0" L="800" X="400" v="-1" Y="195" T="9" H="370" /></S><D><F Y="200" X="400" /><DS Y="365" X="400" /></D><O /></Z></C>

This is only when you have the cheese, I want it to work without a cheese too

Then delete the cheese. Adding v="-1" to the water ground in XML makes the water ground invisible and doesn't require a cheese to work.

Wangan's XML without cheese
<C><P /><Z><S><S L="800" H="30" X="400" Y="395" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="800" X="400" H="370" v="-1" Y="195" T="9" P="0,0,,,,0,0,0" /></S><D><DS Y="365" X="400" /></D><O /></Z></C>

nvm thanks

Dernière modification le 1490454300000
Highperm
« Citoyen »
1490456220000
    • Highperm#0000
    • Profil
    • Derniers messages
#4813
  0
No problem but I think you meant something different. Were you asking how to make a map like this?

http://i.imgur.com/XmYA7E8.png Danielmago - @6284671 (P13)
http://api.micetigri.fr/share/maps/6284671

If so, it's pretty easy. Although mice aren't able to jump in water grounds, they rise because of water grounds' properties. To prevent this, change the gravity of your map with a minimum value of 16. I suggest you to use a value between 18-22. The gravity used in @6284671 is 18.

Example XML (gravity is 18)
<C><P G="0,18" /><Z><S><S L="800" X="400" H="30" Y="395" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,,,,0,0,0" L="800" H="370" v="-1" Y="195" T="9" X="400" /><S L="120" H="120" X="180" Y="220" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" H="80" X="400" Y="300" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" X="620" H="220" Y="220" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="80" X="400" H="80" Y="90" T="0" P="0,0,0.3,0.2,0,0,0,0" /></S><D><DS Y="150" X="179" /></D><O /></Z></C>

Hope this helps.
Vintage
« Consul »
1490457120000
    • Vintage#0246
    • Profil
    • Derniers messages
    • Tribu
#4814
  0
Highperm a dit :
No problem but I think you meant something different. Were you asking how to make a map like this?

http://i.imgur.com/XmYA7E8.png Danielmago - @6284671 (P13)
http://api.micetigri.fr/share/maps/6284671

If so, it's pretty easy. Although mice aren't able to jump in water grounds, they rise because of water grounds' properties. To prevent this, change the gravity of your map with a minimum value of 16. I suggest you to use a value between 18-22. The gravity used in @6284671 is 18.

Example XML (gravity is 18)
<C><P G="0,18" /><Z><S><S L="800" X="400" H="30" Y="395" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,,,,0,0,0" L="800" H="370" v="-1" Y="195" T="9" X="400" /><S L="120" H="120" X="180" Y="220" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" H="80" X="400" Y="300" T="0" P="0,0,0.3,0.2,0,0,0,0" /><S L="80" X="620" H="220" Y="220" T="0" P="0,0,0.3,0.2,30,0,0,0" /><S L="80" X="400" H="80" Y="90" T="0" P="0,0,0.3,0.2,0,0,0,0" /></S><D><DS Y="150" X="179" /></D><O /></Z></C>

Hope this helps.

Yup, that was what I was out after and I figured out that i had to change gravity myself.
But thanks again! :)
Foxehfoxeh
« Citoyen »
1490723220000
    • Foxehfoxeh#0000
    • Profil
    • Derniers messages
    • Tribu
#4815
  0
hey, I have made a map using viprin's drawing editor which loaded fine into tfm. How ever after I have added grounds to this it starts to say 'This map is invalid' when I try to reload the xml. I suspect this is something to do with it being too large, which would be fine since I can still export it but I wish to make the grounds invisible which the only methods I know/have found need xml editing...
So basically is there a way to either make the xml valid or to make grounds invisible within the map editor??
Thanks.
Ikke
« Sénateur »
1490723940000
    • Ikke#0010
    • Profil
    • Derniers messages
    • Tribu
#4816
  0
Foxehfoxeh a dit :
[...]So basically is there a way to either make the xml valid (1.) or to make grounds invisible within the map editor(2.)??[...]

1.You can try found a error in your XML, check if you missed one of a characters like: " < or >, /

2.To turn a ground invisible: Search in your XML code the specific ground and change the T="#" to T="12", if already is T="12" delete the parameter o="######"

Dernière modification le 1490724120000
Ikke
« Sénateur »
1490724060000
    • Ikke#0010
    • Profil
    • Derniers messages
    • Tribu
#4817
  0
Double post, sorry!

Dernière modification le 1490724120000
Foxehfoxeh
« Citoyen »
1490730420000
    • Foxehfoxeh#0000
    • Profil
    • Derniers messages
    • Tribu
#4818
  0
Thanks for the answer. I had a brief look at the code but the problem is it's around 25,000 characters, I wouldn't have thought there would be anything missing since I haven't edited it manually at all. I'll keep looking through it though.
Censere
« Consul »
1490730900000
    • Censere#0095
    • Profil
    • Derniers messages
    • Tribu
#4819
  0
Foxehfoxeh a dit :
Thanks for the answer. I had a brief look at the code but the problem is it's around 25,000 characters, I wouldn't have thought there would be anything missing since I haven't edited it manually at all. I'll keep looking through it though.

save your XML as a text file and right click on the file and view it's properties. If it has over 20kb, then it won't be able to be loaded in the editor. You will either need to delete lines or grounds.
  • Forums
  • /
  • Transformice
  • /
  • Éditeur de cartes
  • /
  • Map Editor Q&A
« ‹ 241 / 272 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27