Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The 'trigger platform' definition is very sloppily put together. BitProperties would be more suited, but I have no understanding of how the object works, and there are some strange conditions that determine which frame is used, so subtype 13 sometimes uses the wrong sprite (0 instead of 1).
- Loading branch information
Showing
13 changed files
with
230 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.Common" TypeName="LavaMarker" Language="cs" Name="Invisible lava marker" Image="img1" RememberState="false"> | ||
<Images> | ||
<ImageFromMappings id="img1"> | ||
<ArtFile filename=".../art/nemesis/Monitor and contents.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj31_b.bin" frame="0" startpal="0" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img2"> | ||
<ArtFile filename=".../art/nemesis/Monitor and contents.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj31_b.bin" frame="1" startpal="0" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img3"> | ||
<ArtFile filename=".../art/nemesis/Monitor and contents.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj31_b.bin" frame="2" startpal="0" /> | ||
</ImageFromMappings> | ||
</Images> | ||
<Subtypes> | ||
<Subtype id="00" name="Small" image="img1" /> | ||
<Subtype id="01" name="Medium" image="img2" /> | ||
<Subtype id="02" name="Large" image="img3" /> | ||
</Subtypes> | ||
</ObjDef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.HTZ" TypeName="Stake" Language="cs" Name="Lift stake" Image="img1" RememberState="false"> | ||
<Images> | ||
<ImageFromMappings id="img1"> | ||
<ArtFile filename="../art/nemesis/HTZ zip-line platform.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj16.bin" frame="3" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img2"> | ||
<ArtFile filename="../art/nemesis/HTZ zip-line platform.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj16.bin" frame="4" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img3"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj1C_a.bin" frame="0" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img4"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj1C_a.bin" frame="1" startpal="2" /> | ||
</ImageFromMappings> | ||
</Images> | ||
<Subtypes> | ||
<Subtype id="04" name="Stake (left)" image="img1" /> | ||
<Subtype id="05" name="Stake (right)" image="img2" /> | ||
<Subtype id="07" name="Ground edge (left)" image="img3" /> | ||
<Subtype id="08" name="Ground edge (right)" image="img4" /> | ||
</Subtypes> | ||
</ObjDef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.HTZ" TypeName="SmashGround" Language="cs" Name="Smashable ground" Image="img1" RememberState="false"> | ||
<Images> | ||
<ImageFromMappings id="img1"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj2F.bin" frame="0" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img2"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj2F.bin" frame="2" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img3"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj2F.bin" frame="4" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img4"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj2F.bin" frame="6" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img5"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj2F.bin" frame="8" startpal="2" /> | ||
</ImageFromMappings> | ||
</Images> | ||
<Subtypes> | ||
<Subtype id="00" name="Full" image="img1" /> | ||
<Subtype id="02" name="Partly broken (1)" image="img2" /> | ||
<Subtype id="04" name="Partly broken (2)" image="img3" /> | ||
<Subtype id="06" name="Partly broken (3)" image="img4" /> | ||
<Subtype id="08" name="Partly broken (4)" image="img5" /> | ||
</Subtypes> | ||
</ObjDef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.MCZ" TypeName="Brick" Language="cs" Name="Brick/Spike ball" Image="img1" RememberState="false" DefaultSubtype="0F" > | ||
<Images> | ||
<ImageFromMappings id="img1"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj75.bin" frame="2" startpal="1" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img2"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj75.bin" frame="0" startpal="1" /> | ||
</ImageFromMappings> | ||
</Images> | ||
<Subtypes> | ||
<Subtype id="0F" name="Brick" image="img1" /> | ||
<Subtype id="16" name="Spike ball (small radius)" image="img2" /> | ||
<Subtype id="17" name="Spike ball (large radius)" image="img2" /> | ||
</Subtypes> | ||
</ObjDef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.MTZ" TypeName="BoltEndRope" Language="cs" Name="Bolt end and rope" Image="img1" RememberState="false"> | ||
<Images> | ||
<ImageFromMappings id="img1"> | ||
<ArtFile filename="../art/nemesis/Bolt end and rope from MTZ.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj1C_e.bin" frame="0" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img2"> | ||
<ArtFile filename="../art/nemesis/Bolt end and rope from MTZ.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj1C_e.bin" frame="1" startpal="2" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img3"> | ||
<ArtFile filename="../art/nemesis/Bolt end and rope from MTZ.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj1C_e.bin" frame="2" startpal="1" /> | ||
</ImageFromMappings> | ||
</Images> | ||
<Subtypes> | ||
<Subtype id="00" name="Rope (right)" image="img1" /> | ||
<Subtype id="01" name="Rope (left)" image="img2" /> | ||
<Subtype id="03" name="Bolt end" image="img3" /> | ||
</Subtypes> | ||
</ObjDef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.MTZ" TypeName="CirclePlatform" Language="cs" Name="Platform moving in a circle" Image="img2" RememberState="false" DefaultSubtype="10"> | ||
<Images> | ||
<ImageFromMappings id="img1"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj6E.bin" frame="0" startpal="3" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img2"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj6E.bin" frame="1" startpal="3" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img3"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj6E.bin" frame="2" startpal="3" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img4"> | ||
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ - indent.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj6E.bin" frame="3" startpal="3" /> | ||
</ImageFromMappings> | ||
</Images> | ||
<Subtypes> | ||
<Subtype id="00" name="Edge piece" image="img1" /> | ||
<Subtype id="10" name="Connector" image="img2" /> | ||
<Subtype id="20" name="Central platform" image="img3" /> | ||
<Subtype id="31" name="Indent" image="img4" /> | ||
</Subtypes> | ||
</ObjDef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.MTZ" TypeName="SpringWall" Language="cs" Name="Spring wall" Image="img1" RememberState="false" DefaultSubtype="01"> | ||
<Images> | ||
<ImageFromMappings id="img1"> | ||
<ArtFile filename="../art/nemesis/Monitor and contents.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj66.bin" frame="0" startpal="0" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img2"> | ||
<ArtFile filename="../art/nemesis/Monitor and contents.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj66.bin" frame="1" startpal="0" /> | ||
</ImageFromMappings> | ||
</Images> | ||
<Subtypes> | ||
<Subtype id="01" name="Small" image="img1" /> | ||
<Subtype id="11" name="Large" image="img2" /> | ||
</Subtypes> | ||
</ObjDef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.MTZ" TypeName="TriggerPlatform" Language="cs" Name="Trigger platform" Image="img2" RememberState="false" DefaultSubtype="B0"> | ||
<Images> | ||
<ImageFromMappings id="img1"> | ||
<ArtFile filename="LevelArt" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj65_a.bin" frame="0" startpal="3" /> | ||
</ImageFromMappings> | ||
<ImageFromMappings id="img2"> | ||
<ArtFile filename="../art/nemesis/Small cog from MTZ.bin" /> | ||
<MapFile type="Binary" filename="../mappings/sprite/obj65_b.bin" frame="0" startpal="3" /> | ||
</ImageFromMappings> | ||
</Images> | ||
<Subtypes> | ||
<Subtype id="04" name="Platform" image="img1" /> | ||
<Subtype id="13" name="Platform" image="img1" /> | ||
<Subtype id="20" name="Cogs" image="img2" /> | ||
<Subtype id="80" name="Platform" image="img1" /> | ||
<Subtype id="81" name="Platform" image="img1" /> | ||
<Subtype id="82" name="Platform" image="img1" /> | ||
<Subtype id="83" name="Platform" image="img1" /> | ||
<Subtype id="85" name="Platform" image="img1" /> | ||
<Subtype id="B0" name="Platform" image="img1" /> | ||
<Subtype id="B1" name="Platform" image="img1" /> | ||
<Subtype id="B2" name="Platform" image="img1" /> | ||
<Subtype id="B3" name="Platform" image="img1" /> | ||
<Subtype id="B4" name="Platform" image="img1" /> | ||
</Subtypes> | ||
</ObjDef> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters