Created
August 6, 2015 12:54
-
-
Save macrat/b46ad3b97f4299daf98e to your computer and use it in GitHub Desktop.
rigidchipsのヘリ二種
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Val | |
{ | |
TRIM(min=-20, max=20) | |
ENGINE() | |
ENGINE_TOP() | |
ENGINE_BOTTOM() | |
} | |
Key | |
{ | |
0:TRIM(step=1) | |
1:TRIM(step=-1) | |
4:ENGINE(step=1000) | |
5:ENGINE(step=-1000) | |
} | |
Body | |
{ | |
Core(){ | |
N:Frame(angle=-90){ | |
N:Frame(){ | |
N:Wheel(angle=-90, power=-ENGINE_TOP){ | |
N:Trim(angle=-TRIM, color=#ff0000){} | |
W:Trim(angle=-TRIM, color=#ff3333){} | |
E:Trim(angle=-TRIM, color=#ff6666){} | |
S:Trim(angle=-TRIM, color=#ff9999){} | |
} | |
} | |
} | |
S:Frame(angle=-90){ | |
S:Frame(){ | |
N:Wheel(angle=-90, power=-ENGINE_BOTTOM){ | |
N:Trim(angle=TRIM, color=#0000ff){} | |
W:Trim(angle=TRIM, color=#3333ff){} | |
E:Trim(angle=TRIM, color=#6666ff){} | |
S:Trim(angle=TRIM, color=#9999ff){} | |
} | |
} | |
} | |
} | |
} | |
Lua | |
{ | |
wy = 0 | |
function main() | |
wy = wy*0.8 + _WY(0)*0.2 | |
ENGINE_TOP = ENGINE + _QY(0)*ENGINE/20 + wy*1000 | |
ENGINE_BOTTOM = ENGINE - _QY(0)*ENGINE/20 - wy*1000 | |
end | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Val | |
{ | |
TRIM(min=-20, max=20) | |
ENGINE() | |
} | |
Key | |
{ | |
0:TRIM(step=1) | |
1:TRIM(step=-1) | |
4:ENGINE(step=1000) | |
5:ENGINE(step=-1000) | |
} | |
Body | |
{ | |
Core(){ | |
N:Frame(){ | |
N:Frame(){ | |
N:Wheel(power=ENGINE){ | |
N:Trim(angle=-TRIM, color=#ff0000){} | |
W:Trim(angle=-TRIM, color=#ff3333){} | |
E:Trim(angle=-TRIM, color=#ff6666){} | |
S:Trim(angle=-TRIM, color=#ff9999){} | |
} | |
} | |
} | |
S:Frame(){ | |
S:Frame(){ | |
S:Wheel(power=-ENGINE){ | |
N:Trim(angle=TRIM, color=#0000ff){} | |
W:Trim(angle=TRIM, color=#3333ff){} | |
E:Trim(angle=TRIM, color=#6666ff){} | |
S:Trim(angle=TRIM, color=#9999ff){} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment