Ir para conteúdo

Extensions RME #2 (Walls)


SamueLGuedes

Posts Recomendados

p7ygVBL.png

 

Dando continuação aos tutoriais de RME, hoje irei ensinar a como adicionar uma Wall no Remere's, e também suas funções secundárias, como Portas e Janelas. para quem ainda não viu o primeiro tutorial "Extensions RME #1 (Grounds)", recomendo ver antes de começar este tutorial.

 

d1Ysvym.png

 

primeiramente, iremos escolher uma Wall, pegarei como exemplo a FrameWork Wall ID 1038, abra o arquivo walls.xml na pasta da versão desejada no RME. no script crie uma nova linha:

 

para criarmos a wall, precisamos entender as posições:

 

7qfix1o.png

 

 

 

<materials>

    <brush name="FrameWork Wall" type="wall" server_lookid="1050">

        <wall type="horizontal">

            <item id="1050" chance="500"/>

            <item id="1052" chance="0"/> -- This needs to be here for backwards compability --

            <item id="1058" chance="0"/> -- This needs to be here for backwards compability --

            <door id="6252" type="normal" open="false"/>

            <door id="6253" type="normal" open="false"/>

            <door id="6254" type="normal" open="true"/>

            <door id="6257" type="locked" open="false"/>

            <door id="6258" type="locked" open="true"/>

            <door id="6261" type="quest" open="false"/>

            <door id="6262" type="quest" open="true"/>

            <door id="6265" type="magic" open="false"/>

            <door id="6266" type="magic" open="true"/>

            <door id="6444" type="hatch_window" open="false"/>

            <door id="6446" type="hatch_window" open="true"/>

            <door id="1267" type="window"/>

        </wall>
<wall type="vertical">

            <item id="1049" chance="400"/>

            <item id="1054" chance="0"/> -- This needs to be here for backwards compability --

            <item id="1056" chance="0"/> -- This needs to be here for backwards compability --

            <door id="6249" type="normal" open="false"/>

            <door id="6250" type="normal" open="false"/>

            <door id="6251" type="normal" open="true"/>

            <door id="6255" type="locked" open="false"/>

            <door id="6256" type="locked" open="true"/>

            <door id="6259" type="quest" open="false"/>

            <door id="6260" type="quest" open="true"/>

            <door id="6263" type="magic" open="false"/>

            <door id="6264" type="magic" open="true"/>

            <door id="6445" type="hatch_window" open="false"/>

            <door id="6447" type="hatch_window" open="true"/>

            <door id="1268" type="window"/>

        </wall>

        <wall type="corner">

            <item id="1053" chance="1000"/>

            <item id="1055" chance="0"/> -- This needs to be here for backwards compability --

            <item id="1057" chance="0"/> -- This needs to be here for backwards compability --

            <item id="1059" chance="0"/> -- This needs to be here for backwards compability --

        </wall>

        <wall type="pole">

            <item id="1051" chance="1000"/>

        </wall>

    </brush>

 

 

 

Legendas:

 

 

Brush Name: será o nome que iremos dar a Wall, e que futuramente usaremos para adicionar ao RME.

Type: obviamente será Wall

Server_LookID: o ID da parede que será visível no Pallet.

Wall Type: terá 4 posições para a Wall como mostrado na imagem anterior, sendo elas: Horizontal, Vertical, Corner, Pole.

 

 

 

d1Ysvym.png

Wall Horizontal

Ykh3B4c.png

Começaremos pelo Horizontal:

 

 

<wall type="horizontal">
<item id="1037" chance="500"/>
<item id="1039" chance="300"/> -- This needs to be here for backwards compability --
<item id="5152" chance="200"/> -- This needs to be here for backwards compability --
<item id="5153" chance="300"/> -- This needs to be here for backwards compability --
<door id="1212" type="normal" open="false"/>
<door id="1213" type="normal" open="false"/>
<door id="1214" type="normal" open="true"/>
<door id="1221" type="locked" open="false"/>
<door id="1222" type="locked" open="true"/>
<door id="1225" type="quest" open="false"/>
<door id="1226" type="quest" open="true"/>
<door id="1229" type="magic" open="false"/>
<door id="1230" type="magic" open="true"/>
<door id="6436" type="hatch_window" open="false"/>
<door id="6438" type="hatch_window" open="true"/>
<door id="1263" type="window"/>
</wall>

 

 

 

Legenda:

 

 

Door ID / Item ID: o ID da Wall Horizontal

Chance: é a chance de ela ser colocada no mapa.

Type: o tipo da Porta, se ela será Normal, Locked, Quest, Magic, Hatch_Window, Window, como mostrado na imagem.

Open: se for fechada será False, se ela for aberta será True.

 

 

 

pronto, criou sua wall horizontal.

 

d1Ysvym.png

Wall Vertical

63gqRg1.png

 

Script da Vertical:

 

 

