Valve Hammer 编辑器

From Valve Developer Community
< Zh
Jump to: navigation, search
English (en)Deutsch (de)Español (es)한국어 (ko)Português do Brasil (pt-br)Русский (ru)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)Translate (Translate)
link =
This translated page needs to be updated.

You can help by updating the translation. Also, please make sure the article tries to comply with the alternate languages guide.

This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.


Icon-broom.png
此物品需要清理以符合更高的质量标准,因为:
Needs more information regarding its origins as a mapping tool for Quake and versions before 3.x.
如需帮助,请参阅 VDC 编辑帮助维基百科清理过程。另外,请记住在本文的讨论页检查标记者留下的任何笔记。
Hammer icon.png

Valve Hammer 编辑器 (非正式名称为Hammer, 之前被称为 Worldcraft) 是 Goldsource(en)Source(en) 引擎(大多数较新的Valve游戏都在其基础上运行)的官方地图编辑工具。它也被包含在所有起源引擎制作的非模组游戏中。在本页面中记录了此地图编辑工具的历史。

版本历史

Icon-broom.png
This article or section needs to be updated to include current information regarding the subject。
Remember to check for any notes left by the tagger at this article's talk page.

在开发初期命名为 The Forge (直到1996/09/12) 在半衰期半衰期 半衰期的发行版CD中被称为 Worldcraft, Valve Hammer Editor 3.x金源引擎的(en) 官方地图编辑工具. 此程序可在Steam上(Half-Life SDK) 和其他某些网站上获得.

Beta版

版本 发布日期 更新介绍
0.920 1996/09/20 修复:

Fixed a lot of Direct3D crashing bugs. I hope this helps some people. Unfortunately, it won't help people with Matrox cards.

  • Worldcraft no longer creates "duplicate brush planes", which QBSP would often complain about.
  • "Select All" and the box selection would select objects that were not visible. Fixed.
  • Shearing the selection was all wrong. Fixed.
  • The 500 solid limit is removed.
  • Entity keyvalues were removed if Smartedit didn't know about them - this wasn't part of the original design, but uh - someone slipped the code in there. Or something. Anyway, that's fixed.
  • Fixed pasting & object creation. New objects are now created in the current 2D view (of course), and are centered in the next most recently used view.

新功能:

  • Added FULL textured preview. The textures in this preview are properly aligned, properly rotated and properly scaled. A huge thank you goes to Alex Moon ([email protected]) for giving me the Direct3D code to calculate the texture coordinates based on Quake information.
  • Added new edit mode: "Apply textures mode." Click the funny looking pencil-block icon on the left to activate it. When you're in this mode, all you can do is select faces in the 3D view and edit their textures and offset/rotation/scaling information.

(Sidetrack: I am adding a "Vertex/face manipulation mode." Watch for it in the immediate future!)

How to use this: - Click on a face to select/deselect it. - Hold down CTRL to select multiple faces. - Hold down Shift to select/deselect all of a solid's faces. SHIFT must be combined with CTRL to select multiple solids' faces.

When you enter the mode, a dialog box is displayed that contains info about the currently selected faces. Modify the info and hit APPLY to make it permanent. Hit REVERT to restore the original information. While you're in this mode, you can still use the other tools - magnify, camera, etc. However, you MUST select the pointer tool to select more faces. Also, You can use Edit|Clear Selection to deselect all faces.

  • Hold down SHIFT to make the right mouse button move forward/backward in the 3D view with the camera tool.
  • Added support for multiple texture files. Configure this using Tools|Options. NOTE: If you use more than one texture file, you MUST use a version of QBSP that supports multiple texture files.
  • Added "Hide Items" menu selection. This toggles the display of items: Monsters, Guns, & so on.
  • Added a spike/cone primitive.
  • Added the ability to select the number of faces to create on a cylinder/spike.
  • Added the ability to add solids to an existing solidentity. Select the solids you want to add and the entity you want to add them to, select 'toEntity', and Worldcraft will ask you if you want to combine the solids & the existing entity or create a new entity.
  • Added mouse scroll feature for the 2D views. Hold down SPACE and left-click-drag to drag the view around. It doesn't track perfectly yet, but it will.. oh, it will.
  • The Texture Browser now initially selects the texture that is selected on the Texture Bar.
  • Added preset zooms - the 1 thru 9 keys now zoom out->in.
  • Added the ability to save only the visible parts of a MAP. This is very useful for cutting down on QBSP/LIGHT time. Select File|Export to Quake MAP, and click on "Save Visible Objects Only."
  • The size of the selected objects is now displayed on the status bar.
  • Added gamma-correction keys. CTRL+Home makes textures brighter, and CTRL+End makes textures darker. You can also change this setting with Tools|Options.
  • Added color to the game definition file. Now, different objects appear different colors.
  • Upped face limit to 120. Also reduced memory requirements for Solids: In the previous version, 16 faces were allocated for each solid regardless of how many were actually used. The new version allocates faces as necessary in blocks of six: this means big memory savings, at a small performance price.
