×

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
  • /
  • Controlling the Anchors! Learning how to use Mp and Mv
1 / 2 › »
Controlling the Anchors! Learning how to use Mp and Mv
Mumich
« Citoyen »
1349215980000
    • Mumich#6666
    • Profil
    • Derniers messages
    • Tribu
#1
  1
Intro

In the latest update, we had a new enigma from Tigrounette. As a prize for discovering it, we are able to control both the speed and the strength of the rotating anchors. Mp="x" controls the strength of the rotating anchor and Mv="x" controls the speed of the rotating anchor.

Anchor Strength: Mp="X"

You can control the strength of the rotating anchor for the dynamic object by using the prefix Mp="X". X value can be any integer and The higher the X value is, the harder it will be to stop the rotating anchor. In other words, if the strength is low, mice and shaman items can stop the rotating anchor easily. However, if the strength is high, mice or shaman items can't stop the rotating anchor easily.

Here is an example showing two anchors with different strength:

a dit :
<C><P F="0" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="60" X="400" Y="370" T="6" /><S P="1,0,0.3,0.2,0,0,30,0" L="10" H="200" X="300" Y="200" T="0" /><S P="1,0,0.3,0.2,0,0,30,0" L="10" H="200" X="500" Y="200" T="5" /></S><D><T Y="340" X="76" /><F Y="335" X="745" /></D><O><O P="0" X="300" C="12" Mv="20" Y="200" Mp="200000" /><O P="0" X="500" C="12" Mv="20" Y="200" Mp="50" /></O></Z></C>



Anchor speed: Mv="X"

You can also control the speed of the rotating anchor by using the prefix Mv="X". X value can be any integer on this one too, and the higher the speed it, the faster the rotating anchor will rotate.

Here is another example, with two different speed and they both have high strength.

a dit :
<C><P F="0" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="60" X="400" Y="370" T="6" /><S P="1,0,0.3,0.2,0,0,30,0" L="10" H="200" X="300" Y="200" T="0" /><S P="1,0,0.3,0.2,0,0,30,0" L="10" H="200" X="500" Y="200" T="5" /></S><D><T Y="340" X="76" /><F Y="335" X="745" /></D><O><O P="0" X="300" C="12" Mv="20" Y="200" Mp="200000" /><O P="0" X="500" C="12" Mv="2" Y="200" Mp="200000" /></O></Z></C>

How to use

I will be using this XML to explain how to use those new 2 values.
At moment, we can't use these properties through map editor in game, but they can be added/changed through the XML of the map. In order to do it, copy the map XML and paste it in a notepad.

This part is where we the rotating anchors are defined:

a dit :
<O><O C="12" Y="200" P="0" X="400" /></O>

C="12" means you are using a red rotating anchor that rotates clockwise. However, the number can change depend on what kind of anchor you are using.

Then, add the following prefixes into that XML: Mp="(Strength value)" and Mv="(Speed value)". The result should be similar to this:

a dit :
<O><O C="12" Y="200" P="0" X="400" Mp="5000" Mv="100" /></O>

Controlling the rotating side

If the Mv="" value is positive, it'll spin clockwise. If it's negative, it'll spin anti-clockwise.

Curiosity

Sending the dynamic object to (0,0)

If the Mp="" and/or Mv="" is invalid, all of the dynamic objects attached to the anchor will be sent to (0,0). This way it's easier to make no-b grounds and some maps for room shaman.

Special thranks to Ediz for helping me to bring this thread to EN section.
Moldify
« Citoyen »
1349216220000
    • Moldify#0000
    • Profil
    • Derniers messages
    • Tribu
#2
  0
OWW Thanks!
Flamingsun
« Citoyen »
1349269980000
    • Flamingsun#0000
    • Profil
    • Derniers messages
#3
  0
Useful. Thanks!
Herobrinefan
« Citoyen »
1349270640000
    • Herobrinefan#0000
    • Profil
    • Derniers messages
    • Tribu
#4
  0
Awesome *-*
Purplehawt
« Citoyen »
1349273940000
    • Purplehawt#0000
    • Profil
    • Derniers messages
    • Tribu
#5
  0
Vote Tuliofeio for pressident!
Beachking
« Citoyen »
1349276640000
    • Beachking#0000
    • Profil
    • Derniers messages
    • Tribu
#6
  0
No need for this thread xD Impure's done a turtorial Sooo :P
Fxie
« Citoyen »
1349278560000
    • Fxie#0000
    • Profil
    • Derniers messages
    • Tribu
#7
  0
I've found a more effective approach to Mp you should consider.

This may have other uses, but there is an Infinity constant to define, of course, an infinite value. Defining Mp as Infinity will create constant, perfect momentum relative to Mv. Refer to the following XML:

a dit :
<C><P /><Z><S /><D /><O><O C="4" Y="200" X="400" P="0" /><O X="400" Mv="4" Mp="Infinity" C="11" Y="200" P="0" /></O></Z></C>

