×

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] Invalid Friction - IF through Restitution
1 / 2 › »
[Tutorial] Invalid Friction - IF through Restitution
Mumich
« Citoyen »
1358122080000
    • Mumich#6666
    • Profil
    • Derniers messages
    • Tribu
#1
  0
Well, Lupersinio discovered a new way to do our beloved Invalid Friction!

First Step - Selecting the Ground

Firstly, in the map editor, you choose the ground you want to add the IF, after it, put a value you can easy find in the RESTITUTION, like 3333, in my case, I used 3333.

Map XML:
<C><P /><Z><S><S L="100" o="324650" H="100" X="400" Y="400" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="100" H="50" X="520" Y="375" T="3" P="1,0,0,3333,0,1,30,0" /></S><D /><O /></Z></C>

Second Step - Replacing

Now, in a notepad, you must search, in the xml, for the value you put in the RESTITUTION (!NEW! You can use it in friction, it'll not be sync based, will work just like the old one), in my case, 3333. Now replace it with 999e999. Your xml will be something like it:

<C><P /><Z><S><S L="100" o="324650" H="100" X="400" Y="400" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="100" H="50" X="520" Y="375" T="3" P="1,0,0,999e999,0,1,30,0" /></S><D /><O /></Z></C>

Now you paste in the Map Editor and enjoy!

And now I repeat, THANK YOU VERY MUCH, LUPERSINIO, FOR DISCOVERING IT!
Lupersinio
« Citoyen »
1358122440000
    • Lupersinio#0000
    • Profil
    • Derniers messages
    • Tribu
#2
  0
Nice Tulio and Luper ;D
Figoi
« Citoyen »
1358122440000
    • Figoi#0000
    • Profil
    • Derniers messages
    • Tribu
#3
  0
Very easy.
Force_shaman
« Censeur »
1358122620000
    • Force_shaman#0000
    • Profil
    • Derniers messages
    • Tribu
#4
  0
Oh good god, 99999999 to the 99999th power
Lupersinio
« Citoyen »
1358122860000
    • Lupersinio#0000
    • Profil
    • Derniers messages
    • Tribu
#5
  0
Test map @3448581
Fluffyshine
« Citoyen »
1358124240000
    • Fluffyshine#0000
    • Profil
    • Derniers messages
    • Tribu
#6
  0
AMMMGGGG THANK YOU SO MUCH!!!!
Bixnood
« Citoyen »
1358127480000
    • Bixnood#0000
    • Profil
    • Derniers messages
    • Tribu
#7
  0
Finally movable IF. Good find though it doesn't work the same.
Mumich
« Citoyen »
1358132460000
    • Mumich#6666
    • Profil
    • Derniers messages
    • Tribu
#8
  0
Like lava, this IF is affected by linear dump, so please be warn and avoid to use linear damp in the ground that will hit the IF

@edit

last news: This IF can be sync based if you are lagged, but it works in dynamic. I suggest you to not add collision with mouse to dynamic grounds with it
Killerlux
« Censeur »
1358171760000
    • Killerlux#0095
    • Profil
    • Derniers messages
    • Tribu
#9
  0
So what's the difference with the old IF thing? It isn't sync based anymore(as mice see crazy ground on 0,0 but shaman doesn't)?

Also, does it still work if we make the ground IM?
Todorovski
« Citoyen »
1358173020000
    • Todorovski#0000
    • Profil
    • Derniers messages
    • Tribu
#10
  0
Killerlux a dit :
Also, does it still work if we make the ground IM?

If IM means Invalid Mass, then it doesn't.
Mumich
« Citoyen »
1358173260000
    • Mumich#6666
    • Profil
    • Derniers messages
    • Tribu
#11
  0
Killerlux a dit :
So what's the difference with the old IF thing? It isn't sync based anymore(as mice see crazy ground on 0,0 but shaman doesn't)?

Also, does it still work if we make the ground IM?

This only has two differences:

Max linear dump that can hit it is 5.8

It can be sync based if the ground slowly hit it, but you can stop grounds from falling put a small groun in the position 0,5
Killerlux
« Censeur »
1358173560000
    • Killerlux#0095
    • Profil
    • Derniers messages
    • Tribu
#12
  0
When my button goes against the IF ground, nothing happens. It just gets pushed away.
Mumich
« Citoyen »
1358173800000
    • Mumich#6666
    • Profil
    • Derniers messages
    • Tribu
#13
  0
Killerlux a dit :
When my button goes against the IF ground, nothing happens. It just gets pushed away.

You can't add dump to it

<C><P /><Z><S><S L="100" o="324650" X="400" H="100" Y="400" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S L="100" H="50" X="520" Y="375" T="3" P="1,-1,0,999e999,0,1,30,0" /><S P="1,20,0.3,0.2,0,1,30,0" L="43" o="324650" X="516" Y="298" T="12" H="85" /><S P="1,1,0.3,0.2,0,0,0,0" L="63" o="324650" X="516" Y="345" T="12" H="10" /></S><D /><O /><L><JP M1="2" M2="3" AXIS="1,0" /><JP M1="2" M2="3" AXIS="0,1" /></L></Z></C>
Killerlux
« Censeur »
1358174580000
    • Killerlux#0095
    • Profil
    • Derniers messages
    • Tribu
#14
  0
It still doesn't work on my map but ah well, I give up. It randomly stops working even though I didn't edit anything. It is funny
Beachking
« Citoyen »
1358184180000
    • Beachking#0000
    • Profil
    • Derniers messages
    • Tribu
#15
  0
Just to let you know every ground you stand on has to be IM(Infinite Mass) but if you want to avoid that you make the IF ground's mass IM which allows normal grounds to be walkable. But that means the IF ground can be touch once per ground. Meaning that one somthing has touched that specific IF ground then it cannot be touched again using that same ground. So be careful with this new IF solution.

Thank you Tulio & Lupersinio for the new IF.
Lilyblol
« Citoyen »
1358361840000
    • Lilyblol#4443
    • Profil
    • Derniers messages
    • Tribu
#16
  0
that's cool
Nimann
« Citoyen »
1358498280000
    • Nimann#0000
    • Profil
    • Derniers messages
    • Tribu
#17
  0
GUYS IT HAS A very bad problem....
like i use this trick and when like i touch a ground...this ground and the grounds that attached to it will go up and like Break every thing.but last trick for this word didnt do that O:
Juliiien
« Citoyen »
1358589420000
    • Juliiien#0000
    • Profil
    • Derniers messages
    • Tribu
#18
  0
Thanks Luper and Tulio !
Martinbless
« Citoyen »
1358599140000
    • Martinbless#0000
    • Profil
    • Derniers messages
#19
  0
Nimann a dit :
GUYS IT HAS A very bad problem....
like i use this trick and when like i touch a ground...this ground and the grounds that attached to it will go up and like Break every thing.but last trick for this word didnt do that O:

If I understand you right it kinda is the point
Tfmhuntfm
« Citoyen »
1358602080000
    • Tfmhuntfm#0000
    • Profil
    • Derniers messages
#20
  0
Yupp thanks tuliomumic ^^
Yupp köszi tuliomumic ^^
  • Forums
  • /
  • Transformice
  • /
  • Éditeur de cartes
  • /
  • [Tutorial] Invalid Friction - IF through Restitution
1 / 2 › »
© Atelier801 2018

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

Version 1.27