×

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
  • /
  • [Tutorial] One-way Path Ground
[Tutorial] One-way Path Ground
Kimsterjay
« Consul »
1519517100000
    • Kimsterjay#0000
    • Profil
    • Derniers messages
    • Tribu
#1
  18

One-way Path Ground Tutorial


Explanation a dit :
A one-way path ground is basically a ground that allows you to go through it in only one direction. So, if you go through it, you can't come back the other way.

Example maps:


http://img.atelier801.com/0f24f39c.png @7277632

http://img.atelier801.com/0aa4f39c.png
http://img.atelier801.com/0fa4f39c.png @7191124

http://img.atelier801.com/09a4f39c.png
http://img.atelier801.com/68a4f3a4.png @7392492
http://img.atelier801.com/6824f3a4.png

Step 1.
First place a dynamic ground with the mass as 999999 or higher.
(Set to 0 Friction, 0 Restitution, 0 Rotation, No fixed rotation, 0 Linear damping, 0 Angular damping and no collision with grounds. Only collision to mice.)


Example

http://img.atelier801.com/0ca4f39c.png


XML Example (Steps)

The P="" values should be P="1,999999,0,0,0,0,0,0" (1 for dynamic ground, 999999 for mass, 0 for everything else).

<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="30" X="400" Y="390" T="0" /><S P="1,999999,0,0,0,0,0,0" X="580" L="30" o="324650" H="400" c="3" Y="200" T="12" /></S><D /><O /></Z></C>

And also, the longer the height of the ground is, the better. I would recommend in between 300 and 1000. The mechanism works better that way.

Step 2.
In order for the joint mechanism to work, you must place the <L></L> tags.

XML Example (Steps)

The <L></L> tags must be put in between the <O /> and </Z> tags.

<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="30" X="400" Y="390" T="0" /><S P="1,999999,0,0,0,0,0,0" X="580" L="30" o="324650" H="400" c="3" Y="200" T="12" /></S><D /><O /><L></L></Z></C>


Step 3.
This uses JP (Prismatic Joint). This mechanism is very similar to the treadmill/booster ground mechanism. However, the speed (MV) will be lower (MV="Infinity,3 to 5"). You choose the direction you want to allow the players to go through using the AXIS. AXIS="-1,0" allows you to go through left to right. AXIS="1,0" allows you to go through right to left. So, it turns out like the following:

<JP MV="Infinity,3 to 5" AXIS="x,y" M1="Dynamic Ground Z Value" />


XML Examlple (Steps)

In this case, I will use AXIS="-1,0" which will allow you to go through left to right and the Dynamic Ground Z Value is 1. I will also set the speed to MV="Infinity,3". So it turns out like the following: <JP MV="Infinity,3" AXIS="-1,0" M1="1" />

So, place <JP MV="Infinity,3" AXIS="-1,0" M1="1" /> in between the <L></L> tags.

<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="30" X="400" Y="390" T="0" /><S P="1,999999,0,0,0,0,0,0" X="580" L="30" o="324650" H="400" c="3" Y="200" T="12" /></S><D /><O /><L><JP MV="Infinity,3" AXIS="-1,0" M1="1" /></L></Z></C>


Step 4.
Link the ground with the JR (Revolving Joint) and P1. It turns out as the following:

<JR P1="x,y" M1="Dynamic Ground Z Value" />


XML Example (Steps)

In this case, I put the P1 axis to P1="0,0" and the Dynamic Ground Z Value is 1. It turns out like the following: <JR P1="0,0" M1="1" />

So, place <JR P1="0,0" M1="1" /> after the <JP /> tag.

<C><P /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="30" X="400" Y="390" T="0" /><S P="1,999999,0,0,0,0,0,0" X="580" L="30" o="324650" H="400" c="3" Y="200" T="12" /></S><D /><O /><L><JP MV="Infinity,3" AXIS="-1,0" M1="1" /><JR P1="0,0" M1="1" /></L></Z></C>

And that is the end! Hope this helped. If you have any questions, feel free to ask here!


Special thanks to Bolodefchoco.
Credits to Uelintondd for the original tutorial.


Dernière modification le 1688909520000
Dsquared2
« Citoyen »
1519517400000
    • Dsquared2#5535
    • Profil
    • Derniers messages
    • Tribu
#2
  1
Great tutorial! i'll make sure to implement it in my future maps :)
Kateluvsyou
« Citoyen »
1519517640000
    • Kateluvsyou#0000
    • Profil
    • Derniers messages
#3
  1
A One-way Path Ground lets you know that you have to live in the present, not the past.
LOL JK
but i have a question:
why can't we come back?

Dernière modification le 1519517880000
Kimsterjay
« Consul »
1519517880000
    • Kimsterjay#0000
    • Profil
    • Derniers messages
    • Tribu
#4
  1
Kateluvsyou a dit :
but i have a question:
why can't we come back?

That is the whole point in this concept. The concept is that you can only go through one way.

Dernière modification le 1519518000000
Kateluvsyou
« Citoyen »
1519518000000
    • Kateluvsyou#0000
    • Profil
    • Derniers messages
#5
  0
Kimsterjay a dit :
Kateluvsyou a dit :
but u can't come back?

