Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <LB>
- <ATTRIB>
- <version>1.4.0</version>
- <TARGET>
- <u>13.069</u>
- <v>-30.9655</v>
- </TARGET>
- <LUA>
- <index>bottom</index>
- </LUA>
- <DESCRIPTION>
- <text></text>
- <product>1</product>
- </DESCRIPTION>
- </ATTRIB>
- <CONTROL>
- <name>Brake</name>
- <default>0</default>
- <maintain>10</maintain>
- <min>-100</min>
- <max>100</max>
- <upKey0>5</upKey0>
- <upStep0>1</upStep0>
- <upKey1>0</upKey1>
- <upStep1>-1</upStep1>
- <upKey2>0</upKey2>
- <upStep2>1</upStep2>
- <upKey3>0</upKey3>
- <upStep3>1</upStep3>
- </CONTROL>
- <CONTROL>
- <name>Accel</name>
- <default>0</default>
- <maintain>200</maintain>
- <min>-200</min>
- <max>200</max>
- <upKey0>1</upKey0>
- <upStep0>200</upStep0>
- <upKey1>2</upKey1>
- <upStep1>-200</upStep1>
- <upKey2>0</upKey2>
- <upStep2>1</upStep2>
- <upKey3>0</upKey3>
- <upStep3>1</upStep3>
- </CONTROL>
- <CONTROL>
- <name>Handle</name>
- <default>0</default>
- <maintain>10</maintain>
- <min>-100</min>
- <max>100</max>
- <upKey0>3</upKey0>
- <upStep0>1</upStep0>
- <upKey1>4</upKey1>
- <upStep1>-1</upStep1>
- <upKey2>0</upKey2>
- <upStep2>1</upStep2>
- <upKey3>0</upKey3>
- <upStep3>1</upStep3>
- </CONTROL>
- <OBJ id="0">
- <name>Disk2</name>
- <type>disk</type>
- <u>8</u>
- <v>-29</v>
- <width>1</width>
- <height>0</height>
- <thick>6</thick>
- <material>4</material>
- <coloring>0</coloring>
- <lightweight>0</lightweight>
- <glue>0</glue>
- <pack>0</pack>
- </OBJ>
- <OBJ id="1">
- <name>Ball1</name>
- <type>ball</type>
- <u>13</u>
- <v>-31</v>
- <width>1</width>
- <height>0</height>
- <thick>2</thick>
- <material>4</material>
- <coloring>0</coloring>
- <lightweight>1</lightweight>
- <glue>0</glue>
- <pack>0</pack>
- </OBJ>
- <OBJ id="2">
- <name>Box5</name>
- <type>box</type>
- <u>9</u>
- <v>-32</v>
- <width>2</width>
- <height>8</height>
- <thick>2</thick>
- <material>4</material>
- <coloring>0</coloring>
- <lightweight>0</lightweight>
- <glue>0</glue>
- <pack>0</pack>
- </OBJ>
- <OBJ id="3">
- <name>Box4</name>
- <type>box</type>
- <u>-6</u>
- <v>-32</v>
- <width>4</width>
- <height>4</height>
- <thick>2</thick>
- <material>6</material>
- <coloring>0</coloring>
- <lightweight>0</lightweight>
- <glue>0</glue>
- <pack>0</pack>
- </OBJ>
- <OBJ id="4">
- <name>Box3</name>
- <type>box</type>
- <u>2</u>
- <v>-32</v>
- <width>4</width>
- <height>4</height>
- <thick>2</thick>
- <material>6</material>
- <coloring>0</coloring>
- <lightweight>0</lightweight>
- <glue>0</glue>
- <pack>0</pack>
- </OBJ>
- <OBJ id="5">
- <name>Box2</name>
- <type>box</type>
- <u>-1</u>
- <v>-31</v>
- <width>2</width>
- <height>20</height>
- <thick>2</thick>
- <material>6</material>
- <coloring>0</coloring>
- <lightweight>0</lightweight>
- <glue>0</glue>
- <pack>0</pack>
- </OBJ>
- <OBJ id="6">
- <name>Box1</name>
- <type>box</type>
- <u>-10</u>
- <v>-10</v>
- <width>20</width>
- <height>20</height>
- <thick>2</thick>
- <material>6</material>
- <coloring>0</coloring>
- <lightweight>0</lightweight>
- <glue>0</glue>
- <pack>1</pack>
- </OBJ>
- <ATTACHMENT>
- <ATTACH>
- <type>linear</type>
- <direction>5</direction>
- <name>Accel</name>
- <reverse>0</reverse>
- <angle>0</angle>
- </ATTACH>
- <FROM>
- <obj>0</obj>
- <type>disk</type>
- <side>2</side>
- <coord>0</coord>
- <angle>-90</angle>
- <bury>1</bury>
- <cover>1</cover>
- </FROM>
- <TO>
- <obj>2</obj>
- <type>box</type>
- <side>1</side>
- <coord>1</coord>
- <u>0.5</u>
- <v>0.375</v>
- <bury>1</bury>
- </TO>
- </ATTACHMENT>
- <ATTACHMENT>
- <ATTACH>
- <type>fix</type>
- <direction>5</direction>
- <angle>0</angle>
- </ATTACH>
- <FROM>
- <obj>1</obj>
- <type>ball</type>
- <side>2</side>
- <coord>1</coord>
- <u>0</u>
- <v>0</v>
- <bury>0</bury>
- <cover>1</cover>
- </FROM>
- <TO>
- <obj>2</obj>
- <type>box</type>
- <side>1</side>
- <coord>1</coord>
- <u>0.5</u>
- <v>0</v>
- <bury>0</bury>
- </TO>
- </ATTACHMENT>
- <ATTACHMENT>
- <ATTACH>
- <type>servo</type>
- <direction>5</direction>
- <name>Accel</name>
- <reverse>0</reverse>
- <angle>0</angle>
- </ATTACH>
- <FROM>
- <obj>3</obj>
- <type>box</type>
- <side>2</side>
- <coord>1</coord>
- <u>1</u>
- <v>0.5</v>
- <bury>0</bury>
- <cover>1</cover>
- </FROM>
- <TO>
- <obj>5</obj>
- <type>box</type>
- <side>1</side>
- <coord>1</coord>
- <u>0</u>
- <v>0.05</v>
- <bury>0</bury>
- </TO>
- </ATTACHMENT>
- <ATTACHMENT>
- <ATTACH>
- <type>servo</type>
- <direction>5</direction>
- <name>Accel</name>
- <reverse>1</reverse>
- <angle>0</angle>
- </ATTACH>
- <FROM>
- <obj>4</obj>
- <type>box</type>
- <side>2</side>
- <coord>1</coord>
- <u>0</u>
- <v>0.5</v>
- <bury>0</bury>
- <cover>1</cover>
- </FROM>
- <TO>
- <obj>5</obj>
- <type>box</type>
- <side>1</side>
- <coord>1</coord>
- <u>1</u>
- <v>0.05</v>
- <bury>0</bury>
- </TO>
- </ATTACHMENT>
- <ATTACHMENT>
- <ATTACH>
- <type>servo</type>
- <direction>5</direction>
- <name>Handle</name>
- <reverse>1</reverse>
- <angle>0</angle>
- </ATTACH>
- <FROM>
- <obj>5</obj>
- <type>box</type>
- <side>2</side>
- <coord>1</coord>
- <u>0.5</u>
- <v>1</v>
- <bury>0</bury>
- <cover>1</cover>
- </FROM>
- <TO>
- <obj>6</obj>
- <type>box</type>
- <side>1</side>
- <coord>1</coord>
- <u>0.5</u>
- <v>0.5</v>
- <bury>0</bury>
- </TO>
- </ATTACHMENT>
- </LB>
- <!--##LB_LUA_BLOCK
- function OnFrame()
- lb.drawtext(32,32,"Welcome to Laputan Blueprints world!")
- lb.drawtext(32,52,string.format("FPS=%.2f",lb.getfps()))
- lb.drawtext(32,72,string.format("Blocks=%d",lb.getobjectcount()))
- end
- function OnInit()
- lb.print(lb.gettime(),"Init")
- end
- function OnReset()
- lb.print(lb.gettime(),"Reset")
- end
- ##LB_LUA_BLOCK-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement