跳到正文

LegendQuest: WadCraft

作者:sablednah

Walk into E1M1. WadCraft reads Doom WAD files and builds their maps as Minecraft structures, in seconds, with one command. Also usable as an API Library.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

WadCraft

WadCraft

Walk into E1M1. WadCraft reads Doom WAD files and builds their maps as
Minecraft structures, in seconds, with one command.

Drop a WAD on your server, type /wadcraft build freedoom1.wad E1M1, and you
are standing on the player start, facing the way Doom faces you, with the level
built around you: rooms, corridors, stairs, windows, outdoor yards, the lot.

Server-side only. WadCraft places ordinary blocks, so players with an
unmodded client see everything it builds. Nothing to install on the client.

A whole Doom level, built in Minecraft


What you get

  • The level’s real shape. Every floor and ceiling height, sealed walls,
    rooms open to the sky where Doom has sky.
  • Colours from the WAD itself. Every wall texture and floor is matched to the
    Minecraft block nearest its average colour, read straight from the WAD’s own
    palette and graphics. Any WAD, even one nobody has seen before, builds in the
    right colours without a single table being written.
  • Stairs you can walk up. Floors are worked out to the half block: small
    steps become slabs, and a slab beside a higher floor becomes a stair facing
    up it.
  • Toxic floors are lava. Wherever Doom hurts you for standing (nukage,
    slime), you get lava, in pools that cannot spill. Where lava could run out,
    it becomes magma.
  • Doors are open, lifts have ladders, so the whole level can be walked.
  • The level’s own lighting, using invisible light blocks at each area’s
    brightness.
  • Every opening a Doom player can walk through is walkable. Each build is
    checked against that rule across hundreds of maps, so you will not get stuck
    under a lintel that was fine in Doom.
  • Nothing in a build can burn, so a lava pool next to a wooden floor will
    not take the level down with it.
  • Big maps do not freeze the server. Builds are placed a slice per tick, with
    progress shown as they go.
  • Undo. /wadcraft undo puts back whatever your last build replaced.

A lava hall

A lit corridor

A cave with lava

A pillared room

A star-shaped courtyard, from above

Commands

All commands need operator permission.

Command What it does
/wadcraft list the WAD files in the server’s wads folder
/wadcraft maps <wad> the maps in one WAD; click a map to build it
/wadcraft info <wad> <map> how big a map will be, before you build it
/wadcraft build <wad> <map> build it where you stand
/wadcraft build <wad> <map> look build it on the block you are looking at
/wadcraft undo put back what your last build replaced
/wadcraft cancel stop builds in progress

Add a number at the end of build to change the scale: it is Doom units per
block, 32 by default (a Doom player is about the height of a Minecraft one), and
16 builds everything twice the size.

The map turns to face the way you are facing, to the nearest quarter turn.


WAD files

WadCraft contains no Doom data and ships none. You bring the WADs.

  • Freedoom (freedoom.github.io) is free to download, use and share. It
    is the easiest place to start: two full games of maps.
  • The original Doom WADs work too, including the shareware episode, Doom II,
    Plutonia and TNT. They are not yours to give away, so keep them on your own
    server.
  • Custom maps (PWADs) work. A custom map with no textures of its own borrows its
    colours from a main game WAD in the same folder.
  • Doom and Hexen format maps are supported. UDMF (text format) maps are not yet.

Put the files in the wads folder in your server’s main folder (it is created
the first time the server starts). In single player, that is your game instance’s
folder.


Customising

config/wadcraft/blocks.json lets you choose the block for any texture or flat
by name, with * as a wildcard. Want a wood floor after all, or glass where the
computer panels are? One line each. You can also change the block used for toxic
floors.


For mod and pack developers

WadCraft is a library as much as a mod. Everything is in one class,
WadCraftApi: read a WAD from a file or from bytes you carry yourself, get the
block layout without placing anything, or build a map at any position and
rotation and be told when it finishes. The source and an example are on GitHub.


Not yet

  • Monsters, items and keys
  • Doors and lifts that move (doors are built open, lifts get ladders)
  • UDMF maps

For Minecraft 1.21.11, 26.1.2, 26.2 and 26.3 on NeoForge. MIT licensed.
Source: https://github.com/Sablednah/WadCraft

常见问题

LegendQuest: WadCraft 支持哪些 Minecraft 版本?

LegendQuest: WadCraft 支持 Minecraft Java 版 1.21.11–26.3,共 4 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

LegendQuest: WadCraft 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

sablednah 的其他作品

查看全部 →