LT4 Sasahebi
RigidChips :: Rigid-Chips :: Files :: Cars
Page 1 of 1
LT4 Sasahebi
Z/X/C/S:turn turret
A:Main cannon 1600k×10
V/B:change the speed of turning turret
F/G:radar
Q/W:change zoom
E:drive mode/snipe mode
A:Main cannon 1600k×10
V/B:change the speed of turning turret
F/G:radar
Q/W:change zoom
E:drive mode/snipe mode
- Code:
// [RCD]
Val
{
BRAKE_L(default=100000, max=100000, step=100, disp=0)
BRAKE_R(default=100000, max=100000, step=100, disp=0)
CCL1(default=#242D13, disp=0)
CCL2(default=#1E3010, disp=0)
CCL3(default=#233010, disp=0)
COL1(default=#485926, disp=0)
COL2(default=#3C5F21, disp=0)
COL3(default=#486817, disp=0)
MA0(default=180, max=180, step=15, disp=0)
MA1(default=180, max=180, step=15, disp=0)
MA10(default=180, max=180, step=15, disp=0)
MA11(default=180, max=180, step=15, disp=0)
MA12(default=180, max=180, step=15, disp=0)
MA13(default=180, max=180, step=15, disp=0)
MA14(default=180, max=180, step=15, disp=0)
MA15(default=180, max=180, step=15, disp=0)
MA16(default=180, max=180, step=15, disp=0)
MA17(default=180, max=180, step=15, disp=0)
MA18(default=180, max=180, step=15, disp=0)
MA19(default=180, max=180, step=15, disp=0)
MA2(default=180, max=180, step=15, disp=0)
MA3(default=180, max=180, step=15, disp=0)
MA4(default=180, max=180, step=15, disp=0)
MA5(default=180, max=180, step=15, disp=0)
MA6(default=180, max=180, step=15, disp=0)
MA7(default=180, max=180, step=15, disp=0)
MA8(default=180, max=180, step=15, disp=0)
MA9(default=180, max=180, step=15, disp=0)
MB0(default=0, max=121600000, step=121600000, disp=0)
MB1(default=0, max=121600000, step=121600000, disp=0)
MB10(default=0, max=121600000, step=121600000, disp=0)
MB11(default=0, max=121600000, step=121600000, disp=0)
MB12(default=0, max=121600000, step=121600000, disp=0)
MB13(default=0, max=121600000, step=121600000, disp=0)
MB14(default=0, max=121600000, step=121600000, disp=0)
MB15(default=0, max=121600000, step=121600000, disp=0)
MB16(default=0, max=121600000, step=121600000, disp=0)
MB17(default=0, max=121600000, step=121600000, disp=0)
MB18(default=0, max=121600000, step=121600000, disp=0)
MB19(default=0, max=121600000, step=121600000, disp=0)
MB2(default=0, max=121600000, step=121600000, disp=0)
MB3(default=0, max=121600000, step=121600000, disp=0)
MB4(default=0, max=121600000, step=121600000, disp=0)
MB5(default=0, max=121600000, step=121600000, disp=0)
MB6(default=0, max=121600000, step=121600000, disp=0)
MB7(default=0, max=121600000, step=121600000, disp=0)
MB8(default=0, max=121600000, step=121600000, disp=0)
MB9(default=0, max=121600000, step=121600000, disp=0)
T(default=0, min=-2, max=30, disp=0)
TS(default=2, min=0.1, max=5)
TURN(default=0, min=-360, max=360)
UD(default=0, min=-25, max=20)
WA(default=160, min=160, max=250, disp=0)
WHEEL_L(default=0, min=-30000, max=30000, step=10000, disp=0)
WHEEL_R(default=0, min=-30000, max=30000, step=10000, disp=0)
}
Key
{
0:Wheel_L(step=10000), Wheel_r(step=-10000), BrAke_L(step=-10000), BrAke_r(step=-10000)
1:Wheel_r(step=10000), Wheel_l(step=-10000), BrAke_L(step=-10000), BrAke_r(step=-10000)
2:Wheel_l(step=12000), Wheel_r(step=12000), BrAke_L(step=-10000), BrAke_r(step=-10000)
3:Wheel_r(step=-12000), Wheel_l(step=-12000), BrAke_L(step=-10000), BrAke_r(step=-10000)
}
Body
{
// Core(color=col1) {}
Core(color=col1) {
S:Weight(angle=180, color=col1) {
S:Weight(angle=180, option=1, color=col1, name=CORE2) {
S:Weight(angle=UD, option=2, color=col1) {
N:Weight(angle=-170, option=1, color=col1) {
N:Weight(angle=170, option=1, color=col1) {
N:Weight(option=2, color=col1) {
N:Cowl(color=ccl1, effect=#0000) {
N:Cowl(color=ccl2, effect=#0000) {
N:Cowl(option=1, color=ccl1, effect=#0000, name=kanon) { }
}
}
N:Arm(angle=-ma0, power=mb0, option=1600000, color=col1, name=MAIN) { }
N:Arm(angle=-ma1, power=mb1, option=1600000, color=col1) { }
N:Arm(angle=-ma2, power=mb2, option=1600000, color=col1) { }
N:Arm(angle=-ma3, power=mb3, option=1600000, color=col1) { }
N:Arm(angle=-ma4, power=mb4, option=1600000, color=col1) { }
}
N:Weight(option=2, color=col1) {
N:Arm(angle=-ma5, power=mb5, option=1600000, color=col1) { }
N:Arm(angle=-ma6, power=mb6, option=1600000, color=col1) { }
N:Arm(angle=-ma7, power=mb7, option=1600000, color=col1) { }
N:Arm(angle=-ma8, power=mb8, option=1600000, color=col1) { }
N:Arm(angle=-ma9, power=mb9, option=1600000, color=col1) { }
}
}
}
}
S:Weight(angle=-150, option=1, color=col1) {
S:Weight(angle=-120, option=4, color=col1) {
W:Weight(angle=-80, option=2, color=col1) {
W:Weight(angle=-20, color=col2) { }
}
N:Weight(angle=-90, option=1, color=col3) {
N:Cowl(color=ccl1, effect=0) {
W:Cowl(angle=45, option=1, color=0, effect=#0000) {
W:Cowl(angle=45, option=1, color=0, effect=#0000) { }
}
N:Cowl(angle=-90, color=ccl1, effect=0) { }
}
}
E:Weight(angle=-80, option=2, color=col3) {
E:Weight(angle=-20, color=col2) { }
}
}
}
S:Weight(angle=-90, option=1, color=col1) {
S:Weight(angle=-170, option=1, color=col1) { }
S:Weight(angle=170, option=1, color=col1) { }
N:Trim(angle=turn, color=col1) {
E:Weight(angle=170, option=1, color=col1) { }
W:Weight(angle=170, option=1, color=col1) { }
W:Weight(angle=-170, option=1, color=col1) { }
E:Weight(angle=-170, option=1, color=col1) { }
N:Weight(angle=90, option=2, color=col3) {
S:Weight(option=3, color=col2) {
W:Weight(option=3, color=Col3) { }
E:Weight(option=3, color=Col2) { }
E:Frame(angle=-70, option=1, color=col3) {
E:RLW(angle=WA, power=WHEEL_l, brake=BRAKE_l, option=1, color=col1, effect=7) { }
}
W:Frame(angle=-70, option=1, color=col3) {
W:RLW(angle=WA, power=WHEEL_r, brake=BRAKE_r, option=1, color=col1, effect=7) { }
}
S:Weight(option=3, color=col2) {
E:Frame(angle=-70, option=1, color=col3) {
E:RLW(angle=WA, power=WHEEL_l, brake=BRAKE_L, option=1, color=col1, effect=7) { }
}
S:Weight(angle=-110, option=5, color=Col2) {
S:Weight(angle=-70, option=3, color=col2) { }
}
E:Weight(option=3, color=col2) {
S:Weight(angle=-110, option=5, color=Col1) {
S:Weight(angle=-70, option=3, color=col1) { }
E:Weight(angle=-120, option=3, color=Col2) { }
}
S:Weight(angle=170, option=2, color=col3) {
S:Weight(angle=-20, option=3, color=col2) { }
}
}
W:Weight(option=3, color=col1) {
S:Weight(angle=-110, option=5, color=Col3) {
S:Weight(angle=-70, option=3, color=col3) { }
W:Weight(angle=-120, option=3, color=Col3) { }
}
S:Weight(angle=170, option=2, color=col1) {
S:Weight(angle=-20, option=3, color=col1) { }
}
}
W:Frame(angle=-70, option=1, color=col3) {
W:RLW(angle=WA, power=WHEEL_r, brake=BRAKE_r, option=1, color=col1, effect=7) { }
}
S:Weight(angle=170, option=3, color=col1) {
S:Weight(angle=-20, option=3, color=col2) { }
}
}
W:Weight(angle=40, color=col1) {
W:Weight(angle=-130, option=1, color=col2) { }
}
E:Weight(angle=40, color=col1) {
E:Weight(angle=-130, option=1, color=col3) { }
}
S:Weight(angle=-110, option=2, color=col1) {
S:Weight(angle=110, option=1, color=col1) { }
}
E:Weight(angle=-110, option=3, color=col1) {
E:Weight(angle=110, option=3, color=col1) { }
}
W:Weight(angle=-110, option=3, color=col1) {
W:Weight(angle=110, option=3, color=col1) { }
}
}
E:Weight(option=3, color=Col1) { }
W:Weight(option=3, color=Col2) { }
W:Frame(angle=-70, option=1, color=col3) {
W:RLW(angle=WA, power=WHEEL_r, brake=BRAKE_r, option=1, color=col1, effect=7) { }
}
E:Frame(angle=-70, option=1, color=col3) {
E:RLW(angle=WA, power=WHEEL_l, brake=BRAKE_l, option=1, color=col1, effect=7) { }
}
N:Weight(option=3, color=Col3) {
N:Weight(option=3, color=Col2) {
N:Weight(angle=-110, option=3, color=Col2) {
N:Weight(angle=-70, option=3, color=col2) { }
}
W:Weight(option=3, color=col2) {
N:Weight(angle=-110, option=3, color=Col3) {
N:Weight(angle=-70, option=3, color=col3) { }
W:Weight(angle=-120, option=3, color=Col2) { }
}
}
W:Frame(angle=-70, option=1, color=col3) {
W:RLW(angle=WA, power=WHEEL_r, brake=BRAKE_r, option=1, color=col1, effect=7) { }
}
E:Weight(option=3, color=col1) {
N:Weight(angle=-110, option=3, color=Col1) {
N:Weight(angle=-70, option=3, color=col1) { }
E:Weight(angle=-120, option=3, color=Col1) { }
}
}
E:Frame(angle=-70, option=1, color=col3) {
E:RLW(angle=WA, power=WHEEL_l, brake=BRAKE_l, option=1, color=col1, effect=7) { }
}
}
W:Weight(option=3, color=Col2) {
N:Weight(angle=40, color=col1) {
N:Weight(angle=-130, color=col1) { }
N:Cowl(angle=140, color=ccl2, effect=0) { }
}
}
E:Weight(option=3, color=Col1) {
N:Weight(angle=40, color=col1) {
N:Weight(angle=-130, color=col2) { }
N:Cowl(angle=140, color=ccl1, effect=0) { }
}
}
E:Frame(angle=-70, option=1, color=col3) {
E:RLW(angle=WA, power=WHEEL_l, brake=BRAKE_l, option=1, color=col1, effect=7) { }
}
W:Frame(angle=-70, option=1, color=col3) {
W:RLW(angle=WA, power=WHEEL_r, brake=BRAKE_r, option=1, color=col1, effect=7) { }
}
W:Weight(angle=40, color=col1) {
W:Weight(angle=-130, color=col1) { }
W:Cowl(angle=140, color=ccl1, effect=0) { }
}
E:Weight(angle=40, color=col1) {
E:Weight(angle=-130, color=col3) { }
E:Cowl(angle=140, color=ccl3, effect=0) { }
}
N:Weight(angle=40, color=col1) {
N:Weight(angle=-130, color=col3) { }
N:Cowl(angle=140, color=ccl3, effect=0) { }
}
E:Weight(angle=-110, option=3, color=col1) {
E:Weight(angle=110, option=3, color=col1) { }
}
W:Weight(angle=-110, option=3, color=col1) {
W:Weight(angle=110, option=3, color=col1) { }
}
N:Weight(angle=-110, option=2, color=col1) {
N:Weight(angle=-70, option=1, color=col1) { }
}
}
W:Weight(angle=40, color=col1) {
W:Weight(angle=-130, option=1, color=col3) { }
W:Cowl(angle=140, color=ccl3, effect=0) { }
}
E:Weight(angle=40, color=col1) {
E:Weight(angle=-130, option=1, color=col2) { }
E:Cowl(angle=140, color=ccl1, effect=0) { }
}
E:Weight(angle=-110, option=3, color=col1) {
E:Weight(angle=110, option=3, color=col1) { }
}
W:Weight(angle=-110, option=3, color=col1) {
W:Weight(angle=110, option=3, color=col1) { }
}
}
}
}
}
}
}
}
Lua
{MC=-1
WAS=-1
RN=10
PX=0
PY=0
PZ=0
_ZOOM(100)
function main()
CCL1=CCLF(COL1)
CCL2=CCLF(COL2)
CCL3=CCLF(COL3)
if _T(0)==-1 then _SPLIT(CORE2) end
TS=TS+(_KEY(11)-_KEY(10))*0.1
TURN=TURN-(_KEY(6)-_KEY(4))*TS
if TURN<=180 then TURN=TURN+360 end
if TURN>=180 then TURN=TURN-360 end
UD=UD-(_KEY(8)-_KEY(5))*TS/2
_ZOOM(_ZOOM() + (_KEY(14)-_KEY(15))*5.5)
MC=MC+_KEYDOWN(7)
if MC==10 then MC=-1 end
for j=0, 9 do
if MC==j then
_G["MA"..j]=_G["MA"..j]-15
_G["MB"..j]=_G["MB"..j]+80000
end
end
if _Y(CORE2)<=0 then out(1,"Diving…")
end
WAS=WAS-_KEYDOWN(16)*WAS*2
WA=WA+30*WAS
if WA>=250 then WA=250 end
T=T+_KEYDOWN(12)-_KEYDOWN(13)
if T>=-1 then
out(0,"Main=",_E(MAIN)/1600000*100,"% ",MC+1)
out (7,"fps",_FPS())
_SETCOLOR(0)
_MOVE3D(_X(KANON),_Y(KANON),_Z(KANON))
_LINE3D(_X(KANON)-_ZX(KANON)*1180,_Y(KANON)-_ZY(KANON)*1180,_Z(KANON)-_ZZ(KANON)*1180)
_SETCOLOR(16711680)
_MOVE3D(_X(KANON)-_ZX(KANON)*1180+_XX(KANON),_Y(KANON)-_ZY(KANON)*1180+_XY(KANON),_Z(KANON)-_ZZ(KANON)*1180+_XZ(KANON))
_LINE3D(_X(KANON)-_ZX(KANON)*1180-_XX(KANON),_Y(KANON)-_ZY(KANON)*1180-_XY(KANON),_Z(KANON)-_ZZ(KANON)*1180-_XZ(KANON))
_MOVE3D(_X(KANON)-_ZX(KANON)*1180+_YX(KANON),_Y(KANON)-_ZY(KANON)*1180+_YY(KANON),_Z(KANON)-_ZZ(KANON)*1180+_YZ(KANON))
_LINE3D(_X(KANON)-_ZX(KANON)*1180-_YX(KANON),_Y(KANON)-_ZY(KANON)*1180-_YY(KANON),_Z(KANON)-_ZZ(KANON)*1180-_YZ(KANON))
end
if T>=0 then
out(3,"num",T)
out(4,"name",_PLAYERNAME(T))
out(5,"chip",_PLAYERCHIPS(T),"arms",_PLAYERARMS(T))
out (7,"fps",_FPS())
out (8,"speed",math.sqrt( _VX(CN)*_VX(CN)+_VY(CN)*_VY(CN)+_VZ(CN)*_VZ(CN)))
out (9 ,"x",_X(CN)," z",_Z(CN)," y",_Y(CN))
for i = 0, RN+1 do
PX=PX+_PLAYERX(T)
PY=PY+_PLAYERY(T)
PZ=PZ+_PLAYERZ(T)
if i==1 then PX=0 PY=0 PZ=0 end
end
_SETCOLOR(0,0,0)
_MOVE3D(PX/RN,PY/RN,PZ/RN)
_LINE3D(_X(CORE2),_Y(CORE2),_Z(CORE2))
end
end
function CCLF(COL)
local str=string.format("%06x_",COL)
local r=tonumber(string.sub (str, 1 , 2),16)
local g=tonumber(string.sub (str, 3 , 4),16)
local b=tonumber(string.sub (str, 5 , 6),16)
local p=0.6666666666
r=math.floor( (r+math.min(128,r*p))*p -r*0.5 )
g=math.floor( (g+math.min(128,g*p))*p -g*0.5 )
b=math.floor( (b+math.min(128,b*p))*p -b*0.5 )
--out(20,r,g,b)
return r*65536 + g*256 +b
end}
orrrrz- Tank
- Posts : 55
Join date : 2012-06-19
Age : 29
Location : Tokyo
RigidChips :: Rigid-Chips :: Files :: Cars
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum