[Tutorial] Treadmills/Booster grounds |
![]() ![]() « Censeur » 1409321580000
| 5 | ||
I haven't seen any recent tutorial explaining how to do it, they were all mostly broken so here it is: 1. Make sure the ground is dynamic with fixed rotation and no mass. 2. In the XML add a <L></L> tag between the final <O/> and </Z>. For example: <C> <P /> <Z> <S> <S L="800" H="50" X="400" Y="400" T="0" P="1,0,20,0.2,0,1,0,0" /> <S L="100" H="30" X="50" Y="320" T="0" P="0,0,0.3,0,0,0,0,0" /> <S P="0,0,0.3,0.2,45,0,0,0" L="30" o="324650" X="600" c="4" Y="340" T="12" H="30" /> <S H="24" L="24" o="6a7495" X="595" c="4" Y="340" T="12" P="0,0,0.3,0.2,45,0,0,0" /> </S> <D> <DS Y="300" X="50" /> </D> <O /> </Z> </C> Becomes: <C> <P /> <Z> <S> <S L="800" H="50" X="400" Y="400" T="0" P="1,0,20,0.2,0,1,0,0" /> <S L="100" H="30" X="50" Y="320" T="0" P="0,0,0.3,0,0,0,0,0" /> <S P="0,0,0.3,0.2,45,0,0,0" L="30" o="324650" X="600" c="4" Y="340" T="12" H="30" /> <S H="24" L="24" o="6a7495" X="595" c="4" Y="340" T="12" P="0,0,0.3,0.2,45,0,0,0" /> </S> <D> <DS Y="300" X="50" /> </D> <O /> <L></L> </Z> </C> 3. In between the <L></L> tag, add two <JP M1="1" M2="0" /> tags. 4. Each tag has to have M1="Z value of the treadmill ground" and M2="Z value of a static ground on the map". <C> <P /> <Z> <S> <S L="800" H="50" X="400" Y="400" T="0" P="1,0,20,0.2,0,1,0,0" /> <S L="100" H="30" X="50" Y="320" T="0" P="0,0,0.3,0,0,0,0,0" /> <S P="0,0,0.3,0.2,45,0,0,0" L="30" o="324650" X="600" c="4" Y="340" T="12" H="30" /> <S H="24" L="24" o="6a7495" X="595" c="4" Y="340" T="12" P="0,0,0.3,0.2,45,0,0,0" /> </S> <D> <DS Y="300" X="50" /> </D> <O /> <L><JP M1="0" M2="1" /><JP M1="0" M2="1" /> </L> </Z> </C> In this XML the 0 is the Z value of the treadmill ground and the 1 is the Z value of the static wood ground above it. 5. Add MV="Infinity,-20" to the first JP tag. (You can make the 2nd value even lower, like -30 or -40) <C> <P /> <Z> <S> <S L="800" H="50" X="400" Y="400" T="0" P="1,0,20,0.2,0,1,0,0" /> <S L="100" H="30" X="50" Y="320" T="0" P="0,0,0.3,0,0,0,0,0" /> <S P="0,0,0.3,0.2,45,0,0,0" L="30" o="324650" X="600" c="4" Y="340" T="12" H="30" /> <S H="24" L="24" o="6a7495" X="595" c="4" Y="340" T="12" P="0,0,0.3,0.2,45,0,0,0" /> </S> <D> <DS Y="300" X="50" /> </D> <O /> <L><JP M1="0" M2="1" MV="Infinity,-20" /><JP M1="0" M2="1" /> </L> </Z> </C> 6. Then add an AXIS value in both JP tags. In the first tag you add AXIS="1,0" if you want the treadmill to shoot you to the right. If you want it to shoot you to the left then add AXIS="-1,0". In the second JP tag you just reverse the AXIS value, which gives you AXIS="0,1" for the first example or AXIS="0,-1" for the second one. <C> <P /> <Z> <S> <S L="800" H="50" X="400" Y="400" T="0" P="1,0,20,0.2,0,1,0,0" /> <S L="100" H="30" X="50" Y="320" T="0" P="0,0,0.3,0,0,0,0,0" /> <S P="0,0,0.3,0.2,45,0,0,0" L="30" o="324650" X="600" c="4" Y="340" T="12" H="30" /> <S H="24" L="24" o="6a7495" X="595" c="4" Y="340" T="12" P="0,0,0.3,0.2,45,0,0,0" /> </S> <D> <DS Y="300" X="50" /> </D> <O /> <L><JP AXIS="1,0" M1="0" M2="1" MV="Infinity,-20" /><JP AXIS="0,1"M1="0" M2="1" /> </L> </Z> </C> Note: increasing the friction increases the strength of the treadmill. Also I'd like to thank Physcolo for his help to make this(better enligsh than mine yes). |
0 | ||
thx this will be very useful for future epalk maps hahaha (if any) |
![]() ![]() « Citoyen » 1409601840000
| 0 | ||
Thanks, this' really helpful. |
![]() ![]() « Citoyen » 1409639700000
| 0 | ||
Thanks! |
![]() ![]() « Citoyen » 1409646240000
| 0 | ||
Very helpful! |
![]() 1409660940000
| | ||
[Modéré par Shamousey, raison : These are the English forums, there's no need for a Turkish translation. You're more than welcome to ask someone from the Turkish community to translate it for you.] |
![]() 1409998320000
| | ||
[Modéré par Shamousey, raison : Reply to moderated post.] |
![]() 1410000660000
| | ||
[Modéré par Shamousey, raison : Reply to moderated post.] |
![]() ![]() « Consul » 1410829980000
| 0 | ||
Thanks |
![]() ![]() « Citoyen » 1411132860000
| 0 | ||
Thanks killerlux :3 |
![]() ![]() « Sénateur » 1411579140000
| 0 | ||
Thanks |
![]() « Citoyen » 1411602420000
| 0 | ||
ummmm what i do |
![]() ![]() « Citoyen » 1411952700000
| 0 | ||
I dont really get it but I'll try to try it xD |
![]() ![]() « Citoyen » 1411963800000
| 0 | ||
I'm not sure that the no mass thing is absolutely necessary. I can't actually exactly remember how I made mine but mine were more of a spinoff of how Fxie introduced it when lines were just added. It has to do with stopping a self moving ground from moving. I'll update you when I can about it. I guess. Read through your code it seems to be what you are roughly doing. Dernière modification le 1411963920000 |
![]() 1412546100000
| | ||
[Modéré par Shamousey, raison : Please speak English on the EN forums.] |
![]() ![]() « Citoyen » 1413449940000
| 0 | ||
lawl.. too hard =="a |
![]() « Citoyen » 1413544080000
| 0 | ||
moshimoshiz a dit : |
![]() ![]() « Citoyen » 1413917100000
| 0 | ||
Merci! |
![]() ![]() « Citoyen » 1418137860000
| 2 | ||
Hi guys, I did some testing on this method. It seems like the first JP link is the one that powers the mechanism. The second JP link is only provided there to stabilize the treadmill ground. The reason the axes are reversed is to ensure that the treadmill ground stays in place by not allowing it to move along the direction it pushes. For this reason, you can alternatively link the treadmill ground by using the JR link to *any* static ground, or by putting a red anchor on it. I'm not sure if this is already known, but I thought it was a useful thing to add on here, in case there are any people who want to understand how the mech works, instead of just memorizing it. [EDIT] The mechanism works the same way if you reverse the order of the grounds and change the negative sign on the second MV coordinate to positive. Dernière modification le 1418138940000 |
![]() ![]() « Citoyen » 1428030900000
| 0 | ||
Thanks! really helpful. |