1.007 1996/10/07 修复:
  • Fixed disappearing dialog box text
  • Installation program now uses a standard method to read the Win95/NT4 Start Menu Directory. Previous version had problems with NT4 and international versions of 95.
  • Installation program will now create directories of any depth, such as:

d:\program files\worldcraft, even if d:\program files\ does not exist.

  • Texture brightness can now be brighter.
  • Fixed inability to re-enable 3D views once they'd been disabled.
  • Restructured menus a bit - in particular, the "View" menu now contains the Map View 2d/3d commands.
  • You can now move the mouse into a view to move the keyboard focus to that view.
  • Single-entity selections are no longer resizable - you can just move them.
  • Alignment tools were reversed sometimes.. fixed.
  • Fixed problems loading commented MAP files.. again. Improved file error handling.
  • The carve function now uses the appropriate texture for new faces.
  • Export to Quake MAP and Run MAP in Quake crashed if the map was not already saved.
  • Fixed some object coloring problems.
  • Face texture scale values were not always properly saved, because Worldcraft neglected to save the fractional portion of a floating point value: 1.5 would be saved as 1, for example, and 0.5 as 0. Oops!
  • Some custom texture files did not load properly.. fixed.
  •  !!! Fixed "Carve" bug that caused leaks !!!

新功能:

  • Added "2d views" tab to configuration dialog. New options: No Scrollbars, Crosshair Cursor, 15 degree default rotation.
  • Added 'map info' function to display the number of solids, entities and faces in the map.
  • Added function to center all 2D views on the currently selected objects. Use View|Center on Selection, or Ctrl+N.
  • Added more functionality to the Run Map dialog. You can now specify LIGHT -extra, QBSP -onlyents, and "Save Visible Objects Only."
  • Added "make hollow" tool. This turns each selected solid into a group of solids that forms a hollow object. For example, you can create a cube, select Tools|Make Hollow (or press CTRL+H), and Worldcraft will create a series of solids that form a hollow cube. You can do this with any shaped object: blocks, cylinders, spikes, or whatever. Worldcraft will ask you to specify the width of the walls.
  • Customized QBSP included with Worldcraft. Supports up to 64 solid faces, and will work with multiple texture files. No need to download anythin' else.
1.022 1996/10/22
1.030 1996/10/30 修复:
  • Problems with QBSP and paths with spaces (such as "program files", ironically!) are fixed. This caused crashes within QBSP, so the Run Map feature didn't work.
  • Problems with some crappy 3D cards (no offense!) worked-around. If you have a Matrox Millenium, a Stealth 3D, or another crappy 3D card(again, no offense! :) use Tools|Options|3D views and select "No Hardware Acceleration." Don't load any maps before you do this.
  • Textured display on pasted objects was all wrong in some cases. Fixed.
  • I find it hard to believe I never caught this before.. but the closing line for every polygon in the 2D view was not being drawn. Huh???
  • Carving with "Filter by Groups" made the results of a carve disappear. Fixed.

新功能:

  • Added "Paste Special" feature. This is pretty handy - it allows you to specify the number of copies to paste, and an accumulative offset/ rotation vector to modify each pasted object.
  • Added "Draw Vertices" option in the 2d views configuration tab. Use Tools|Options to configure Worldcraft!
  • Made small solid handling much better: it's easier to move/modify tiny (4x4x4, for example) solids.
  • Improved visual response when modifying objects: cursor changes to reflect the handle the cursor over in move/scale and shear modes.
  • Now using a proper method to get the Quake/Maps directory in Tools|Options|General.
  • Added spin button controls to the texture application toolbar. Clicking these updates the textures right away - there's no goin' back! (Until I implement Undo .. what a nasty feature that is.)
  • Important: The file (MAP(en)/RMF(en)) is now ALWAYS saved when you select "run map."
1.031 1996/10/30

On December 9th Ben Morris announce plans for Unreal support.

修复:

  • Fix for qbsp.exe that would crash light.exe (rad.exe)
??? 1996/11/23
  • A beta of the help file is released.

Worldcraft 1.x

版本 发布日期 更新介绍
1.0 1996/12/03

The full version of Worldcraft was released, the price for the full version was $34.95. Worldcraft was initially distributed by Wikipedia icon ACDSystems. Registered users would receive updates via mail on CD's. Some CDs were not shipped before January 6, 1997.

新功能:

  • Added multiple, unlimited Undo/Redo! Configure the levels of Undo you want to save in Tools|Options. Remember - the higher you go, the more memory this feature will take up. (It is quite a hog in some cases.)
  • Added more color difference to objects (monsters, etc), and added some missing attributes to some objects.
  • Alt+A and Alt+S also change the grid size.. people with non-english keyboards/Win95 installs couldn't use [ and ] (which still work for those who can use them.)
  • Added better multi-pick feature. The 3D view works the same way as before - hold down the left button to cycle thru the "hit" objects.

The new feature is the use of the , and . keys to cycle backwards and forwards in the Hit List. This also works with 2D views - the left button adds all the "hit" objects to the Hit List, and you can use the PGUP and PGDN keys to cycle thru the objects. Again, hold down CTRL *before* you click to keep the current selection.

  • Added combobox to the Angle field in the Object Properties dialog that contains "Up" (angle -1) and "Down" (angle -2).. just a convenience.
  • The Paste Special dialog now saves the info through sessions.
  • Added the ability to hollow "outwards." If you enter a negative number in the wall width field of the Hollow dialog, the resultant room will be that width larger than the original solid.
  • Carving one object no longer groups that object.
  • Added a window that displays the output of QBSP, LIGHT and VIS before Quake is run. It's ugly right now, but it works! The program text appears in chunks, but the programs aren't actually much slower than they normally are (maybe 99% of normal speed.) Will be improved.
  • Added a Clear Flags button to the Flags tab of the Object Properties dialog.
  • Added "temporary invisibility" feature. Select some objects, and use View|Hide Selected Objects to remove them from view. This is totally independant of the Filter Control and VisGroups. To re-display ALL the hidden objects, use View|Show Hidden Objects.
  • Added a Map Error Checker. The errors it checks for are currently:

- no player 1 start - solid has mixed face contents. - object whose 'target' value has no matching 'targetname' in another object Use Map|Check for Problems or Alt+P to access it.

  • Added "show connections" feature to the View menu. When ON, the 2D views display lines from targets to their triggers.
  • The "round face limit" of cylinders and spikes is now 32.
  • Compiling under DirectX3 now. Might fix up some problems.
  • Added Threewave Capture the Flag entities. They are: item_flag_team1, item_flag_team2, info_player_team1, info_player_team2 To use these items, you must install the Threewave CTF patch. Get it from http://quake.threewave.com/
  • Added flip (mirror) command. This is relative to the last active 2D view. Use Tools|Flip|Horizontal/Vertical. Hotkeys - Horizontal: CTRL+L. Vertical: CTRL+I.

修复:

  • Fixed problems with loading MAPs - loading once and then loading again produced an error that wasn't really there.
  • Fixed a crash-on-exit bug specific to the last version.
  • No more MaxTextures problem.. the limit is now 8192 textures.
  • If there was an error with the syntax in QUAKE.FGD, Worldcraft would say "There is an error", but fail to report the error message. This has been fixed.
  • The toEntity feature would display point-entity classes in the object properties dialog. This has been fixed: now, only solid-entity classes are displayed (as is proper.)
  • Using Paste Special's rotate feature with group/entity objects really did not work. Fixed.
  • FINALLY got the edit field in the Object Properties dialog box to look right.
  • Dragging an object past the scroll borders of a map really screwed up the display. Fixed.
  • Invisible objects are no longer carved.
  • AUGH. RMF files did not save the information I carefully cultured for faces in 10/22 that prevents leaks (cutnodeportal errors).. this is fixed. How annoying.
  • Fixed misalignment problems with 90/180/270/360 degree rotations.
1.0a 1996/12/05

修复:

  • IMPORTANT: Selection hit List cycle keys changed to PGUP and PGDN.
  • You can now use the . and DEL keys in the face properties bar (that is, you can enter decimal values.)
  • Old-style Cut/Copy/Paste shortcuts work again, as does the popup mouse menu.
  • Couple little UI-caused crashes fixed.
  • The "go" button in the Map Check dialog didn't "go" to duplicate plane errors. Fixed.
  • Setup program didn't install VIS and LIGHT.. oops.
1.0b 1997/02/15
1.1 1997/01/27 修复:
  • The .PTS file is now copied to the maps directory, instead of the Quake directory (which was incorrect.)
  • The Remove button in the VisGroups editor works now.
  • Pressing Ctrl+Z too many times would introduce instabilities, and Worldcraft would often crash. Fixed.
  • More UI things changed and some other crashes fixed.
  • Fixed a bug with the selection box that disallowed resizing.

新功能:

  • Added White On Black color scheme for the 2D windows. Use Tools|Options|2D views to select it.
  • Added highlighted gridlines every 10 grid units.
  • Sped up 2D drawing.
  • Added option to reverse mouse Y axis in the 3d views - just like a flight sim.
  • Added default grid size option in Tools|Options|2D views.
1.1a 1997/02/20 修复:
  • Broke Visgroups in 1.1 - fixed.
  • Paste Special accepted only positive numbers using the keyboard - fixed.
  • Problems with the 3D view being updated after manipulating solidentities fixed (improperly textured objects, duplicate objects in the 3D view only, etc.) This also caused big memory leaks, which are now fixed.
  • More errors in quake.fgd fixed.
  • Point-entities (player starts, etc) are now snapped to the grid at their centerpoints if you move one at a time.

新功能:

  • You can now move objects by click-and-dragging them in one step.
  • You can COPY objects while moving them by holding down SHIFT before you release the left mouse button.
  • New feature - Snap Marked Objects To Grid - use the TOOLS menu or CTRL+B. This feature does not modify the size of the objects or their relative positions.
1.2 1997/02/25

On July 14, 1997, Valve hires Ben Morris and acquires Worldcraft. They did so with the intent to use it for the development of Half-Life and later release it with Half-Life.

1.3
  • Added Vertex manipulation
1.5 1997/09/05

新功能:

  • Vertex Manipulation: Vertex manipulation allows you to move each point on a solid independently of the other points. You can even modify multiple points on multiple solids at the same time! To use vertex manipulation, select the vertex tool from the toolbar. Before you can modify a solid's points, you have to select the solid into morph mode by clicking on it in the 2D (center handle only) or 3D views. You can select multiple objects by holding down CTRL before you select it. To select a vertex and move it, click the left mouse button over it. To select multiple vertices, hold down CTRL and click. You can use a selection box as well - just drag out a box, size it to the vertices you want to select, and press ENTER.
  • Display Mode: You can select to display only edge handles, only vertex handles, or both kinds of handle by pressing Shift+V or clicking on the vertex tool icon repeatedly.
  • Face Splitting (Registered Only): You can split a face into two by selecting just TWO edges or two vertices and pressing CTRL+F. You can't select an edge and a vertex to split.
  • Clip plane: The clipping plane allows you to cut an object (or objects) along a 2D plane. To use it, select the objects you want to clip. Then press Shift+X or select the clip tool from the toolbar. Left-click in the 2D view you want to use to clip and drag out the line you want to cut with. Release the left button. A preview of the "clipped result" is drawn with thick lines in the 2D views. You can move the line around by holding CTRL and dragging it. This moves both points instead of just one. Hold down SHIFT and click-drag to start over in a new view.
  • Clip Mode: You can change the clip mode by pressing Shift+X or clicking on the clip tool repeatedly. There are three modes: Clip Left, Clip Right, and Split. The first two modes just toggle which side of the original object is kept - left or right - and the third mode splits the original object into two objects. Remember that you can clip multiple objects at once - just select multiple objects before you go into clip mode.
  • Texture locking: When texture lock mode is ON, moving solids around keeps their texture alignment intact. Rotating objects doesn't keep their alignment - yet. To toggle texture lock, press Shift+L or select "Texture Lock" from the TOOLS menu.
  • Redone Visgroups: Visgroups are now actually usable. They work very differently from before - the "Hide Objects" button on the toolbar creates a new visgroup, puts the selected objects in that visgroup, and hides it. The group is named "N objects", where N is the number of objects that were hidden. Conversely, "Hide Unselected Objects" puts all the objects that are not selected into a new visgroup and hides it. Objects can now only be part of ONE visgroup. This new method takes a little bit of getting used to - it makes Visgroups a temporary method of organizing hidden objects instead of a long-term strategy since the groups are so frequently broken up and destroyed. To toggle the display of an existing visgroup, click just to the left of its name in the filter control. The hand icon will appear or disappear to show if the group is visible or not. You must click APPLY for the changes to take effect. The "Show All Groups" button displays all the Visgroups. The new Filter Control allows you to do several group operationswith the mouse:

- you can combine a group with another group by click-dragging it over the destination; - you can delete a group by dragging it out of the listbox - you can rename a group by selecting it and then clicking it again in the listbox.

  • Texture browser features: The texture browser has some new features. The name filter allows you to specify multiple search phrases, separated by spaces. For example, "floor 1" will display all the textures that have the words "floor" and "1" in them. The filter list is now saved in a pull-down box, so you can quickly recall previous filters. The MARK button marks all the solids that use the currently selected texture. The REPLACE button brings up the texture replace dialog and fills in the "Search" field with the currently selected texture.
  • Select by handles: The 2D and 3D Wireframe views now display an X in the middle of every object to ease selection. This is especially useful in 3D Wireframe mode, where it was difficult before to tell which object was going to be selected (since you can see through them all!) You can toggle 2D selection ONLY by center handles by clicking "Select By Handles" on the toolbar (this option is also available in the Tools|Options|2D Views dialog.)
  • Multiple cameras: You can now create multiple persistent cameras. Hold down Shift and left-click-drag to create a new camera in a 2D view. If there are objects selected, the camera will be placed on the center of the objects in the third axis (the "depth" axis of the 2D view you create the camera in.) More changes:

- the active camera (drawn with a red line) moves in 2D when the 3D position changes. - press DEL to delete the active camera. - press PGUP and PGDN to cycle through the existing cameras.

  • New Map Check features: Map Check will now check for several more errors. In addition, there's a "FIX ALL" button that fixes all the errors of the currently-highlighted kind. The new checks are:

- unrecognised texture - a texture on a face that's not found in any of the currently loaded WAD files. FIXing this error replaces the texture with the currently selected texture. - invalid brush - a brush that's been mangled by vertex manipulation or other strange phenomena. FIXing this error causes Worldcraft to closely approximate the invalid shape with a valid one. The results might not be desirable all the time.

Other Small Features:

  • Transformation previews in 2D: When you select a bunch of objects and rotate/scale/shear/move them, a preview is shown in the 2D views instead of just a simple box. This makes it easier to line things up when you're transforming a bunch of stuff.
  • Transform dialog: Press CTRL+M or select Tools|Transform to bring up a transformation dialog, where you can transform the selected objects precisely by entering a rotation, scale, or movement value.
  • Auto select: This is a toggleable state. When it's ON, dragging a selection box in a 2D view automatically selects everything in the box when the left button is released, so you don't have to resize it in the other 2D views to get what you want.
  • Move 2d views with 3D camera: This is an option in Tools|Options|2D Viewsa
  • New texture application features: In texture application mode, there are some new features. The HIDE MASK button removes the red highlight of selected faces temporarily, so you can see what you're aligning better. The Right Mouse Button always APPLIES the currently selected texture to the face you click on, and SHIFT+RMB applies the texture to the entire brush.

Tiny features:

  • 'D' and 'C' now zoom in the 2d views

- CTRL+E behavior: - centers on selection - centers on map (if no selection) - centers on selected vertices (if in vertex mode)

  • Important Bug Fixes:

- fixed the 1-off scaling problem - fixed texture browser ugliness in NT - pasting objects snaps to grid - fixed the 45 degree texturing problem - toolbar doesn't flash anymore - copying a command sequence in the expert run map feature used to crash. - lines are much crisper in the 2D views - no jaggies on 45 degree lines, for example. - shearing objects now snaps to grid.

1.5a 1997/09/24 新功能:
  • added a purge button to the filter control that deletes all unused VisGroups.

修复:

  • "Clear Selection" was incorrectly being put into the undo stack in most cases. fixed.
  • Changed face painting behavior: if you select a tool besides Select, Magnify, or Camera while you're in face painting mode, FP mode will be deactivated.
  • Map Checker was far too strict about finding points off a plane. Fixed.
  • Inserting a prefab while objects were selected screwed up the 2d display. Fixed.
  • file save actually goes to the map directory now.
  • deleting all cameras then using pgup/pgdn crashed. fixed.
  • selecting object(s), editing their properties, then deselecting all objects by clicking on blank space in 2d views did not save the changes you made. fixed.
  • copy/pasting an object required you to reselect that object to edit its properties. fixed.
  • fixed some face splitting problems.
1.5b 1997/10/09 新功能:
  • New icons and splash screen, courtesy of Walter |2| Costinak ([email protected]). These are great!
  • One vertex will snap to grid when you use the arrows to shift it, if it was not already on the grid.
  • The Alt+P map checker now detects solid entities with no solids attached to them. This happens rarely, but it's a pain to fix.
  • There's now an option to replace textures on hidden brushes.
  • There's now an option in the 2D Views tab to draw objects with the color of the group they belong to in the 2D views.
  • You can now combine multiple solid entities into a single entity with the toEntity command. You couldn't, before.
  • Copy/Paste entity properties buttons were added in the Object Properties dialog box. Select an entity, hit COPY, and all its attributes are saved. Select another entity, hit PASTE, and those attributes are copied over. Pretty cool.
  • When you move stuff in the 2D views, the original object remains in place once more. Added arrows for texture scaling in the Texture Application Bar.

