地圖

From DDraceNetwork
Revision as of 13:02, 28 July 2023 by Darkh (talk | contribs) (Created page with "* 对于延时开关按钮,Delay 表示开关会在触碰多少秒后复位。(事实上说成复位不太准确,应该说是变成按钮设置相反,例如一个三秒的关闭按钮,假设控制的元件本身是关闭的,玩家触碰按钮后会保持关闭状态,玩家离开按钮的三秒后会变成开启状态。) * 对于时间奖惩实体,这个值表示以分钟为单位增加或者减少的时间,而上方的数值则以秒为单位。 *...")
此條目仍需進行內容補充,您可以幫助我們編輯和修訂以擴充其內容。
遊戲層實體示例

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 按鈕來改變此層的一些選項:

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


變速層

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

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

  • Force: 設置玩家處於變速帶時附加的加速度。
  • Max Speed: 設置玩家處於變速帶時的速度上限。數值為 0 時不限速,可以作為發射器。
  • Angle: 設置加速角度,0 為向右,90 為向下,用滑鼠左鍵上下拖拽數值,或使用加減按鈕可以選擇上下左右和斜向共八個角度。按住⇧ Shift用滑鼠左鍵上下拖拽數值,或者直接右鍵數值輸入可以精準地控制360度。


開關層

此圖層包含了開關以及可以用開關控制的實體,分為臨時改變和永久改變兩種;同時還可以設置凍結區域的凍結時長。

在控制雷射門和錘擊、凍結、武器等時非常有效。

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


數字(Number)

  • 對於所有開關按鈕,相同的Number序號確定開關和控制元件的對應關係。
  • 對於時間獎懲區域,Number表示直接給玩家的跑圖記錄增加或減少多少秒。
  • 對於開關層放置的雷射門和武器、凍結區域、深度凍結區域、愛心、護盾、凍結子彈發射器、解凍子彈發射器、凍結雷射,Number 序號將它們和相同序號的開關關聯,能通過開關實體控制其開啟或關閉。
  • 和傳送層類似,你可以按下F按鍵自動切換到未被使用的序號。


延遲(Delay)

  • 對於延時開關按鈕,Delay 表示開關會在觸碰多少秒後復位。(事實上說成復位不太準確,應該說是變成按鈕設置相反,例如一個三秒的關閉按鈕,假設控制的元件本身是關閉的,玩家觸碰按鈕後會保持關閉狀態,玩家離開按鈕的三秒後會變成開啟狀態。)
  • 對於時間獎懲實體,這個值表示以分鐘為單位增加或者減少的時間,而上方的數值則以秒為單位。
  • 對於跳躍調整區域,這個值表示玩家能夠擁有的跳躍次數總數,值得注意的是玩家跳躍次數為 0 時仍舊可以在阻滯器上起跳。
  • 對於開關層的禁用玩家武器區域,這個值影響觸碰到該區域的玩家所禁用的武器種類,0為錘子,2為散彈,3為榴彈,4為雷射(注意在遊玩時 Delay 值為 0 的這個方塊和遊戲層的全武器禁用方塊長得一樣)。
  • 對於開關層凍結區域,這個值表示接觸的玩家會被凍結多少秒。
  • 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.


另見


參考文獻