Scrap Mechanic:チートを有効にする方法(バージョン0.5.0+)

ゲームの新しいバージョンでチートコマンドを有効にしたいので、おそらくここにいます。
サバイバルゲームファイルもチートコマンドスクリプトとして書き直されたため、古い方法は機能しなくなりました。
このガイドでは、バージョン0.5.0以降でチートコードを有効にする方法を説明します。

 

ステップ1:変更したいファイルを見つける

免責事項:ゲームファイルを変更する前に、元のハエをコピーしていることを確認してください(真剣に、間違ったスクリプトを変更すると、新しいサバイバルセーブをロードまたは作成できなくなる可能性があります。私はそれを自分でテストしました-.-)
このステップは変わりません、あなたはまだ行く必要があります
C:\ Program Files(x86)\ Steam \ Steamapps \ common \ Scrap Mechanic \ Survival \ Scripts \ game
そしてsurvivalgame.luaを見つけます

ステップ2:サバイバルゲーム:ルア

このステップでは、ファイルの変更を適用しますが、それを行うときは注意してください。
これはメモ帳++で実行できますが、メモ帳で実行します。
ここですべてが変わりました。
0n versoins 0.4.0 –0.4.9変更する必要がありました
「functionSurvivalGame.client_onCreate(self)
g_survivalDevの場合」
「functionSurvivalGame.client_onCreate(self)
本当なら」。
バージョン0.5.0からは次のようになります
ご覧のとおり、コードが変更されており、他のコマンドも変更する必要があるため、コマンドリストを下にスクロールして次を探します。
「g_survivalDevとclientData.devでなく、sm.isHostでない場合は、
self:bindChatCommands()」
この行をに変更します
「本当なら
self:bindChatCommands()」
次に、保存して今すぐプレイできますが、コマンドに慣れるために、少しだけ滞在することをお勧めします
ボーナスステップが必要ないと感じたら、さようなら、今すぐ出発できます
(m500zxzによって作成されました)

ボーナスステップ:コマンド

スクラップメカニックでコードをチートするのが初めての場合は、コードの使用方法やアクティブ化の方法がわかりません。
コマンドをアクティブにするには、ゲーム内のマルチプレイヤーチャットを使用する必要があります。これは、プライベートセッションでも利用できます。
すべてのコマンドのリストは次のとおりです。

/ammo (gives potato ammo)
/spudgun (gives spudgun)
/gatling (gives the spudling gun)
/shotgun (gives potato shotgun)
/sunshake (gives 1 sunshale)
/baguette (gives 1 revival baguette, useful for multiplayer)
/keycard (gives warehouse key)
/powercore (gives 1 powercore [that giant battery you put into ship or mechanic station to activate power)
/components (gives component kits)
/glowsticks (gives glowsticks)
/tumble (switches character to ragdoll mode)
/god (prevents character from dying)
/respawn (respawns you in the last bed you laid down on it [spawnpoints])
/decrypt (allows building/editing warehouse's interior)
/encrypt (prevents you from building or editing warehouses [activatet when save is created])
/unlimited (switches your inventory to creative in survival world)
/limited (switches your inventory back to survival inventory)
/ambush (starts an ambush)
/recreate (works like "/clean" command in creative world)
/timeofday 0/0.25/0.5/0.75/1 (switches time of day, you set time of day with it's decimal fraction from 0 to 1
0 means midnight
0.5 means 12 PM
1 also means midnight
/timeprogress true/false stops time progress and reasumes it
/spawn totebot/haybot/tapebot/farmbot/woc/t/h/tp/f (spawns entity)
/starterkit (gives starter kit [drops crate with stuff)
/mechanicstartkit (currently not working lol)
/pipekit (gives vacuum pipe kit)
/foodkit (gives crate full of food)
/seedkit (gives crate with every seed in tha game + some soil bags)
/die (kills a player)
/sethp (sets HP value of the player, [0-100])
/setwater (sets thirst value of the player, [0-100])
/setfood (sets hunger value of the player, [0-100])
/aggroall (every spawned hostile unit will recive player's position' and will go there)
/raid "level 1-10" "wave 1-10" (sets raid with level set by player and amount of waves set by player)
/stopraid (cancels all incoming raids)
/killall (kills all spawned units around the player)

By m500zxxz

コメント

ArabicEnglishFrenchGermanItalianJapaneseKoreanPortugueseSpanish