How to Use Commands in Scrap Mechanic Survival

  Рет қаралды 84,495

Rugbug Redfern

Rugbug Redfern

Күн бұрын

Here's how to enable and use developer commands in Scrap Mechanic Survival. This works in creative and survival, but it's more useful in survival. Check the pinned comment for the list of commands!
SurvivalGame.lua (edited): pastebin.com/p...
SurvivalGame.lua (original): pastebin.com/m...
Music by Otis McDonald

Пікірлер: 371
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Here are all of the commands. USE /help TO SEE ALL COMMANDS IN-GAME! means put a number here, means put true or false here, etc. /ammo : Give ammo (default 40) /spudgun: Give the spudgun /gatling: Give the potato gatling gun /shotgun: Give the fries shotgun /sunshake: Give 1 sunshake /baguette: Give 1 revival baguette /keycard: Give 1 keycard /powercore: Give 1 powercore /components : Give components (default 10) /glowsticks : Give components (default 10) /tumble : Set tumble state /god: Mechanic characters will take no damage /respawn: Respawn at last bed (or at the crash site) /encrypt: Restrict interactions in all warehouses /decrypt: Unrestrict interactions in all warehouses /limited: Use the limited inventory /unlimited: Use the unlimited inventory /ambush : Starts a 'random' encounter; /recreate: Recreate world /timeofday : Sets the time of the day as a fraction (0.5=mid day) /timeprogress : Enables or disables time progress /day: Disable time progression and set time to daytime /spawn : Spawn a unit: 'woc', 'tapebot', 'totebot', 'haybot', 'farmbot' /harvestable: : Create a harvestable: 'tree', 'stone' /cleardebug: Clear debug draw objects /export : Exports blueprint $SURVIVAL_DATA/LocalBlueprints/.blueprint /import : Imports blueprint $SURVIVAL_DATA/LocalBlueprints/.blueprint /starterkit: Spawn a starter kit /mechanicstartkit: Spawn a starter kit for starting at mechanic station /pipekit: Spawn a pipe kit /foodkit: Spawn a food kit /seedkit: Spawn a seed kit /die: Kill the player /sethp : Set player hp value /setwater : Set player water value /setfood : Set player food value /aggroall: All hostile units will be made aware of the player's position /goto : Teleport to predefined position 'here', 'start', 'hideout' /raid : Start a level raid at player position at wave in hours /stopraid: Cancel all incoming raids /disableraids : Disable raids if true /camera: Spawn a SplineCamera tool /printglobals: Print all global lua variables /clearpathnodes: Clear all path nodes in overworld /enablepathpotatoes : Creates path nodes at potato hits in overworld and links to previous node
@JorganShow
@JorganShow 4 жыл бұрын
how would one go about placing a stack of items like fuel from the unlimited command? as it stands i only am able to place 1 item per stack.
@thevladcrafter3120
@thevladcrafter3120 4 жыл бұрын
Do the same but with creative (Like /spawn haybot able in creative)
@OPsmall11224
@OPsmall11224 4 жыл бұрын
In this mode, is it able to invite friend to join and play together?
@baldevbhaiprajapatiprajapa4814
@baldevbhaiprajapatiprajapa4814 4 жыл бұрын
..
@baldevbhaiprajapatiprajapa4814
@baldevbhaiprajapatiprajapa4814 4 жыл бұрын
.
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Make sure you save the SurvivalGame.lua file before launching the game, or nothing will change!
@spaced_out6647
@spaced_out6647 4 жыл бұрын
How
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
@@spaced_out6647 ctrl + s while in notepad
@ahuman9617
@ahuman9617 4 жыл бұрын
i had to get a friend to ssend me the code again
@XxtoxicxX-vd6ij
@XxtoxicxX-vd6ij 3 жыл бұрын
my comands work but my water does not
@unknowfrench5784
@unknowfrench5784 4 жыл бұрын
Thx I was stuck in the roof of a radio tower with no toilets
@etiennebertin3175
@etiennebertin3175 4 жыл бұрын
thx for the original otherwise i'll not be able to play again with my friend!
@swissplayer4285
@swissplayer4285 4 жыл бұрын
im to
@sethparrow04
@sethparrow04 4 жыл бұрын
When you want to go back to original files just click, verify game files
@etiennebertin3175
@etiennebertin3175 4 жыл бұрын
@@sethparrow04 i know there is something like that but where?
@sethparrow04
@sethparrow04 4 жыл бұрын
Etienne Bertin 1. Open steam 2. Go to steam library 3. Right click on Scrap Mechanic 4. Click on properties 5. Click on Local Files 6. Click “Verify Game Files”
@etiennebertin3175
@etiennebertin3175 4 жыл бұрын
@@sethparrow04 ok thx
@privatenope
@privatenope 4 жыл бұрын
with the spawn command you can spawn the boss with /spawn farmbot and a mechanic guy with /spawn with no arguments
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Cool
@x1fu351
@x1fu351 4 жыл бұрын
thxxxx so much it works!!!!
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
I'm glad! Have fun :)
@whiterunguard9465
@whiterunguard9465 4 жыл бұрын
great video, i probably missed something but how do you put it back to normal after you turn on commands?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Change the line of code to either back to it was at the start before you edited it, or just set the line that we changed to "if then true" to "if then false"
@ghst4592
@ghst4592 4 жыл бұрын
Theres a much easier way than this to enable dev mode before the if which he deleted put -- and the same before the end
@ghst4592
@ghst4592 4 жыл бұрын
Then when u want it back to normal delete the --
@whiterunguard9465
@whiterunguard9465 4 жыл бұрын
My scrap mechanic is fucked now, whenever I try and join someone it gives me errors
@xxdeadoutxx761
@xxdeadoutxx761 4 жыл бұрын
Whiterun Guard verify your game Files through steam
@MrSnakeHome
@MrSnakeHome 4 жыл бұрын
i realy really appreciate that, Thank's :)
@lukeandrews6217
@lukeandrews6217 4 жыл бұрын
i think they will give an option to do this in the furtre for the last major update or something like that!! :)
@Creamrat
@Creamrat 3 жыл бұрын
For me when i try survival it keeps crashing, do you know why? and how do i fix it. thanks
@ezskeezer3209
@ezskeezer3209 4 жыл бұрын
How do I ungodmode
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
/god
@gr4nad3man
@gr4nad3man 4 жыл бұрын
This fucking works!
@tackis7438
@tackis7438 4 жыл бұрын
It doesn't feel right but at the same time It does
@santiagogarcia4815
@santiagogarcia4815 3 жыл бұрын
bro, i fall in the word and i cant go back, what can i do???? i don't want to lose my loot :(((
@mihneababanu4224
@mihneababanu4224 3 жыл бұрын
u need to wait and then it teleports u back up
@santiagogarcia4815
@santiagogarcia4815 3 жыл бұрын
@@mihneababanu4224 I was waiting for a 5 hours bro They won't teleport me
@leomartensson4454
@leomartensson4454 4 жыл бұрын
how do I start the time cycle again
@Bokum03
@Bokum03 4 жыл бұрын
If '/timeprogress true' doesn't work, then I'm not sure. I'm trying to find an answer to that as well.
@mosrubyx
@mosrubyx 2 жыл бұрын
it dosent works in multiplayer it says MECHANIC Left The Game When inviting Friends
@PootisLeader
@PootisLeader 2 жыл бұрын
Don't work... After changing script to what you said, I click play in survival mode and then teleports me back to main menu :(
@Kirply
@Kirply 3 жыл бұрын
Just came around this video, the music made me nostalgic. Either way great and easy video!
@gamix4182
@gamix4182 4 жыл бұрын
Thanks you you're the best 😍
@Oleksey1769
@Oleksey1769 4 жыл бұрын
Omg so I can get creative with survival features and infinite map! Thanks!
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
yeah!
@Oleksey1769
@Oleksey1769 4 жыл бұрын
@@RugbugRedfern can we get saves and blueprints?
@harbor8219
@harbor8219 3 жыл бұрын
Hey redbug will anything change if i play scrap mechanic through GeForce Now? i cant get it to work and im wondering if thta the problem but i cant even play survival through normal steam it fully loads on the screen and the sends me back to the menu
@ERIK-457
@ERIK-457 2 жыл бұрын
I used it in a already existing world in 2021 and it does not only not work but also when i open the world the loading screen appears and everything loads normally until when i should appear in my world i appear in the main menu instead and when i re-open the worlds lits that world has just no fucking date Edit: im not blaling you, maybe it's just that the developers made that whenever you want to cheat in survival you get your world reset or cant even open it so that you dont loose your progress but still cant even play that world
@remcoland
@remcoland 2 жыл бұрын
So I accidently placed down a bot dispenser, and now I can't remove it. Does anybody know how?
@uitvindertje
@uitvindertje 4 жыл бұрын
Can you make a video how to make console work?
@alexanderharmse
@alexanderharmse Жыл бұрын
Hey I want to play this I 2022 and my friend trys to join but it's kicks him so what code must I restore
@NoahF_Ohma
@NoahF_Ohma 3 жыл бұрын
when i join a world even create one and join i goes back to the main page
@_Seinosuke_
@_Seinosuke_ 4 жыл бұрын
Way there commands in survivel?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
ye
@_Seinosuke_
@_Seinosuke_ 4 жыл бұрын
What that does means?
@fatem7456
@fatem7456 4 жыл бұрын
Someone show this to kan and scrap man to show them the day stuff because I can't!!
@Dyngdallen
@Dyngdallen 4 жыл бұрын
They dont want cheats and things like that
@HHYO_
@HHYO_ 4 жыл бұрын
Why
@HHYO_
@HHYO_ 4 жыл бұрын
I love both Let them play pure survival
@Slyc_PL
@Slyc_PL 4 жыл бұрын
It's not working, game is backing to menu
@levisespy6280
@levisespy6280 4 жыл бұрын
I got a caged farmer stuck to The ground. I want to remove it pls help
@voidericspenceracemperor9710
@voidericspenceracemperor9710 4 жыл бұрын
thank you so much i can now build massive creations to my worlds
@Kaiser_Franz_Josef
@Kaiser_Franz_Josef 4 жыл бұрын
Can you spawn boss bot?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
yep, /spawn farmbot
@Naixs______
@Naixs______ 3 жыл бұрын
i have commands but i have no hp and other
@diamondkingrules1
@diamondkingrules1 4 жыл бұрын
hey it worked but its always night can u help ur script didnt work well it did but some didnt
@HHYO_
@HHYO_ 4 жыл бұрын
I watch it for my friend Not for me I play pure survival
@OriginalMonster9305
@OriginalMonster9305 2 жыл бұрын
it doesn't work when i join my friends survival why?
@lukeandrews6217
@lukeandrews6217 4 жыл бұрын
also they crnt fix this because anyone can just delete the text file to be honset i though this was click bait but my g fam hes a legend
@AsteroidLeaf905
@AsteroidLeaf905 3 жыл бұрын
working but when i on is all normal with command when i off fire my heal are invisible
@notacodplayer4606
@notacodplayer4606 Жыл бұрын
i pasted the file from the description, bui i cant open the console
@mrcrabbyshoesgaming5492
@mrcrabbyshoesgaming5492 4 жыл бұрын
I havent tried this out but im being positive on the outcome of this method
@harryengland5179
@harryengland5179 4 жыл бұрын
I copied your edited code and deleted the original one and then pasted it but it still won’t work
@ande1559
@ande1559 3 жыл бұрын
Please help me. When i spawn i will die and i cant respawn. What am i doing wrong?
@DogBurger9876
@DogBurger9876 3 жыл бұрын
my friend cant join my world after this and he did the same thing please help
@VampireQueenAmy
@VampireQueenAmy 4 жыл бұрын
I usually type in else god mode = true Survival dev = true
@boberex1722
@boberex1722 4 жыл бұрын
How off cheat
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
undo the changes you made, or use the original script in the description of the video
@nikodembukowski2470
@nikodembukowski2470 Жыл бұрын
i need help, i killed myself and i cannot respawn
@mahmuterenkoc9461
@mahmuterenkoc9461 4 жыл бұрын
işin ras gelsin eeyw
@zrecul4957
@zrecul4957 3 жыл бұрын
i did this and now i just cant join any world and cant play it
@VINCENTRB
@VINCENTRB 3 жыл бұрын
My health bar is gone
@volutedsauce6404
@volutedsauce6404 2 жыл бұрын
hey just want to know how to disable time of day
@PenguinGuy17
@PenguinGuy17 4 жыл бұрын
is it possible to have a farm anywhere else besides the ground??
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
not that I know of
@jacob2413
@jacob2413 3 жыл бұрын
this crashed my whole game helpppp!!
@bigblueoofheadd2210
@bigblueoofheadd2210 4 жыл бұрын
If you import something, is it any way i can remove it?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
nope
@LanderTarane
@LanderTarane 2 жыл бұрын
i got stuck so...... i need to use command
@kimberleyfell7719
@kimberleyfell7719 11 ай бұрын
how do you get commands in custom games
@YANGINV
@YANGINV 2 жыл бұрын
how load up an existing world ?
@CamoKoopa182
@CamoKoopa182 4 жыл бұрын
I have a question. I got this to work and I eventually used the day command because it was getting dark. But then I realized it freezed the day/night cycle so now it won't progress. What do I need to do to fix this?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
/timeprogress true will re-enable time.
@pixy6239
@pixy6239 4 жыл бұрын
Ooooooooh!
@thatdudeoverthere1754
@thatdudeoverthere1754 4 жыл бұрын
i did exactly what was shown and saved the file...but nothing changed! even when i type /help it only shows me the basic commands...what do i do?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
If /help shows you the commands, it means you have commands enabled correctly. I don't think you did anything wrong?
@jackdunn5898
@jackdunn5898 4 жыл бұрын
Please help i dome is but it deleted my file
@Turnkeymoss
@Turnkeymoss 4 жыл бұрын
i turned off the commands but i still cant be join by my friends...any ideas cuz we were doing a map together and im scared we lost everything ?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Did you replace the script with the original from the description? If that doesn't work, try verifying the game files in steam (support.steampowered.com/kb_article.php?ref=2037-QEUH-3335 ) and then launching. If that doesn't work, back up your save files and then reinstall the game (as a last resort).
@endergamerxp5530
@endergamerxp5530 4 жыл бұрын
is exist he command to clear the chat?
@Bokum03
@Bokum03 4 жыл бұрын
Not sure if anyone else is getting this issue, but my time of day is stuck at Midnight (00:00) (ignore the youtube queue link). I've tried the "/day" command, the "/timeprogress" command, & the "/timeofday" command. None of these work.
@meksykanin2946
@meksykanin2946 3 жыл бұрын
bruh, i cant find the file now
@darmowefilmy4128
@darmowefilmy4128 4 жыл бұрын
but cant play friends
@DaStuntChannel
@DaStuntChannel 4 жыл бұрын
Doesn't work for multiplayer, both the host and the other player had this modification done
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
that sucks :/ I wonder why
@DaStuntChannel
@DaStuntChannel 4 жыл бұрын
@@RugbugRedfern "unknown user" or something like that when player joining
@oscarmagnusson1478
@oscarmagnusson1478 4 жыл бұрын
@@DaStuntChannel It works for me just make sure u guys got the exact same files
@whitneyphaup9811
@whitneyphaup9811 2 жыл бұрын
Why can’t I play with friends anymore:(
@Random0890_
@Random0890_ 2 жыл бұрын
verify game files
@teazun
@teazun 4 жыл бұрын
can I just "turn the cheats off" by rewriting the line I deleted?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Yep!
@seba5512
@seba5512 3 жыл бұрын
this broke my game and i cant fix that
@Random0890_
@Random0890_ 2 жыл бұрын
verify game files
@jaydexter6078
@jaydexter6078 6 ай бұрын
You are a legend thank you
@piglinman6760
@piglinman6760 3 жыл бұрын
thank you i am now subed
@sceikdavid
@sceikdavid 4 жыл бұрын
how i re-enable time progression? typing /timeprogress not working :(
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
You need to type /timeprogress true
@__bartellos__9512
@__bartellos__9512 4 жыл бұрын
I thought it didn't work but I didn't have a key pressed
@forter2404
@forter2404 4 жыл бұрын
what key? it doesn't work for me
@MC_Solbakken
@MC_Solbakken 4 жыл бұрын
my friend cant join me on multiplayer anymore after i did this, is there anything to do?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Either your friend needs to do the exact same thing you did, or you need to revert it back to the original.
@yaboipy
@yaboipy 4 жыл бұрын
can i make it possible so u can play multiplayer with hacks?
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
not atm
@matthewwrn83
@matthewwrn83 4 жыл бұрын
daady how did u find this out
@nadezhdalynxsnep161
@nadezhdalynxsnep161 3 жыл бұрын
when i used the Original Pasted File it doesn't work
@RugbugRedfern
@RugbugRedfern 3 жыл бұрын
Uninstall and reinstall the game
@cocojackin1461
@cocojackin1461 4 жыл бұрын
Time for lock!!!😢😢
@traxik3179
@traxik3179 2 жыл бұрын
why this is no working :(
@NuggetSamurai
@NuggetSamurai 4 жыл бұрын
How do you cancel god mode
@ariantabib3238
@ariantabib3238 4 жыл бұрын
Nice 😐👍
@hotshotcandy5297
@hotshotcandy5297 4 жыл бұрын
I can code my own commands
@FamousFPS
@FamousFPS 2 жыл бұрын
not working anymore
@rickyboyy88
@rickyboyy88 3 жыл бұрын
this does not work for multiplayer sessions
@shu_quinn
@shu_quinn 3 жыл бұрын
ofc it doesnt lol, this isnt how the game was installed originally so it shouldnt work online
@Eldamian0
@Eldamian0 2 жыл бұрын
I have nothing to say except... THANK YOU
@Bohnson.
@Bohnson. 3 жыл бұрын
/ammo 50 potatos
@maltheravn541
@maltheravn541 3 жыл бұрын
Thanks nice vid
@Marlon-fr5hg
@Marlon-fr5hg 4 жыл бұрын
Its not working,
@guestawesomeness4388
@guestawesomeness4388 3 жыл бұрын
this dosnt work
@alexskinner4497
@alexskinner4497 3 жыл бұрын
it is not working
@oskar4121
@oskar4121 Жыл бұрын
not working :(
@dongqingwei5286
@dongqingwei5286 3 жыл бұрын
thank you : )
@TheBionics.
@TheBionics. 4 жыл бұрын
mine dosent work? but its a replica of what u did? sry i just had to save it
@nasky5186
@nasky5186 4 жыл бұрын
Thanks for helping out, my game crashed while riding an elevator in a warehouse and me and my friend glitched in the ground under it, unable to do anything.
@zane_the_baker5794
@zane_the_baker5794 4 жыл бұрын
what commands did you use?
@nasky5186
@nasky5186 4 жыл бұрын
@@zane_the_baker5794 I used /decrypt and broke the elevator wall.
@youtubeburakemre4080
@youtubeburakemre4080 2 жыл бұрын
not working
@tommyhammel
@tommyhammel 4 жыл бұрын
This isn’t working for me anymore. It worked last time I played the game but now none of the commands work.
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
There was an update a few days ago, which probably reset the code. You'll have to redo the code editing to get it to work again.
@tommyhammel
@tommyhammel 4 жыл бұрын
Rugbug Redfern I tried that and it didn’t work
@YourFriendMathew
@YourFriendMathew 2 жыл бұрын
it no WORK
@inseto2557
@inseto2557 2 жыл бұрын
Marijuana
@kevinpepe2665
@kevinpepe2665 4 жыл бұрын
Redbug Redfern, Thank you so very much!!!!
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
no problem, kevin :)
@xXThunderWorldXx
@xXThunderWorldXx 2 жыл бұрын
0:40
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
SHAPALAQ 6 серия / 3 часть #aminkavitaminka #aminak #aminokka #расулшоу
00:59
Аминка Витаминка
Рет қаралды 2 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 23 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 19 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33