That is the whole point in this concept. The concept is that you can only go through one way.

ok but what happens if u have two grounds that point opposite of each other right next to each other
Grimmaro
« Consul »
1519518120000
    • Grimmaro#0095
    • Profil
    • Derniers messages
    • Tribu
#6
  0
Great tutorial, good job Kim!
Kimsterjay
« Consul »
1519518180000
    • Kimsterjay#0000
    • Profil
    • Derniers messages
    • Tribu
#7
  1
Thewtfjason a dit :
Great tutorial! i'll make sure to implement it in my future maps :)

Thank you ^^

Grimmaro a dit :
Great tutorial, good job Kim!

Thanks Grim ^^
Kateluvsyou a dit :
ok but what happens if u have two grounds that point opposite of each other right next to each other

If you would want to do that, I suggest you make two normal grounds instead of using this concept in the wrong way.

Dernière modification le 1519518300000
Kateluvsyou
« Citoyen »
1519518960000
    • Kateluvsyou#0000
    • Profil
    • Derniers messages
#8
  1
Kimsterjay a dit :
Thewtfjason a dit :
Great tutorial! i'll make sure to implement it in my future maps :)

Thank you ^^

Grimmaro a dit :
Great tutorial, good job Kim!

Thanks Grim ^^
Kateluvsyou a dit :
ok but what happens if u have two grounds that point opposite of each other right next to each other

If you would want to do that, I suggest you make two normal grounds instead of using this concept in the wrong way.

oh ok
Unknown
« Censeur »
1519548060000
    • Unknown#3300
    • Profil
    • Derniers messages
    • Tribu
#9
  5

You could at least have mentioned MY TUTORIAL from the BR community, after all this is the original, you put the same name and made the content totally identical, although I was not the creator of the mechanism, it was me who did the tutorial. More respect and honesty always. Thank you!

Kimsterjay
« Consul »
1519550580000
    • Kimsterjay#0000
    • Profil
    • Derniers messages
    • Tribu
#12
  6
Uelintondd a dit :

You could at least have mentioned MY TUTORIAL from the BR community, after all this is the original, you put the same name and made the content totally identical, although I was not the creator of the mechanism, it was me who did the tutorial. More respect and honesty always. Thank you!


I am sorry. I learned the original mechanism from your thread in BR forum and I wanted to share this mechanism to the EN forum seeing it has never been introduced here. I will add you as a credit. I should have in the first place. Sorry if the explanation seems identical, it was the only way I knew how to do the mechanism.

Dernière modification le 1519559460000
Dsquared2
« Citoyen »
1519583220000
    • Dsquared2#5535
    • Profil
    • Derniers messages
    • Tribu
#13
  0
Is there a way to implement this mechanism into horizontal grounds?
Grimmaro
« Consul »
1519591680000
    • Grimmaro#0095
    • Profil
    • Derniers messages
    • Tribu
#14
  1
Thewtfjason a dit :
Is there a way to implement this mechanism into horizontal grounds?

I have personally never seen it or attempted to make one so you might be better off using a sticky ground for horizontal grounds and then using this mech for vertical ones.
Unknown
« Censeur »
1519594380000
    • Unknown#3300
    • Profil
    • Derniers messages
    • Tribu
#15
  2
Thewtfjason a dit :
Is there a way to implement this mechanism into horizontal grounds?

Use AXIS 0,1 or 0,-1.
Alarobzein
« Citoyen »
1575813240000
    • Alarobzein#0000
    • Profil
    • Derniers messages
    • Tribu
#16
  0
I have a problem, that's working in the beginning but with many grounds, they blow up *^*
Bhvana
« Censeur »
1587247980000
    • Bhvana#0543
    • Profil
    • Derniers messages
    • Tribu
#17
  0
How to make multiple one-way path grounds?
Eremia
« Censeur »
1590670860000
    • Eremia#0020
    • Profil
    • Derniers messages
    • Tribu
#18
  0
Alarobzein a dit :
I have a problem, that's working in the beginning but with many grounds, they blow up *^*

It works fine. The problem is that changing the Z value of a ground can change the Z value of other grounds, including the One-way path ground. However, the Z value indicated in the joint does't change, so the ground loses its properties. Make sure to apply the properties at the end, when the map is finished.
Alarobzein
« Citoyen »
1596213660000
    • Alarobzein#0000
    • Profil
    • Derniers messages
    • Tribu
#19
  0
Eremiaovidiu a dit :
Alarobzein a dit :
I have a problem, that's working in the beginning but with many grounds, they blow up *^*

It works fine. The problem is that changing the Z value of a ground can change the Z value of other grounds, including the One-way path ground. However, the Z value indicated in the joint does't change, so the ground loses its properties. Make sure to apply the properties at the end, when the map is finished.

I know that, I changed everything with Canvas and... boom, but it's okay I finally do it lol (8 months ago :s)

Dernière modification le 1596213720000
Jordi
« Citoyen »
1638535740000
    • Jordi#6447
    • Profil
    • Derniers messages
    • Tribu
#20
  0
how to make 2 grounds of this?
  • Forums
  • /
  • Transformice
  • /
  • Éditeur de cartes
  • /
  • [Tutorial] One-way Path Ground
© Atelier801 2018

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

Version 1.27