[Tutorial] Invalid Friction - IF through Restitution |
Mumich « Citoyen » 1358122080000
| 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
| 0 | ||
Nice Tulio and Luper ;D |
0 | ||
Very easy. |
Force_shaman « Censeur » 1358122620000
| 0 | ||
Oh good god, 99999999 to the 99999th power |
Lupersinio « Citoyen » 1358122860000
| 0 | ||
Test map @3448581 |
Fluffyshine « Citoyen » 1358124240000
| 0 | ||
AMMMGGGG THANK YOU SO MUCH!!!! |
Bixnood « Citoyen » 1358127480000
| 0 | ||
Finally movable IF. Good find though it doesn't work the same. |
Mumich « Citoyen » 1358132460000
| 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
| 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
| 0 | ||
Killerlux a dit : If IM means Invalid Mass, then it doesn't. |
Mumich « Citoyen » 1358173260000
| 0 | ||
Killerlux a dit : 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
| 0 | ||
When my button goes against the IF ground, nothing happens. It just gets pushed away. |
Mumich « Citoyen » 1358173800000
| 0 | ||
Killerlux a dit : 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
| 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
| 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
| 0 | ||
that's cool |
Nimann « Citoyen » 1358498280000
| 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
| 0 | ||
Thanks Luper and Tulio ! |
Martinbless « Citoyen » 1358599140000
| 0 | ||
Nimann a dit : If I understand you right it kinda is the point |
Tfmhuntfm « Citoyen » 1358602080000
| 0 | ||