Skip to content

Commit

Permalink
Improving SonLVL object definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Clownacy committed Feb 14, 2015
1 parent bff17ad commit 2ca4df6
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 16 deletions.
2 changes: 1 addition & 1 deletion SonLVL INI Files/HTZ/Lift stake.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.HTZ" TypeName="LiftStake" Language="cs" Name="Lift stake" Image="img1" RememberState="false">
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.HTZ" TypeName="LiftStake" Language="cs" Name="Lift stake" Image="img1" RememberState="false" DefaultSubtype="04">
<Images>
<ImageFromMappings id="img1">
<ArtFile filename="../art/nemesis/HTZ zip-line platform.bin" />
Expand Down
63 changes: 63 additions & 0 deletions SonLVL INI Files/MCZ/Drawbridge.xml
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.MCZ" TypeName="Drawbridge" Language="cs" Name="Drawbridge" Image="img1" RememberState="false">
<Images>
<ImageFromMappings id="log">
<ArtFile filename="../art/nemesis/Drawbridge logs from MCZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj81.bin" frame="1" startpal="3" />
</ImageFromMappings>
</Images>
<DefaultImage>
<ImageRef image="log">
<Offset Y="-16" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-32" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-48" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-64" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-80" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-96" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-112" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-128" />
</ImageRef>
</DefaultImage>
<Display>
<DisplayOption>
<ImageRef image="log">
<Offset Y="-16" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-32" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-48" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-64" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-80" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-96" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-112" />
</ImageRef>
<ImageRef image="log">
<Offset Y="-128" />
</ImageRef>
</DisplayOption>
</Display>
</ObjDef>
91 changes: 91 additions & 0 deletions SonLVL INI Files/MTZ/Gear.xml
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.MTZ" TypeName="Gear" Language="cs" Name="Gear" RememberState="false">
<Images>
<ImageFromMappings id="geartooth1">
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj70.bin" frame="0" startpal="3" />
</ImageFromMappings>
<ImageFromMappings id="geartooth2">
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj70.bin" frame="4" startpal="3" />
</ImageFromMappings>
<ImageFromMappings id="geartooth3">
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj70.bin" frame="8" startpal="3" />
</ImageFromMappings>
<ImageFromMappings id="geartooth4">
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj70.bin" frame="12" startpal="3" />
</ImageFromMappings>
<ImageFromMappings id="geartooth5">
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj70.bin" frame="16" startpal="3" />
</ImageFromMappings>
<ImageFromMappings id="geartooth6">
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj70.bin" frame="20" startpal="3" />
</ImageFromMappings>
<ImageFromMappings id="geartooth7">
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj70.bin" frame="24" startpal="3" />
</ImageFromMappings>
<ImageFromMappings id="geartooth8">
<ArtFile filename="../art/nemesis/Large spinning wheel from MTZ.bin" />
<MapFile type="Binary" filename="../mappings/sprite/obj70.bin" frame="28" startpal="3" />
</ImageFromMappings>
</Images>
<DefaultImage>
<ImageRef image="geartooth1">
<Offset X="0" Y="-72" />
</ImageRef>
<ImageRef image="geartooth2">
<Offset X="50" Y="-50" />
</ImageRef>
<ImageRef image="geartooth3">
<Offset X="72" Y="0" />
</ImageRef>
<ImageRef image="geartooth4">
<Offset X="50" Y="50" />
</ImageRef>
<ImageRef image="geartooth5">
<Offset X="0" Y="72" />
</ImageRef>
<ImageRef image="geartooth6">
<Offset X="-50" Y="50" />
</ImageRef>
<ImageRef image="geartooth7">
<Offset X="-72" Y="0" />
</ImageRef>
<ImageRef image="geartooth8">
<Offset X="-50" Y="-50" />
</ImageRef>
</DefaultImage>
<Display>
<DisplayOption>
<ImageRef image="geartooth1">
<Offset X="0" Y="-72" />
</ImageRef>
<ImageRef image="geartooth2">
<Offset X="50" Y="-50" />
</ImageRef>
<ImageRef image="geartooth3">
<Offset X="72" Y="0" />
</ImageRef>
<ImageRef image="geartooth4">
<Offset X="50" Y="50" />
</ImageRef>
<ImageRef image="geartooth5">
<Offset X="0" Y="72" />
</ImageRef>
<ImageRef image="geartooth6">
<Offset X="-50" Y="50" />
</ImageRef>
<ImageRef image="geartooth7">
<Offset X="-72" Y="0" />
</ImageRef>
<ImageRef image="geartooth8">
<Offset X="-50" Y="-50" />
</ImageRef>
</DisplayOption>
</Display>
</ObjDef>
10 changes: 7 additions & 3 deletions SonLVL INI Files/MTZ/Trigger platform.xml
@@ -1,19 +1,23 @@
<?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">
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.MTZ" TypeName="TriggerPlatform" Language="cs" Name="Trigger platform" Image="img1" 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="LevelArt" />
<MapFile type="Binary" filename="../mappings/sprite/obj65_a.bin" frame="1" startpal="3" />
</ImageFromMappings>
<ImageFromMappings id="img3">
<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="13" name="Platform" image="img2" />
<Subtype id="20" name="Cogs" image="img3" />
<Subtype id="80" name="Platform" image="img1" />
<Subtype id="81" name="Platform" image="img1" />
<Subtype id="82" name="Platform" image="img1" />
Expand Down
2 changes: 1 addition & 1 deletion SonLVL INI Files/OOZ/Falling oil.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.OOZ" TypeName="FallingOil" Language="cs" Name="Falling oil" Image="img2" RememberState="false" DefaultSubtype="10">
<ObjDef xmlns="http://www.sonicretro.org" Namespace="S2ObjectDefinitions.OOZ" TypeName="FallingOil" Language="cs" Name="Falling oil" Image="img1" RememberState="false" DefaultSubtype="0A">
<Images>
<ImageFromMappings id="img1">
<ArtFile filename="../art/nemesis/Cascading oil from OOZ.bin" />
Expand Down
7 changes: 1 addition & 6 deletions SonLVL INI Files/objMCZ.ini
Expand Up @@ -68,12 +68,7 @@ frame=0
pal=3
defaultsubtype=81
[81]
name=Drawbridge
art=../art/nemesis/Drawbridge logs from MCZ.bin
map=../mappings/sprite/obj77.bin
frame=0
pal=3
defaultsubtype=02
xmlfile=MCZ/Drawbridge.xml
[9E]
name=Crawlton
art=../art/nemesis/Snake badnik from MCZ.bin
Expand Down
6 changes: 1 addition & 5 deletions SonLVL INI Files/objMTZ.ini
Expand Up @@ -75,11 +75,7 @@ rememberstate=True
[6E]
xmlfile=MTZ/Platform moving in a circle.xml
[70]
name=Gear
art=../art/nemesis/Large spinning wheel from MTZ.bin
map=../mappings/sprite/obj70.bin
frame=0
pal=3
xmlfile=MTZ/Gear.xml
[71]
name=Lava bubble
art=../art/nemesis/Lava bubble from MTZ.bin
Expand Down

0 comments on commit 2ca4df6

Please sign in to comment.