ゲーム内チャットコマンド

スクラップメカニックのチャットコマンド

スクラップメカニックにはチャットコンソールがあり、アイテムを出す、レイドを止める、はまったキャラクターを助け出す、時間帯を変えるといったコマンドを使えます。サバイバルのコマンドはほとんどが、開発者モードでゲームを起動したときだけ現れます。このページではそれらをモード別にまとめて掲載しています。

3 つのゲームモードに 46 個のコマンド

サバイバルのコマンドを使えるようにする方法

通常のサバイバルでは、ホストに必要な 2 つのコマンドしか登録されません。残りは開発者コマンドで、-dev 起動オプションを付けて起動したときにだけチャットコンソールへ追加されます。

  1. ゲームを閉じて、Steam のライブラリを開きます。
  2. スクラップメカニックを右クリックし、プロパティを選びます。
  3. 一般タブにある起動オプションの入力欄を探します。
  4. 入力欄に -dev と入力し、ウィンドウを閉じます。
  5. ゲームを起動し、サバイバルのワールドを読み込むか新規作成します。

Enter キーでチャット欄を開き、スラッシュから始まるコマンドを入力して、もう一度 Enter を押します。コンソールはコマンド名を補完し、ゲーム側に値の一覧がある場合は値も補完します。

  • 例外は /kick と /ban です。この 2 つはセッションを立てたホストのもので、起動オプションなしで使えます。
  • クリエイティブに起動オプションは不要です。ワールドが読み込まれた時点でセッション内の全員にコマンドが登録され、ワールドを消す 2 つだけはホスト専用です。
  • チャレンジ用のコマンドは、チャレンジを作っている間だけ存在します。他の人が公開したチャレンジを遊ぶときには出てきません。

起動オプションがワールドに与える変化

このオプションはコンソールにコマンドを足すだけではありません。オンのまま遊ぶサバイバルワールドは始まり方が変わり、オンのまま作ったワールドでは違いがはっきり出ます。

  • 序盤のクエストチェーンが始まりません。オンのときはロード画面が明けてもチュートリアルクエストが有効にならないため、ログブックは空のままで、墜落地点の手順も出てきません。
  • オープニングのカットシーンは飛ばされ、そのままワールドが始まります。
  • 初めて参加したキャラクターの初期装備が変わります。通常の開幕で渡される2つではなく、道具とアイテムがひと通りそろった状態で始まります。

どれもセーブデータの不具合ではありませんが、物語は自分からは始まりません。作られたとおりのキャンペーンを遊びたいなら、そのワールドはオプションなしで作り、開発者モードは試すためのセーブに取っておいてください。

使う前に

これらは難易度設定ではなく開発用のツールです。まだ解放していないアイテムを渡したり、クリエイティブのワールドから全てのブロックを消したり、ストーリーが想定していない状態のサバイバルのセーブを残したりします。大事なワールドなら、先にセーブフォルダをコピーしておいてください。

表の読み方

<name>
山かっこの引数は必ず入力します。これがないとコマンドは意味を持ちません。
[name]
角かっこの引数は省略できます。
既定値
引数を省いたときにゲームが決まった値を使う場合、その値を引数の横に載せています。
省略すると設定を反転
省略すると今の設定を反転する引数もあり、同じコマンドを 2 回入力すると元の状態に戻ります。
使える値
受け付ける語句が決まっている場合は、その語句を並べています。チャットコンソールでも補完されます。
ゲーム内の説明
ゲームはプレイ中の言語に関係なくこの説明を英語で表示するため、ここでもそのまま載せています。

サバイバルのコマンド

31

このうち 2 つはセッションのホスト用です。残りの 29 個は開発者コマンドで、上の起動オプションが必要です。

サバイバルのコマンドのチャットコマンド
コマンド引数ゲーム内の説明使える人
/aggroall/aggroallなしAll hostile units will be made aware of the player's position開発者モード
/ammo/ammo [quantity]
  • [quantity]int既定値: 100
Give ammo (default 100)開発者モード
/baguette/baguetteなしGive 1 revival baguette開発者モード
/ban/ban <player name>
  • <player name>string
Ban a player from serverホストのみ
/components/components [quantity]
  • [quantity]int既定値: 10
Give <quantity> components (default 10)開発者モード
/die/dieなしKill the player開発者モード
/disableraids/disableraids <enabled>
  • <enabled>bool
Disable raids if true開発者モード
/exportmultishape/exportmultishapeなしExports a blueprint shape file開発者モード
/foodplease/foodpleaseなしGive 5 of each edible type開発者モード
/gatling/gatlingなしGive the potato gatling gun開発者モード
/glowsticks/glowsticks [quantity]
  • [quantity]int既定値: 20
