Changeset 310 for trunk/game/maps


Ignore:
Timestamp:
10/09/09 20:03:08 (10 years ago)
Author:
eliedebrauwer
Message:

Ticket #66: Patch by saritor (& eliedebrauwer), implements saritors rework of teleporting, at this point it implements the within-a-map teleport successfully, but cross map teleport still has in issue which probably has to do with the setup of the PC. comment[s:trac, t:66]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/maps/map.xml

    r308 r310  
    11<?xml version="1.0" encoding="ascii"?> 
    2 <map id="my-map" format="1.0"> 
     2<map id="main-map" format="1.0"> 
    33    <!-- Firstly import all the gfx objects we need for this map --> 
    44        <import file="../objects/agents/player/player.xml"></import> 
     
    2222        <import file="../objects/objects/crate/crate.xml"></import> 
    2323        <import file="../objects/ground/misc/test.xml"></import> 
    24          
     24 
    2525        <!-- Import the test buildings (and their doors) --> 
    2626        <import file="../objects/buildings/shanty/shantya.xml"></import> 
     
    3535        <import file="../objects/buildings/shanty/shanty-shadow.xml"></import> 
    3636        <import file="../objects/buildings/shanty/shanty-door.xml"></import> 
    37          
     37 
    3838        <import file="../objects/buildings/windmill/windmilla.xml"></import> 
    3939        <import file="../objects/buildings/windmill/windmillb.xml"></import> 
     
    948948                        <i x="11.0" o="brick" z="0.0" y="-7.0" r="0"></i> 
    949949                        <i x="12.0" o="brick" z="0.0" y="-7.0" r="0"></i> 
    950          
     950 
    951951                        <i x="-6.0" o="snow02" z="0.0" y="-13.0" r="0"></i> 
    952952                        <i x="-5.0" o="snow02" z="0.0" y="-13.0" r="0"></i> 
     
    966966                        <i x="-4.0" o="gravel" z="0.0" y="-11.0" r="0"></i> 
    967967                        <i x="-3.0" o="gravel" z="0.0" y="-11.0" r="0"></i> 
    968                          
     968 
    969969                        <i x="-2.0" o="snow02" z="0.0" y="-11.0" r="0"></i> 
    970970                        <i x="-1.0" o="snow02" z="0.0" y="-11.0" r="0"></i> 
     
    19491949            <i x="1" o="block" z="0.0" y="4" r="0"></i>             
    19501950            <i x="1" o="block" z="0.0" y="5" r="0"></i> 
    1951              
     1951 
    19521952            <!-- more block tiles --> 
    19531953            <i x="7" o="block" z="0.0" y="-4" r="0"></i> 
     
    19551955            <i x="8" o="block" z="0.0" y="-4" r="0"></i> 
    19561956            <i x="8" o="block" z="0.0" y="-3" r="0"></i> 
    1957              
     1957 
    19581958            <!-- There must be one and one only PC character --> 
    19591959                        <i x="0.0" o="PC" z="0.0" y="0.0" r="0" id="PC" object_type="PlayerCharacter"></i> 
    1960              
     1960 
    19611961            <!-- There can be any number of NPC characters --> 
    19621962            <i x="-4.0" o="npc_woman" z="0.0" y="-7.0" r="0" id="woman01" object_type="NonPlayerCharacter" 
    19631963                                text="A friendly woman"></i> 
    1964              
    1965              
     1964 
     1965 
    19661966                        <i x="-3.0" o="crate" z="0.0" y="-4.0" r="0" id="crate01" object_type="WoodenCrate" is_open="False" locked="False" name="asdf" 
    19671967                text="A crate that is covered in grime and dirt. There doesn't seem to be anything remarkable about it"></i> 
    1968   
     1968 
    19691969                        <!-- There can be any number of objects --> 
    19701970                        <!-- Object blocking is set in the objects own xml file --> 
     
    19721972                is_open="False" locked="False" name="A dirty old crate" 
    19731973                        text="A crate that is covered in grime and dirt. There doesn't seem to be anything remarkable about it"></i> 
    1974              
     1974 
     1975                        <!-- A sample door --> 
     1976                        <i x="-2.0" o="shanty-door" z="0.0" y="6.0" r="0" id="shanty-door01" object_type="ShantyDoor" is_open="False" 
     1977                                name="Shanty Door" text="Looks like the entrance to the building." target_map_name="main-map" target_map="maps/map.xml" 
     1978                                target_x="10.0" target_y="10.0"></i> 
     1979 
    19751980                </instances> 
    19761981        </layer> 
     
    19791984        </camera> 
    19801985</map> 
    1981  
Note: See TracChangeset for help on using the changeset viewer.