<wall type="vertical">

            <item id="1036" chance="400"/>

            <item id="5154" chance="0"/> -- This needs to be here for backwards compability --

            <item id="5155" chance="0"/> -- This needs to be here for backwards compability --

            <door id="1209" type="normal" open="false"/>

            <door id="1210" type="normal" open="false"/>

            <door id="1211" type="normal" open="true"/>

            <door id="1219" type="locked" open="false"/>

            <door id="1220" type="locked" open="true"/>

            <door id="1223" type="quest" open="false"/>

            <door id="1224" type="quest" open="true"/>

            <door id="1227" type="magic" open="false"/>

            <door id="1228" type="magic" open="true"/>

            <door id="6437" type="hatch_window" open="false"/>

            <door id="6439" type="hatch_window" open="true"/>

            <door id="1264" type="window"/>

        </wall>

 

 

 

Legendas:

 

 

Door ID / Item ID: o ID da Wall Vertical

Chance: é a chance de ela ser colocada no mapa.

Type: o tipo da Porta, se ela será Normal, Locked, Quest, Magic, Hatch_Window, Window, como mostrado na imagem.

Open: se for fechada será False, se ela for aberta será True.

 

 

 

agora está criado a sua wall vertical.

 

d1Ysvym.png

Pole and Corner

agora a parte mais fácil do tutorial, criar o Pole e o Corner da sua Wall.

40h2wZ5.png

 

Script do Pole and Corner:

 

 

<wall type="corner">

            <item id="1040" chance="1000"/>

        </wall>

        <wall type="pole">

            <item id="1038" chance="1000"/>

        </wall>

 

 

 

d1Ysvym.png

Adicionando ao RME

agora com sua wall criada, iremos adiciona-la ao RME. abra o arquivo Tilesets.xml, iremos adicionar na Pallet Terrain, e na TileSet Town:

 

 

 

<tileset name="Town">

        <terrain>

            <brush name="stone floor"/>

            <brush name="cobblestone"/>

            <brush name="dark cobblestone"/>

            <brush name="ugly cobblestone"/>

            <brush name="grassy cobblestone"/>

            <brush name="lawn"/>

            <brush name="wooden floor"/>

            <brush name="wooden floor (with border)"/>

            <brush name="pavement"/>

            <brush name="drawbridge"/>

            <brush name="dark wooden floor"/>

            <brush name="drab tiled stone floor"/>

            <brush name="dark tiled sandstone"/>

            <brush name="tiled sandstone floor"/>

            <brush name="tiled sandstone floor pressed"/>

            <brush name="tiled sandstone floor depressed"/>

            <brush name="light tiled stone floor"/>

            <brush name="dark tiled stone floor"/>

            <brush name="orange tiled floor"/>

            <brush name="dark sandstone"/>

            <brush name="sandstone"/>

            <brush name="white marble floor"/>

            <brush name="black marble floor"/>

            <brush name="gray stone tiles"/>

            <brush name="gray stone tiles pressed"/>

            <brush name="gray stone tiles depressed"/>

            <brush name="pyramid ramp"/>

            <!-- <brush name="wooden raft"/> -->

            <brush name="store counter"/>

            <brush name="plaster wall"/>

            <brush name="wooden archway"/>

            <brush name="damaged plaster wall"/>

            <brush name="plaster wall arch"/>

            <brush name="rope wall"/>

            <brush name="croft wall"/>

            <brush name="brick wall"/>

            <brush name="brick wall arch"/>

            <brush name="stone wall"/>

            <brush name="rock wall"/>

            <brush name="wood wall"/>

            <brush name="egypt wall"/>

            <brush name="egypt stone wall"/>

            <brush name="alabaster wall"/>

            <brush name="marble wall"/>

            <brush name="ruin wall"/>

            <brush name="wooden wall"/>

            <brush name="ornamented wooden wall"/>

            <brush name="low stone-wooden wall"/>

            <brush name="ornamented low stone-wooden wall"/>

            <brush name="high stone-wooden wall"/>

            <brush name="ornamented high stone-wooden wall"/>

            

            <brush name="fence"/>

            <brush name="dark fence"/>

            <brush name="steel bars"/>

            <brush name="steel rebar"/>

        </terrain>

    </tileset>

 

 

 

copie um Brush Name e adicione o nome que você deu a sua Wall no caso, FrameWork Wall, ficando:

<brush name="FrameWork Wall"/>

Pronto, salve e feche, e abra o RME, sua Wall estará pronta para ser usada.

U7ioaxo.png

 

d1Ysvym.png

Créditos

@SamueLGuedes (Por criar o Tutorial)

d1Ysvym.png

Declarações finais

espero que tenham gostado do tutorial, ao decorrer do tempo irei criando mais tutoriais como esse. dúvidas e sugestões podem comentar aqui mesmo, estarei aberto à criticas também.

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...