forked from microsoft/malmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcliff_walking_1.xml
executable file
·65 lines (60 loc) · 2.6 KB
/
cliff_walking_1.xml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?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>
<ModSettings>
<MsPerTick>1</MsPerTick>
</ModSettings>
<ServerSection>
<ServerInitialConditions>
<Time>
<StartTime>6000</StartTime>
<AllowPassageOfTime>false</AllowPassageOfTime>
</Time>
<Weather>clear</Weather>
<AllowSpawning>false</AllowSpawning>
</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="7" y2="50" z2="18" type="air" /> <!-- limits of our arena -->
<DrawCuboid x1="-2" y1="45" z1="-2" x2="7" y2="45" z2="18" type="lava" /> <!-- lava floor -->
<DrawCuboid x1="1" y1="45" z1="1" x2="3" y2="45" z2="12" type="sandstone" /> <!-- floor of the arena -->
<DrawBlock x="4" y="45" z="1" type="cobblestone" /> <!-- the starting marker -->
<DrawBlock x="4" y="45" z="12" type="lapis_block" /> <!-- the destination marker -->
<DrawItem x="4" y="46" z="12" type="diamond" /> <!-- another destination marker -->
</DrawingDecorator>
<ServerQuitFromTimeUp timeLimitMs="1000000"/>
<ServerQuitWhenAnyAgentFinishes/>
</ServerHandlers>
</ServerSection>
<AgentSection mode="Survival">
<Name>Cristina</Name>
<AgentStart>
<Placement x="4.5" y="46.0" z="1.5" pitch="30" yaw="0"/>
</AgentStart>
<AgentHandlers>
<ObservationFromFullStats/>
<VideoProducer want_depth="false">
<Width>640</Width>
<Height>480</Height>
</VideoProducer>
<DiscreteMovementCommands>
<ModifierList type="deny-list">
<command>attack</command>
</ModifierList>
</DiscreteMovementCommands>
<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>