Code Search for Developers
 
 
  

alpha-room.xml from Riot in Emerald city at Krugle


Show alpha-room.xml syntax highlighted

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE apartment SYSTEM "data/grammars/apartments.dtd">

<apartment id="zezelic">

    <!-- Dnevni -->
    <room default-cam="0">
        <position x="0" z="0"/>
        <size width="100" height="50" depth="140"/>

        <door id="door-room2" wall="east">
            <door-pos origin-displacement="85"/>
        </door>

        <door id="door2" wall="north">
            <door-pos origin-displacement="55"/>
        </door>

        <furniture model="vratam" name="apartment door">
            <position x="70" z="139" y="1"/>
        </furniture>

        <furniture model="vratad" name="bathroom door">
            <position x="99" z="100" y="1"/>
            <rotation y="90"/>
        </furniture>


        <furniture model="telescreen" name="telescreen">
            <position x="1" z="70" y="30"/>
            <rotation y="90" x="180" z="180"/>
        </furniture>

        <furniture model="stolic" name="small table">
            <position x="12" z="124" y="1"/>
            <rotation y="90"/>
        </furniture>

        <furniture model="credit-card" name="Foods credit card">
            <position x="10" z="130" y="13"/>
            <rotation x="90"/>
        </furniture>

        <furniture model="tablamp" name="tablamp">
            <position x="10" z="120" y="13"/>
        </furniture>

        <furniture model="fotelja" name="chair">
            <position x="88" z="68" y="0"/>
            <rotation y="-90"/>
        </furniture>

        <furniture model="vitrina" name="shelfcase">
            <position x="14" z="24" y="1"/>
            <rotation y="90"/>
        </furniture>

        <furniture model="konpjutor" name="computer">
            <position x="10" z="30" y="19"/>
            <rotation y="-90"/>
        </furniture>

        <furniture model="wallet" name="Corey's wallet">
            <position x="10" z="10" y="19"/>
            <rotation y="-90"/>
        </furniture>

        <furniture model="polica" name="shelf">
            <position x="50" z="5" y="35"/>
            <!--<rotation y="90"/>-->
        </furniture>

        <furniture model="polica" name="shelf">
            <position x="50" z="5" y="25"/>
        </furniture>

        <!--<furniture model="vitr2">-->
        <!--<position x=""-->
        <!--</furniture>-->
    </room>

    <!-- Spavaca -->
    <room default-cam="0">
        <position x="100" z="0"/>
        <size width="70" height="50" depth="70"/>
        <door id="door3" wall="north">
            <door-pos origin-displacement="34"/>
        </door>
        <furniture model="vratad" name="bathroom door">
            <position x="50" z="70" y="1"/>
        </furniture>

        <furniture model="krevet" name="bed">
            <position x="48" z="24" y="0"/>
        </furniture>

        <furniture model="ormar" name="wardrobe">
            <position x="15" z="42" y="0"/>
            <rotation y="90"/>
        </furniture>
    </room>

    <!-- Kupatilo -->
    <room default-cam="3">
        <position x="100" z="70"/>
        <size width="70" height="50" depth="70"/>
        <texture wall="floor" texturefile="images/wc.png" scale-x="6" scale-y="6"/>
        <texture wall="frontwall" texturefile="images/plocice-plave.png" scale-x="8" scale-y="8"/>
        <texture wall="backwall" texturefile="images/plocice-plave.png" scale-x="8" scale-y="8"/>
        <texture wall="leftwall" texturefile="images/plocice-plave.png" scale-x="8" scale-y="8"/>
        <texture wall="rightwall" texturefile="images/plocice-plave.png" scale-x="8" scale-y="8"/>

        <door id="door4" wall="west">
            <door-pos origin-displacement="15"/>
        </door>
        <door id="door4" wall="south">
            <door-pos origin-displacement="34"/>
        </door>

        <furniture model="tus" name="shower">
            <position x="50" z="50" y="0"/>
        </furniture>
    </room>

    <!-- Hodnik -->
    <room default-cam="0">
        <position x="0" z="140"/>
        <size width="300" height="50" depth="50"/>
        <texture wall="floor" texturefile="images/plocice-hodnik.png" scale-x="3" scale-y="10"/>
        <door id="door2" wall="south">
            <door-pos origin-displacement="55"/>
        </door>
        <door id="door2" wall="east">
            <door-pos origin-displacement="10"/>
        </door>
    </room>

    <!-- Ulaz u zgradu -->
    <room default-cam="0">
        <position x="300" z="140"/>
        <size width="150" height="80" depth="150"/>
        <texture wall="backwall" texturefile="images/cigle1.png" scale-x="5" scale-y="5"/>
        <texture wall="frontwall" texturefile="images/cigle1.png" scale-x="5" scale-y="5"/>
        <texture wall="frontwall" texturefile="images/cigle1.png" scale-x="5" scale-y="5"/>
        <texture wall="rightwall" texturefile="images/cigle1.png" scale-x="5" scale-y="5"/>
        <texture wall="floor" texturefile="images/kamene-cigle.png" scale-x="8" scale-y="8"/>

        <door id="door2" wall="west">
            <door-pos origin-displacement="10"/>
        </door>

        <furniture model="vratam" name="entrance door">
            <position x="0" z="24"/>
            <rotation y="90"/>
        </furniture>

        <furniture model="atm" name="Foods ATM">
            <position x="20" z="120" y="16"/>
            <rotation y="180"/>
        </furniture>

        <furniture model="atmv2" name="Luxs ATM">
            <position x="120" z="20" y="0"/>
            <rotation y="-90"/>
        </furniture>
    </room>
</apartment>




See more files for this project here

Riot in Emerald city

Cyberpunk third-person 2100. noir RPG thriller using JMonkey. Its going to be mix between Bloodnet, Neuromancer, DeusEx in gameplay, with pieces of Uplink and many other mini-games for dealing with variety of tasks (lockpicking, hacking...)

Project homepage: http://sourceforge.net/projects/riot-in-ecity
Programming language(s): Java,XML
License: other

  grammars/
    apartments.dtd
    image-data.dtd
    items.dtd
    storage.dtd
    storage.g
    users.dtd
  alpha-room.xml
  exe-man.props
  images.xml
  items-configuration.xml
  riot-theme.mid
  shellbuiltin-man.props
  test-room.xml
  test-storage.xml
  test-storages.ss
  test-users.xml