text
Aguscp
« Citoyen »
1349303400000
    • Aguscp#0000
    • Profil
    • Derniers messages
#8
  0
OMG, thanks!
Gephyd
« Citoyen »
1349401200000
    • Gephyd#0000
    • Profil
    • Derniers messages
#9
  0
Fiiiinally, something useful

lol anti-clockwise
Hidudelol
« Citoyen »
1349476080000
    • Hidudelol#0000
    • Profil
    • Derniers messages
#10
  0
Theres already left and right. Anti-clockwise is pointless.
Necroseer
« Citoyen »
1349477460000
    • Necroseer#0000
    • Profil
    • Derniers messages
    • Tribu
#11
  0
Hidudelol a dit :
Theres already left and right. Anti-clockwise is pointless.

You can use normal red anchors with this update. You can make it rotate both ways.

Normal red anchors look cleaner than rotating ones so there's an advantage to them.

Also, there's a rather strange glitch/bug where the grounds will stop spinning and will just stop slightly rotated from its initial rotation. It sometimes only happens on other people's screens, sometimes client-side.
Elvis
« Citoyen »
1349553240000
    • Elvis#7847
    • Profil
    • Derniers messages
    • Tribu
#12
  0
Tuliomumic a dit :
However, if the strength is high, mice or shaman items can't stop the rotating anchor easily.



I managed to make them both stop..after a while &amp;gt;:3

http://i.imgur.com/ZI1M5.png?1
On a serious note, this really halped, I finally understand this, Im so bad at scripting and things, usually takes me hours to understand if I try to figure it out myself so this was extremely useful, thanks alot!

http://i.imgur.com/Fx7cv.png?1
Monsterrs
« Citoyen »
1349671140000
    • Monsterrs#0000
    • Profil
    • Derniers messages
    • Tribu
#13
  0
,,Deleted,,
Plague
« Citoyen »
1349751000000
    • Plague#4538
    • Profil
    • Derniers messages
    • Tribu
#14
  0
Never going to be using them...too noob at the map editor~
Fatsexybeast
« Citoyen »
1350247380000
    • Fatsexybeast#0000
    • Profil
    • Derniers messages
#15
  0
*bump* Need this
Fernago
« Citoyen »
1350307800000
    • Fernago#0000
    • Profil
    • Derniers messages
    • Tribu
#16
  0
How much objects can you max. conect to 1 red anchor? because i conected 12 to 1 dot but 1 is always falling down :/ (not conected)

Edit: Problem solved :D i used 4 Green Anchors (:
Travelingpik
« Citoyen »
1357060560000
    • Travelingpik#0095
    • Profil
    • Derniers messages
    • Tribu
#17
  0
Bumped for newer mice to find as I've gotten a few questions recently regarding this. o/
Fernago
« Citoyen »
1357063500000
    • Fernago#0000
    • Profil
    • Derniers messages
    • Tribu
#18
  0
with v. 1.58 it got a bit harder..
you need now this one:

<JR P1="X,Y" M1="Y" MV="ST,SP" />

P1 = The point where the replacement of the "red dot" is
M1 = You need to enter the Z-value in it, thats the ground that rotates
MV = Like in the beginning post, strenght and speed

the advantage is that you dont need to hide this annoying red dot because there is none

Example:
a dit :
<C><P F="0" /><Z><S><S L="800" H="60" X="400" Y="370" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="10" H="200" X="500" Y="200" T="5" P="1,0,0.3,0.2,0,0,0,0" /><S L="10" X="300" H="200" Y="200" T="0" P="1,0,0.3,0.2,0,0,0,0" /></S><D><T Y="340" X="76" /><F Y="335" X="745" /></D><O /><L><JR MV="1000000,1" M1="1" P1="500,200" /><JR MV="1000000,1" M1="2" P1="250,200" /></L></Z></C>

It is very important that you put in this <L></L> code because without this it doesnt work

in editor do /debug or press the debug button in the "Save / Load / Test" menu to see how it works
Fxie
« Citoyen »
1357096140000
    • Fxie#0000
    • Profil
    • Derniers messages
    • Tribu
#19
  0
Fernago a dit :
with v. 1.58 it got a bit harder..

no it didn't, you can still use normal anchors with Mv and Mp. Mv and Mp were not replaced, JR is simply an alternative.
Fernago
« Citoyen »
1357133820000
    • Fernago#0000
    • Profil
    • Derniers messages
    • Tribu
#20
  0
Fxie a dit :
no it didn't, you can still use normal anchors with Mv and Mp. Mv and Mp were not replaced, JR is simply an alternative.

oh lol.. you are right then^ :D
  • Forums
  • /
  • Transformice
  • /
  • Éditeur de cartes
  • /
  • Controlling the Anchors! Learning how to use Mp and Mv
1 / 2 › »
© Atelier801 2018

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

Version 1.27