修复:

  • CTRL+A stopped working to center the four views. Fixed.
  • Undoing texturing with the APPLY button in Texture Application mode didn't work. Fixed.
  • Undo didn't update the 3D preview properly (this bug was only in the last release.) Fixed.
  • The clip plane now uses the texture on existing faces of the brush you're clipping when it adds a face to a brush. It used to add whatever texture you currently had selected, which was a pain if that texture was water or slime or whatever.
  • The clip plane didn't work on grouped objects/solid entities. Fixed.
  • Sometimes visgroups would be created with a very very dark color. Fixed.
  • Snap to grid indicator was flipped sometimes. Fixed.
  • "Goto" in the entity report no longer closes the report window.
  • Moving brushes with the arrow keys wasn't recorded in Undo. Fixed.
  • Adding an object to the prefab library crashed Worldcraft. Fixed.
1.6 1998/03/06

Announced December 18, 1997. Released March 6, 1998. At the same time Ben Morris announced that he has left Valve Software.

新功能:

  • Added support for Quake II and Hexen II. FGD's for Quake, Quake 2, Hexen2, and Quake 2 CTF.
  • Added the Game Configurations tab. Support for loading multiple .wal and .pak files. Browse textures per container. Edit the Quake 2 surface attributes.
  • "Check for Problems" added.
  • Colored picker for light entities.
  • View path files in 2D views.
  • Expert Compiler options. The Build Programs tab.
1.6a 1998/08/25

A Shareware version was released with the 1998 September issue of Wikipedia icon PC Accelerator Magazine.

1.6b

Worldcraft 2.x

版本 发布日期 更新介绍
2.0 1998/11/19 Version 2.0 of Worldcraft was released with the release of Half-Life.

Worldcraft 2.0 represents the largest jump in feature enhancements and additions to date. Below are a list of the new things along with links to more information about them. There are a few new features on the toolbars.

Map Tools:

  • The Decal tool allows you to take advantage of Half-life's decal feature, which allows you to lay an image ontop of a texture.
  • The Path tool lets you easily and quickly create paths for objects and monsters to follow.
  • The Vertex tool has been enhanced; it now allows you to merge vertices by dragging one ontop of another.

Map Operations:

  • The Ignore Groups button allows you to edit an object independant of whatever group it might be a part of. This is useful if you want to edit a single piece of a multi-brush entity, or if you'd rather not ungroup a set of structural brushes to work on a single part of it.
  • The Cordoning tools allow you to cordon off an area of your map and do quick test compiling without having to wait for the whole level to compile.

Msp Views:

  • A set of buttons control the loading and saving of independant window configurations. Independant window configurations allow you to customize the views of worldcraft to your liking.

The Texture Application mode (Face Properties dialog) has been enhanced with several new features. A smooth groups feature allows you to specify an angle at which qrad will consider an object "rounded" and will smooth the lighting accordingly. Any angles at or under the value specified will be smoothed. The material feature shows what material type the currently selected texture is. Material type will effect sounds made directly on the surface of a brush with that texture (footsteps, bullet ricochets, etc). Last, the Quake II surface parameters are available to you, letting you control things like surface lighting and detail brushes.

There are several new options available to you through the menus as well.

  • (File) export to dxf - this allows you to export a 3D scene to 3DS format to create a scripted sequence
  • (Map) entity report - this can be used to manage your entities and do quick searches for specific entities, providing an easy alternative to searching through your map manually.
  • (Map) load/unload pointfile - this lets you load a leak file generated by the compile tools directly into Worldcraft. A thick red line will lead you directly to the source of the leak.
  • (View) hide paths - this acts much like the hide items command. It will hide any path made with the Path map tool.
  • (Tools) options - the options dialogs have almost all been modified in some way. As well, there are two new dialogs - game configurations and build programs.

• general

• 2D views

• 3D views

• textures

• game configurations

• build programs

The game configurations dialog contains all the information for setuping up multiple game configurations. This lets you specify what entity set and map format to use, as well as palette and default entity information.

The build programs dialog allows you to specify which compile tools to use with which game configuration. As well, all values entered here are easily referenced in the expert compile dialog by a series of static variables ($game_exe, $bsp_exe, etc).

The compile tools included for Half-life are somewhat different than previous games, but operate in a very similiar manner. The tools are as follows:

You should say that qcsg analyzes all the geometry, textures, and entities in your map. qbsp2 divides that map up into visible areas, and then vis determines more rigorously which polygons are visible and which ones aren't.

You can invent a word "visable", meaning "a level which can be vised" as opposed to "visible", "that which can be seen"

