Scrap Mechanic: cómo habilitar trucos (versión 0.5.0+)

Probablemente estés aquí porque quieres habilitar los comandos de trucos en las nuevas versiones del juego.
El método anterior ya no funciona, porque el archivo del juego de supervivencia también se reescribió como script de comandos de trucos.
en esta guía, le mostraré cómo habilitar los códigos de trucos en las versiones 0.5.0 y superiores.

 

paso 1: encontrar el archivo que desea modificar

DESCARGO DE RESPONSABILIDAD: ANTES DE MODIFICAR CUALQUIER ARCHIVO DE JUEGO, ASEGÚRESE DE COPIAR LA VUELTA ORIGINAL (en serio, si cambia el script incorrecto, es posible que no pueda cargar o crear nuevos juegos de supervivencia, lo probé yo mismo -.-)
este paso no cambia, todavía tienes que ir a
C:\Archivos de programa (x86)\Steam\steamapps\common\Scrap Mechanic\Survival\Scripts\game
y ubicar survivalgame.lua

Paso 2: Juego de supervivencia: Lua

En este paso aplicaremos cambios al archivo, pero tenga cuidado al hacerlo.
puede hacer esto con el bloc de notas ++, pero lo haré en el bloc de notas.
Aquí es donde todo cambió.
0n versiones 0.4.0 – 0.4.9 tuviste que cambiar
“función SurvivalGame.client_onCreate(self)
si g_survivalDev entonces”
a “función SurvivalGame.client_onCreate(self)
si es cierto entonces”.
desde la versión 0.5.0 se ve así
como puede ver, el código se cambió y tiene que cambiar otros comandos, por lo que se desplaza hacia abajo en la lista de comandos y busca:
“si no es g_survivalDev y clientData.dev y no sm.isHost, entonces
self: enlazar comandos de chat ()”
cambias esta línea a
“si es cierto entonces
self: enlazar comandos de chat ()”
a continuación, guarda y puede jugar ahora, pero se recomienda que se quede un poco, solo para familiarizarse con los comandos
si sientes que no necesitas el paso de bonificación, puedes irte ahora, adiós
(creado por m500zxz)

paso de bonificación: comandos

Si eres nuevo en los códigos de trampa en la mecánica de chatarra, probablemente no sepas cómo usarlos o activarlos.
para activar un comando, debe usar el chat multijugador en el juego, que también está disponible en sesión privada.
aquí está la lista de todos los comandos:

/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 m500zxz

Deja un comentario

ArabicEnglishFrenchGermanItalianJapaneseKoreanPortugueseSpanish