Map/zh: Difference between revisions

From DDraceNetwork
(Created page with "此图层只有一种实体:变速带。")
(Created page with "在顶部工具栏,你可以按下 Speedup 按钮来改变此层的一些选项:")
Line 44: Line 44:
此图层只有一种实体:变速带。  
此图层只有一种实体:变速带。  


<div lang="en" dir="ltr" class="mw-content-ltr">
在顶部工具栏,你可以按下 Speedup 按钮来改变此层的一些选项:
In the top toolbar, you can press the Speedup button while this layer is selected to change these options:
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 10:06, 28 July 2023

此條目仍需進行內容補充,您可以幫助我們編輯和修訂以擴充其內容。
遊戲層實體示例

DDNet客戶端允許玩家創建和編輯可供遊玩的地圖

地圖通常包含多組圖層組,下面是詳細介紹:


Quads layer

This layer allows mappers to show standalone graphics in the map, most commonly used to set backgrounds and create parallax effects. They can be positioned statically or follow the player. You can create multiple quad layers in a single map.


遊戲層

此圖層包含了絕大部分遊戲可以互動的實體,你可以在此頁面找到它們的特性解釋。


覆蓋層

此圖層所含實體在遊戲層中幾乎都能找到,只有幾個例外。地圖作者利用此圖層可以將兩個遊戲層實體疊放在同一個位置上。


傳送層

此圖層包含所有傳送相關實體。

在頂部工具欄,你可以按下 Tele 按鈕來改變此層的一些選項:

  • 傳送:傳送區域會通過序號相互關聯,使用{keypress F}按鍵可以自動換為未使用的序號。


變速層

此圖層只有一種實體:變速帶。

在頂部工具欄,你可以按下 Speedup 按鈕來改變此層的一些選項:

  • Force: The force that will applied to your current speed. A minimum of 1 is required to place a speedup tile.
  • Max Speed: A value that limits the maximum velocity of your tee while inside the tile. Keep this at 0 to simply use the speedup tile as a launcher.
  • Angle: Angle at which the speedup tile will launch you. 0 is actually 90° (aiming to the right). By this logic, 180 will make the speedup tile face to the left. It can be adjusted in increments of 45 to hit all directions as well as all diagonals, and you can set a specific value as well.


Switch layer

This layer contains switches that can enable and disable other tile functionality temporarily or permanently or change their behavior such as increasing the time a tee is frozen.

This is specially useful to use with doors, hammer hit, freeze and weapons.

In the top toolbar, you can press the Switch button while this layer is selected to change these options:


Number

  • For all buttons, this number will change what tiles it affects.
  • For bonus and penalty tiles, this number represents the number of seconds to subtract from or add to a player's race time.
  • For switch layer doors, weapons, freeze, deep freeze, hearts, shields, bullets, plasma turrets, and all laser types, this number corresponds to which buttons turn the tile on and off.
  • Similarly to the Tele layer, you can press the F button to select an unused number.


Delay

  • For timed buttons only, this number changes how many seconds the button state will change before reverting to its previous state.
  • For bonus and penalty tiles, this number represents the number of minutes to subtract from or add to a player's race time.
  • For jump tiles, this number sets the number of jumps a player has. Note that if a player stands on a stopper tile, they can still jump even if this number is set to zero.
  • For switch layer hit on/off tiles, it modifies which weapon it allows/disallows hitting for: 0 - hammer, 2 - shotgun, 3 - grenade, 4 - laser
  • For switch layer freeze tiles, this number adjusts how many seconds tees will be frozen for.
  • For telegun tiles (index 98 and 99), it modifies which weapon it affects: 0 - all weapons, 1 - pistol, 2 - grenade, 3 - laser[1]


How to use doors with lasers

First, select an unused Switch number, then select the Door tile and place it at both extremities of where you want your door to be. Then, place Laser Length tiles of the appropriate length next to each of the two door tiles. The door will be activated by default. Place a Switch Deactivate tile with the same switch number to let players open the door. You can then place Switch Activate tiles after the door to make players close the door behind them. Alternatively, you can use Time Switch Deactivate and use the Delay option to make the door open, and then close after the allocated number of seconds.


Tune layer

This layer, used with server map commands, is used to define areas to apply said server map commands.

With this layer you can achieve things like lower gravity, stronger shotgun pull, increased weapon fire rate, etc.


Tile layer

This layer allows mappers to add graphics for the tiles in the map. By default, players cannot see your map unless you include tile layers, or if the player has cl_overlay_entities enabled. You can create multiple tile layers in a single map.


See also


References