You should explain that ahead of time so people don't think it's a typo

  • QCSG analyzes all the geometry, textures, and entities in your map.
  • QBSP2 divides that map up into visable areas.
  • VIS determines more rigorously which polygons are visible and which ones aren't.
  • QRAD performs all the lighting calculations. This can easily take as long as VIS, depending on the complexity of the lighting calculations it must perform.
2.1 1999/04/09 版本 2.1 of Worldcraft was released for free, but only worked with Half-Life.

更新:

  • Fixed crash when selecting large entities (the TFC entities for example) after placing them in the map.
  • Moved registry keys to be independent of Worldcraft 1.6, so now 2.1 can coexist with 1.6.

新功能:

  • Added a new mouselook navigation system. Press 'z' to toggle it on/off. ASDW keys work like in Half-Life. This system can be disabled from the 3D options page and everything should work the old way.
  • Streamlined memory allocation to be more economical.
  • Added an autoupdate utility so that Worldcraft can be updated over the internet.
  • The old lights.rad has been renamed valve.rad. The new lights.rad contains only one entry (for +0~WHITE). If you want the old lights.rad file, copy valve.rad over light.rad.
  • Fixed a crash when an entity in the game data file had a type "flags" or "choices" variable and another variable of the same name but with a different type. The only way to test this would be to add this error to the FGD file.

Hammer 3.x

版本 3.5
版本 发布日期 更新介绍
3.3 2000/06/08

Highlights: The editor has been given a facelift, with a completely rewritten OpenGL renderer for the 3D views. This enables the addition of engine rendering code for previews of such things as sprites and glow effects. Texturing, normally the most time-consuming aspect of mapmaking, has also been streamlined. And, a number of other productivity-enhancing features have taken the most common hitches out of mapmaking.

  • OpenGL 3D Renderer. The real-time renderer is much faster, more robust, and allows for animating visuals in the 3D view.
  • Texture Locking. Texture alignment is now preserved through rotation, scaling, and flipping, allowing for the hassle-free construction of odd-angled geometry.
  • Powerful Texture Application Features. Automatic texture continuity is guaranteed when lifting and applying from one face to another. Textures can be fit across one face or multiple faces, or aligned to the left, right, top, bottom, and center of faces with a single button click. Textures can be projected onto faces from an arbitrary viewpoint, useful for texturing cliff faces or other irregular geometry. In addition, texture axes are now displayed in the 3D view.
  • Sprite Preview. Sprites are now automatically previewed in the 3D view, along with animation. Frame rate and scale key values are correctly reflected in the preview, eliminating the need to compile and run the map in the game engine when placing sprites.

功能: Aside from the above highlights, there have been a number of smaller changes as well.

  • Go To Brush Number. Brushes can now be found by entity / brush number for fast tracking down of compiler errors.
  • Iconic Entities. Any point entity can be set to render as a sprite icon in the 3D view through a specification in the FGD file, making it easy to distinguish between different entities in the 3D view.
  • 3D Preview of Tools. The brush creation, clipper, cordon bounds, and selection tools all render in the 3D view in real time, taking the guesswork out of previously painstaking operations.
  • Colored Solid Entities. Solid entities can now be given a render color in the FGD file, for easier identification in the 2D or 3D views.
  • 3D Grid. A new 3D grid allows for easy visualization of brush sizes in the 3D view.
  • Missing Texture Replacement. Added a Replace button to the texture bar, making it easy to replace textures when they are missing from the WAD file.
  • Texture Usage Report. Statistics on unique textures, total texture memory, and WADs used in are reported in the Map Information dialog
  • Enhanced Camera Controls. Real-time keyboard sampling gives smooth camera movement in the 3D view. Holding down both mouse buttons now enables dollying the camera forward and back. The mouse wheel now zooms both the 2D and 3D views.
  • Point and Click Entity Placement. Point entities can now be placed directly in the 3D view just by pointing and clicking.
  • Entity Key Browse Button. Added a browse button to the Entity Properties dialog for typo-free setting of sprite, sound, and model keys.
  • Clipper Measurements. Sizes of clipped brushes can be displayed in the 2D view while clipping. This is useful for clipping brushes to a particular size, or for matching with a specific texture.
  • .rmf (Rich Map Format(en)) is added as the default save format. This allows for saving vis groups and arbitrary brush shapes.
3.4 2002/03/31

An updated version of Valve's level editing tool is now available for download. This release includes new functionality and several fixes. It also introduces a new name for the product, Hammer.

Changes include:

  • Splitter view layout is now preserved from session to session.
  • Dialog bars now pop to the top when the mouse cursor floats over them.
  • No longer renders the 3D views when the editor is not the active application. (This will fix most people's problems with running Hammer and Half-Life at the same time causing the editor to freeze)
  • Added Copy to Clipboard button to the process window.
  • Sped up time to bring up the Face Properties dialog when many brushes are selected.
  • Sped up 2D view scrolling.
  • Added timed selection of objects by depth in the 3D view when the left mouse button is held down. (ERROR: This functionality was in the old worldcraft version 1.6, and possibly before!)

修复:

  • Fixed a random spinlock when rendering sprites.
  • Fixed texture rendering problems with sprites, etc.
  • Fixed freeze when starting map with sprites visible.
  • Fixed a crash in the path tool.
  • Fixed problem with texture shifts being reset when importing old MAP files.
  • Fixed black brushes caused by clipping.
  • Fixed a lockup when scaling certain brushes.
  • Fixed infinite lines in 3D view in vertex mode.
  • Fixed clipping causing duplicate solids.
  • Fixed decal repositioning.
  • Fixed camera angle view bug.
  • Fixed problem with running compile tools from paths with spaces.
3.5 2003/04/18

A beta version of Hammer 3.5 was released. This was the last version that fully worked with Goldsrc. This version was released as just the main exec and required hammer 3.4 to be installed to work.

新功能:

  • Supports Half-Life .mdl models in 3d view.
  • View path files in 3D view.
  • Pitch and Roll compass added, but not working.

修改:

  • Improved texture application tool.
  • Improved advanced compile mode dialog UI.
  • Select viewport background color.
Note.png注意:Hammer 3.5 没有包含在 Half-Life SDK(en)中, 但是可以非常容易的在网上找到

FGDs

Hammer 4.x

版本 发布日期 更新介绍
4.0 2004/11/05 Initial release of Hammer in the Source SDK.

更新:

  • Source引擎材质系统. 通过Source引擎创建的拥有先进基础纹理着色系统的材质能够在Hammer Editor内完全实现.
  • 表面位移. 一种能被雕刻成复杂形状的新类型的几何固体,并且能够相互连接来创造地形或其他复杂的表面.
  • 实体I/O系统. 实体使用一种新手段来相互触发与连接,提供了前所未有的灵活性与控制性.
  • 分级的可见组. 物件现在可以同时在多个可见组中,并且可见组能够被分级地管理,实现更简便的选择与管理.
  • 实体帮助. 新的用户控制界面可以使调整诸如聚光灯和门的实体参数变得更加简便与清晰.
  • 预着面的Lightmap控制. Lightmap 密度可以在一个预着面的基质上进行控制来提供视觉质量与着色性能上的更好平衡.
  • 声音浏览器. 内置浏览器来试听关卡设计中可用的音效.
  • 非固定的实体报告与问题检查对话框. 对话框不再固定,当使用对话框时能够在关卡与摄象机控制中实施操作.
  • 平滑组. 预着面的以照明为基础的平滑.
  • 搜索与替换. 能够同时搜索并替换任何实体名,参数,触发或被触发中文本的功能.
  • 模式选择工具栏. 一个新的工具栏紧接着选择工具,控制对组与实体的影响.
  • 遮罩. 一种新的纹理实体,类似于印花,但能够更深远地控制纹理在表面上的应用.
4.1 2005/11/22

更新:

  • 支持 HDR 工具. Hammer 可以编译并运行高动态范围光影(HDR).
  • VGUI 模型浏览器. 所有新的模型浏览器都拥有一个完整的树状控制并且能实时预览通过Source材质系统渲染的模型的几何效果.
  • 增强的2D与3D浏览. 现在2D 与 3D 浏览都通过一个统一的Source材质系统渲染,能够实时反馈任何视角中的任何变化,并且能够渲染得更快.
  • 2D下的模型与位移绘制. Prop模型与地形几何位移能够在2D视图中被渲染出来.
  • 增强的自动可见组. 更多的可见组层级,与一个增强了的界面使可见组功能更加强大.
  • 自动储存特性. 自动创建编号了的地图备份,并且可以设置何时在何位置创建备份.
  • 特殊的粘贴系统改进. 提供在粘贴时重命名物件以避免发生自动实体I/O修复时导致的名称冲突.
Hammer 4.1

Valve Hammer Editor 4.x, 作为 Source SDK(en) 的组件提供, 是 Source(en) 引擎官方的地图编辑工具. 出了关卡的场景构建, Valve Hammer Editor 4.x 还可以高度参与创建关卡事件和脚本.

FGDs

Hammer 5.x

待完善: 添加更多关于 Hammer 5.x 的信息 (用于起源 2)

参见

外部链接