-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsamplemap.xml
More file actions
48 lines (43 loc) · 1.93 KB
/
samplemap.xml
File metadata and controls
48 lines (43 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Mission xmlns="http://ProjectMalmo.microsoft.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<About>
<Summary>Cliff walking mission based on Sutton and Barto.</Summary>
</About>
<ServerSection>
<ServerInitialConditions>
<Time><StartTime>1</StartTime></Time>
</ServerInitialConditions>
<ServerHandlers>
<FlatWorldGenerator generatorString="3;7,220*1,5*3,2;3;,biome_1"/>
<DrawingDecorator>
<!-- coordinates for cuboid are inclusive -->
<DrawCuboid x1="-2" y1="46" z1="-2" x2="10" y2="50" z2="3" type="air" /> <!-- limits of our arena -->
<DrawCuboid x1="-2" y1="45" z1="-2" x2="10" y2="45" z2="3" type="glass" /> <!-- floor of the arena -->
<DrawCuboid x1="-2" y1="44" z1="-2" x2="10" y2="44" z2="3" type="lava" />
<DrawBlock x="-2" y="45" z="-2" type="cobblestone" /> <!-- the starting marker -->
<DrawBlock x="10" y="45" z="3" type="lapis_block" /> <!-- the destination marker -->
</DrawingDecorator>
<ServerQuitFromTimeUp timeLimitMs="20000"/>
<ServerQuitWhenAnyAgentFinishes/>
</ServerHandlers>
</ServerSection>
<AgentSection mode="Survival">
<Name>Cristina</Name>
<AgentStart>
<Placement x="-1.5" y="46.0" z="-1.5" pitch="30" yaw="0"/>
</AgentStart>
<AgentHandlers>
<DiscreteMovementCommands/>
<ObservationFromFullStats/>
<RewardForTouchingBlockType>
<Block reward="-100.0" type="lava" behaviour="onceOnly"/>
<Block reward="100.0" type="lapis_block" behaviour="onceOnly"/>
</RewardForTouchingBlockType>
<RewardForSendingCommand reward="-1" />
<AgentQuitFromTouchingBlockType>
<Block type="lava" />
<Block type="lapis_block" />
</AgentQuitFromTouchingBlockType>
</AgentHandlers>
</AgentSection>
</Mission>