Give <quantity> components (default 10)ゲームが表示するこの説明は /components のものを既定値ごとそのまま流用しています。実際に配られるのはグロースティックで、既定値は引数の列に書かれている値です。開発者モード
/god/godなしMechanic characters will take no damage開発者モード
/keycard/keycardなしGive 1 keycard開発者モード
/kick/kick <player name>
  • <player name>string
Kick a player from serverホストのみ
/limited/limitedなしUse the limited inventory開発者モード
/noaggro/noaggro [enable]
  • [enable]bool省略すると設定を反転
Toggles the player as a target開発者モード
/powercore/powercoreなしGive 1 powercore開発者モード
/seedsplease/seedspleaseなしGive 20 of each seed type and some soil開発者モード
/setbreath/setbreath <breath>
  • <breath>number
Set player breath value開発者モード
/sethp/sethp <hp>
  • <hp>number
Set player hp value開発者モード
/shotgun/shotgunなしGive the fries shotgun開発者モード
/spawn/spawn [unitName] [amount]
  • [unitName]string使える値 ball, blue, bt, c, cable, cablebot, f, farmbot
    ほか 33 件green, greentapebot, gtb, h, haybot, l, leaf, lootbot, m, miner, minerbot, red, redtapebot, rt, rtb, seedbot, t, tapebot, tb, toteblue, totebot, toteleaf, totered, toteyellow, trash, trashball, trashbot, woc, worm, yellow, yellowtapebot, yt, ytb
  • [amount]int既定値: 1
Spawn a unit: 'woc', 'tapebot', 'totebot', 'haybot'開発者モード
/spudgun/spudgunなしGive the spudgun開発者モード
/starterkit/starterkit [name]
  • [name]string既定値: start使える値 start, trashbot, mechanic, tutorial, pipe, food, seed
Spawn a starter kit開発者モード
/stopraid/stopraidなしCancel all incoming raids開発者モード
/sunshake/sunshakeなしGive 1 sunshake開発者モード
/timeofday/timeofday [timeOfDay]
  • [timeOfDay]number
Sets the time of the day as a fraction (0.5=mid day)開発者モード
/timeprogress/timeprogress [enabled]
  • [enabled]bool
Enables or disables time progress開発者モード
/tumble/tumble [enable]
  • [enable]bool省略すると設定を反転
Set tumble state開発者モード
/unlimited/unlimitedなしUse the unlimited inventory開発者モード
/unstuck/unstuckなしUnstuck the player開発者モード

クリエイティブのコマンド

12

クリエイティブでは、セッション内の全プレイヤーにこれらが登録されます。ワールドを空にする 2 つはホスト専用で、消去するほうはもう一方で先に解除しておく必要があります。

クリエイティブのコマンドのチャットコマンド
コマンド引数ゲーム内の説明使える人
/aggroall/aggroallなしAll hostile units will be made aware of the player's position全員
/allowclear/allowclear [enable]
  • [enable]bool省略すると設定を反転
Enabled/Disables the /clear commandホストのみ
/clear/clearなしRemove all shapes in the world. It must first be enabled with /allowclearホストのみ
/day/dayなしSets time of day to day全員
/dropscrap/dropscrapなしToggles the scrap loot from Haybots全員
/killall/killallなしKills all spawned units全員
/night/nightなしSets time of day to night全員
/noaggro/noaggro [enable]
  • [enable]bool省略すると設定を反転
Toggles the player as a target全員
/noaggrocreations/noaggrocreations [enable]
  • [enable]bool省略すると設定を反転
Toggles whether the Tapebots will shoot at creations全員
/place/place <harvestable>
  • <harvestable>string
Places a harvestable at the aimed position. Must be placed on the ground. The harvestable parameter controls which harvestable to place: 'stone', 'tree', 'birch', 'leafy', 'spruce', 'pine'全員
/popcapsules/popcapsules [filter]
  • [filter]string
Opens all capsules. An optional filter controls which type of capsules to open: 'bot', 'animal'全員
/restrictions/restrictions [enable]
  • [enable]bool省略すると設定を反転
Toggles restrictions on creations全員

チャレンジビルダーのコマンド

3

この 3 つはチャレンジビルダーの中にあり、編集中のチャレンジに作用します。

チャレンジビルダーのコマンドのチャットコマンド
コマンド引数ゲーム内の説明使える人
/save/saveなしSave the challengeチャレンジビルダー
/stop/stopなしStop the testチャレンジビルダー
/test/testなしTest the challengeチャレンジビルダー