光标模式

来自Terraria Wiki
(重定向自Smart Cursor
跳转至: 导航搜索
此页面的(部分)内容需要被翻译。
你可以帮助我们来翻译此页面

Cursor modes are a type of game mechanic in Terraria. Auto Select and Smart Cursor are the two cursor modes implemented to make using tools and placing objects more convenient.

Auto Select[编辑 | 编辑源代码]

电脑版主机版 电脑版/主机版独有内容:此的信息适用于电脑版主机版泰拉瑞亚

Auto Select will automatically select an item to use, depending on where the cursor is pointed. The item does not need to be in the hot bar. By default, Auto Select is activated by pressing Shift on PC, R3 on PS3/PS4, or pressing down the right thumbstick on Xbox 360.

Target Item Selected
Blocks and most furniture Pickaxe
Tree, Giant Mushroom, or Cactus Axe
Altar, Shadow Orb or Crimson Heart Hammer
Extractinator Silt or Slush
Cannon Cannonball
Bunny Cannon Explosive Bunny
When you point at an empty space or a wall, a light source will be selected based on the following criteria
Cursor is far from the player Glowstick, Spelunker Glowstick or Flare Gun
Player and cursor are in water (or other liquid) Cursed Torch, Ichor Torch, Glowstick or Flare Gun
Player in water but cursor is not Cursed Torch or Ichor Torch
If none of the above apply Any torch

A Flare Gun without Flares won't be selected. Nor will other light sources such as candles. If more than one item is equally appropriate it will normally select the first one in your inventory. And if the preferred item is unavailable it will usually fall back to something else.

Smart Cursor[编辑 | 编辑源代码]

Smart Cursor selects a target based on the active item. 电脑版By default, it is toggled on and off by pressing Ctrl, or Mobile only.pngby holding down and dragging the right thumbstick. There is also an option in General Settings to make it last only while the key is held down. Smart Cursor mode is indicated by a slightly wider cursor, and the tile targeted is shown with a yellow box. On the 3DS版 3DS, Smart Cursor is on by default unless the D-Pad or Touch Screen is used to target an area.

Active Item Behavior
Pickaxe Digs a passage wide enough to pass through in the direction indicated be the cursor. A tunnel going diagonally upwards will often have to be widened to go back down.
Axe Chops the base of the tree nearest the cursor. It will target branches when the base is out of range. An item that functions like an axe/pickaxe will target trees first then blocks. This can be easily seen with the Laser Drill (1.3+).
Hammer Removes the wall nearest the cursor.
Block Places a block at the nearest legal space to the cursor. If the space under the cursor already contains a block or other object, it will do nothing. However if the cursor is over an NPC or player, it will encase them in multiple layers. This is currently the only way to automatically fill a large area with blocks. On the 移动版 移动版, this is quite unreliable.
Wall Places a wall at the nearest legal space to the cursor. Unlike other items, walls will only be placed by Smart Cursor within line of sight of the player. This makes it easy to fill a room without the walls "spilling" out.
Platform Adds to existing platforms (in any direction, including vertical).
Minecart Track Extends existing tracks horizontally or diagonally.
Wrench Extends existing wires of the same color.
Wire Cutter Removes the wire nearest the cursor.
Acorn Places an acorn on top of grass if two blocks beside it are free.

Using Smart Cursor with a multi-function tool, like Drax or a Hamaxe, may have unexpected results. These tools will behave as an axe by default, meaning they always target a tree if one is in range.

电脑版 Enabling Smart Cursor for common blocks on Desktop version (Terraria 1.3 and later)[编辑 | 编辑源代码]

A fresh installation of Terraria 1.3 or later will start with Smart Cursor disabled for placing common blocks. This setting applies to foreground blocks that you would use during construction, such as dirt, wood, and stone. The Smart Cursor will continue to behave as per the 1.2 standard for platforms and walls.

If you wish to use Smart Cursor for common blocks, you will need to edit Terraria's config.json file manually.

Edits to config.json must be performed while the game is not running, or else the new setting will not take effect. You may want to create a backup copy of the config.json file before editing, which will allow you to restore your original configuration later, if needed.

  1. Browse to your config.json file location (see config.json for common locations).
  2. Right-click config.json and choose Open With...
  3. Select Notepad (or your favorite text editor).
  4. Use the 'Find' option in your text editor and search for this:
    "UseSmartCursorForCommonBlocks": false,
  5. Edit the line so it now reads:
    "UseSmartCursorForCommonBlocks": true,
  6. Save your config.json file.
  7. Launch Terraria.
  8. Now you will have SmartCursor On

电脑版Mobile only.png3DS.svg Lock on[编辑 | 编辑源代码]

Merge 有人建议该条目或其部分与Combat Targeting合并。

Lock on is a cursor mode that can be used on 电脑版 电脑版 while playing with a controller, on the 3DS版 3DS, or on the 移动版 移动版. While holding a weapon, a small yellow triangle appears above the enemy to be targeted. 电脑版Depending on the chosen setting, Clearest Line or Target Closest, the yellow triangle will appear on the monster closest to the cursor's pointing direction or closest to the player (independently of line of sight). By pressing 电脑版3DS.svgSteam X.png or Mobile only.pngtapping the enemy, the enemy will be locked on to, 电脑版3DS.svgindicated by three triangles rotating around the enemy or Mobile only.pngby a single yellow triangle above the enemy. From then on, all attacks are automatically directed at that enemy (in the 移动版 移动版, all attacks initiated by hold tapping the center of the right thumb stick are directed at the target). Pressing Steam X.png again releases the lock (in the 移动版 移动版, the lock is released upon the enemy's defeat or movement offscreen).

This cursor mode can be especially effective while using weapons that require accurate aim, like Yoyos, Ranged Weapons, or Magic Weapons. Lock-on mode makes strafing (dodging while firing) an effortless task.

Left: Triangle indicates the enemy that will be targeted. Right: Enemy is now locked on.