Guest User

Need Help with XML

a guest
Sep 1st, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.42 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <map proto="1.3.0">
  3. <name>Justice 3</name>
  4. <version>1.2</version>
  5. <objective>Break the obsidian from the enemy team's monument.</objective>
  6. <authors>
  7.     <author>UmbreonMessiah</author>
  8.     <author>Awarrior</author>
  9.     </authors>
  10. <contributors>
  11.     <contributor contribution="Map Feedback and XML Coding">WildCards</contributor>
  12. </contributors>
  13. <rules>
  14.    <rule>Don't spawn kill!</rule>
  15.    <rule>Don't block the spawns!</rule>
  16. </rules>
  17. <teams>
  18.     <team color="yellow" max="20">Heroes</team>
  19.     <team color="dark red" max="20">Villains</team>
  20. </teams>
  21. <maxbuildheight>256</maxbuildheight>
  22. <spawns>
  23.     <spawn team="Villains" kit="red" yaw="-45"><cuboid min="289.5,26,-55.5" max="289.5,26,-55.5"/></spawn>
  24.     <spawn team="Heroes" kit="blue" yaw="-135"><cuboid min="27.5,26,-55.5" max="27.5,26,-55.5"/></spawn>
  25.     <default yaw="-90"><cuboid min="157.5,88,30.5" max="157.5,88,30.5"/></default>
  26. </spawns>
  27. <destroyables completion="100%">
  28.         <destroyable name="Left" owner="Villains" materials="obsidian">
  29.             <cuboid min="-5,39,4" max="-5,39,4"/>
  30.         </destroyable>
  31.         <destroyable name="Back" owner="Villains" materials="obsidian">
  32.             <cuboid min="-49,36,-56" max="-49,36,-56"/>
  33.         </destroyable>
  34.         <destroyable name="Right" owner="Villains" materials="obsidian">
  35.             <cuboid min="-5,39,-116" max="-5,39,-116"/>
  36.         </destroyable>
  37.         <destroyable name="Left" owner="Heroes" materials="obsidian">
  38.             <cuboid min="321,39,-116" max="321,39,-116"/>
  39.         </destroyable>
  40.         <destroyable name="Back" owner="Heroes" materials="obsidian">
  41.             <cuboid min="365,36,-56" max="365,36,-56"/>
  42.         </destroyable>
  43.         <destroyable name="Right" owner="Heroes" materials="obsidian">
  44.             <cuboid min="321,39,4" max="321,39,4"/>
  45.         </destroyable>
  46.     </destroyables>
  47.  
  48. <kits>
  49.     <kit name="spawn">
  50.         <item slot="0">stone sword</item>
  51.         <item slot="1">bow</item>
  52.         <item slot="2">diamond pickaxe</item>
  53.         <item slot="3" amount="3">golden apple</item>
  54.         <item slot="4" amount="32">log</item>
  55.         <item slot="5" amount="64">glass</item>
  56.         <item slot="6" amount="24">apple</item>
  57.         <item slot="27" amount="32">arrow</item>
  58.         <potion duration="5" amplifier="1">heal</potion>
  59.         <potion duration="10">damage resistance</potion>
  60.     </kit>
  61.     <kit name="red" parents="spawn">
  62.         <helmet color="cd0000">leather helmet</helmet>
  63.         <chestplate color="cd0000">leather chestplate</chestplate>
  64.         <leggings color="cd0000">leather leggings</leggings>
  65.         <boots color="cd0000">leather boots</boots>
  66.     </kit>
  67.     <kit name="blue" parents="spawn">
  68.         <helmet color="FFF700">leather helmet</helmet>
  69.         <chestplate color="FFF700">leather chestplate</chestplate>
  70.         <leggings color="FFF700">leather leggings</leggings>
  71.         <boots color="FFF700">leather boots</boots>
  72.     </kit>
  73. </kits>
  74. <toolrepair>
  75.     <tool>stone sword</tool>
  76.     <tool>diamond pickaxe</tool>
  77.     <tool>bow</tool>
  78. </toolrepair>
  79. <itemremove>
  80.     <item>arrow</item>
  81.     <item>leather helmet</item>
  82.     <item>leather chestplate</item>
  83.     <item>leather leggings</item>
  84.     <item>leather boots</item>
  85.     <item>wood</item>
  86.     <item>apple</item>
  87.     <item>obsidian</item>
  88. </itemremove>
  89. <tnt>
  90.     <instantignite>on</instantignite>
  91.     <blockdamage>off</blockdamage>
  92. </tnt>
  93. </map>
Add Comment
Please, Sign In to add comment