Stormworks: Build and Rescue

Stormworks: Build and Rescue

Carsa's Commands
117 Comments
NPC Sep 2, 2023 @ 11:44am 
Could you add a command that fixes a vehicle by choosing a vehicle id?
L34F[DHT] Aug 18, 2023 @ 5:33pm 
Is there a way to hard code admins outside of the owner role on a dedicated server? we are having a few troubles with this
NPC Apr 23, 2023 @ 5:57am 
Why cant i add this to my Stormworks collection
skullblits Oct 7, 2022 @ 7:21am 
anyone know how to give yourself c4? i cant figure the code out :(
carsakiller  [author] Mar 18, 2022 @ 9:08am 
v2 of Carsa's Commands is out now!! [c2.carsakiller.com]. This workshop page is now archived so please check out v2.

Find it on steam
Nexus2Go Feb 23, 2022 @ 6:55am 
How do I do it on My Devi Server?^^
NPC Feb 19, 2022 @ 10:54am 
alr ty
carsakiller  [author] Feb 19, 2022 @ 8:58am 
@❄️BoxTruckRp🛠️❄ A refuel and recharge command is planned for v2.0
carsakiller  [author] Feb 19, 2022 @ 8:56am 
@Mrtrex500 you can use `?vehicle_list` to view the list of vehicles and their ids. You can also use the `?toggle_ids` command to view the ids of the vehicles near you.
NPC Feb 17, 2022 @ 6:09am 
how do i get a vehicle id?
BoxTruck Feb 7, 2022 @ 8:08pm 
Can u possibly add a refueling/recharging command maybe like ?refuel/recharge [Vehice id] true/false/1/0
carsakiller  [author] Jan 29, 2022 @ 6:56am 
@dat epic bunny
You can see your peerID in game by holding the backtick key (`)
乔治·弗洛伊德 #fent Jan 27, 2022 @ 5:41pm 
whats my peer id?
Dargino  [author] Dec 5, 2021 @ 8:55pm 
@Sir. Vapenation
The edit I made to the addon previously does include an alternative command that displays the equipment IDs in chat instead of using the notify box. try ?equipment_ids_chat, instead of ?equipment_ids.
Cigarette Dec 5, 2021 @ 7:44pm 
We need a Equipment ID list, the one in-game is to large, and goes off screen.
carsakiller  [author] Oct 22, 2021 @ 7:14pm 
Good news! There is a new update for Carsa's Commands that addresses many of the issues that arose over the past 10 months! .

Thanks goes to Dargino for this patch!
carsakiller  [author] Oct 19, 2021 @ 10:11am 
@Tinytornado77 You can use the ?bailout command to give yourself money. Otherwise, there should be a setting in the custom game menu that allows you to enable sandbox mode or disable currency.
carsakiller  [author] Oct 19, 2021 @ 10:01am 
@Dargino That's awesome! Thank you! A major update is coming in the future, that will add new features, as well as address all the changes made in the game that have broken some features of the addon.

However, I am currently very busy so being able to implement your changes in the meantime would be nice. I added a contributing file [github.com] to the GitHub repo. If you could follow the instructions there that would be great!
Dargino  [author] Oct 17, 2021 @ 6:04pm 
@carsakiller Is it possible for me to upload a repaired version of the script that works in the most recent patch? or do you still want to update it yourself?
Mango Sunkist Aug 9, 2021 @ 8:40am 
How do you get infinite money?
Bobcat Jun 26, 2021 @ 9:30am 
That's.. confusing(?) But thanks for shedding some light on this. Best of luck to where you take your projects next.
carsakiller  [author] Jun 25, 2021 @ 4:29pm 
@NINExTAILS, ah, that appears to be broken as of today's update. You can now (finally) set the fuel/ammo of tools through Lua it appears... but rather than it defaulting to full, I suppose it defaults to empty??? Makes sense.
Bobcat Jun 25, 2021 @ 12:10pm 
I've noticed this addon conflicts with other systems, and removes stored munitions from tools (such as fuel for the welding torch.) However I understand you have left stormworks and I don't expect this error to be fixed. It was a good system while it lasted.
DeadeyeFalx Jun 9, 2021 @ 8:57pm 
Why cant you come back, you seem like such a nice person :< Please dont leave I never want to see such great people as you gone from this commmunity
carsakiller  [author] Jun 7, 2021 @ 6:33pm 
@line_law, as far as I know, you cannot damage select blocks in the way you describe using addon Lua.
carsakiller  [author] Jun 7, 2021 @ 6:32pm 
@HyperF1ex, that sounds relatively easy to add, at least with the knowledge I have from a while ago. Perhaps someone in the Lua chat on the official Discord server could assist you with that
waxxx May 12, 2021 @ 7:22pm 
100/10
line Apr 27, 2021 @ 9:45pm 
make a command that damages the thing your standing on cause i like to break micro controlers :D and if possable do it what your looking at and or do it so it damages the item that your faceing thats on the same hight as your head or make the hight a arg
HyperF1ex Apr 20, 2021 @ 12:59am 
You should make a command so you make make fire where you are. Since the 1.0 update fire can spread and I'm looking for some cool survival fire boat challenges! Do you think you could add that :2017stickycrab:
carsakiller  [author] Mar 24, 2021 @ 8:49am 
@Mechanos if you'd like you can make a local copy and edit the code yourself to have cheats disabled by default on all new worlds you start. You would change line 10 (under preference_defaults) to false:
cheats = true -> cheats = false
Mechanos Mar 23, 2021 @ 10:42pm 
Fair enough. I disagree with your reasoning for enabling the cheats by default though. Many people use this mod for non-cheat options, and many people also do not cheat even when they sandbox. Aka, they still unlock parts/money and focus more on building, but don't enable teleporting/spawning things/etc to keep vehicles relevant.
carsakiller  [author] Mar 23, 2021 @ 8:59am 
@Mechanos cheats are enabled by default because I know that is the way my friends and I preferred to play the game. Most people play in creative, not career, so people would likely end up enabling them more than disabling them.

I was planning to add custom roles at one point so you can give specific permissions to specific roles and then assign people those roles, but I no longer play Stormworks.
Mechanos Mar 22, 2021 @ 9:04pm 
I personally would like this mod better if you got rid of enabling cheats by default. And also git rid of letting admins bypass everything. Sometimes you want to give a couple people admin to help out with a dedicated server, but don't want want to dangle more carrots in front of their faces.. know what I mean?
carsakiller  [author] Mar 10, 2021 @ 11:38am 
No problem :)
Flocon Noir Mar 10, 2021 @ 11:22am 
Ah ok
Yep, it works
Thanks ^^
carsakiller  [author] Mar 10, 2021 @ 9:54am 
@Faucon Noir the command would go like so: ?set_preference start_equipment 19 11 15

I can't return failure feedback on an unrecognized command because it will be triggered every time you enter a command for some other script.
Flocon Noir Mar 10, 2021 @ 9:10am 
I can't use the ?start_equipment
When I enter ?start_equipment 19, 11, 15 nothing happens
Same thing when I enter the command 19 11 15
I have no success or failure feedback, and when I kill my avatar, I respawn with the equipment 15 6 11
carsakiller  [author] Mar 5, 2021 @ 12:20pm 
@Refik as in get a new default mission? That is not possible. I think there is already a command for that in the game though ?mstart or something similar.
Refik Mar 5, 2021 @ 7:43am 
Can you add a get new mission command?
carsakiller  [author] Feb 28, 2021 @ 10:06am 
@NINExTAILS there is no feature in the API to extinguish fires. It could be done by spawning in a vehicle with sprinklers but I no longer play Stormworks so that will have to be the work of someone else ;)
carsakiller  [author] Feb 28, 2021 @ 10:05am 
@LIGHTNING LORD the command is ?tp2me peer_id notice the space, underscores will not work the same.
Lightning Feb 28, 2021 @ 5:00am 
it dosent work for me
Lightning Feb 28, 2021 @ 4:59am 
I tryed tping my friend by using ?tp2me_1 will that work?
Bobcat Feb 17, 2021 @ 9:20am 
And how 'bout an extinguish command? (extinguishes fires lol)
carsakiller  [author] Feb 16, 2021 @ 1:18pm 
@NINExTAILS I believe teleporting a vehicle will still reset them to a brand new state. It may have been fixed but you can give it a try.
Bobcat Feb 16, 2021 @ 1:07pm 
Is it possible to make, or is there a command that can (fully) fix any broken parts of vehicles?
Ex: "?fix_###"
carsakiller  [author] Feb 15, 2021 @ 8:09am 
@Will changing those values would change the values for all players upon join (so everyone would be an owner). There is another way to make it auto-add you as an owner but that would only work for the first start of the world (so no different really than the current way of it making the first player to join an owner).

I was planning an update to the script targeted at dedicated servers so I can add the ability to hard code an owner like you mentioned for that update.

I would be very interested in seeing your g_savedata file and hearing more about this. Can you contact me on Discord at Carsakiller#5659 (or on steam if you don't have Discord)
Will Feb 14, 2021 @ 11:42pm 
@carsakiller, I'm running a dedicated, and it was on a saved game, but seems maybe either the dedicated software handles it differently, or I'm not sure. As I've made sure to save game after becoming owner, and yet I rejoin and I am no longer owner. However, I've taken a look into the LUA, and found this portion.

}

PLAYER_DATA_DEFAULTS = {
owner = false,
admin = false,
auth = false
}

Is this an area to add my SteamID, and make sure I'm always owner no matter what? I'm just not sure of the formatting. It would be much easier for Dedicated owners to have an area to add their SteamID so the first to join isn't the owner. But we can go into the Config/Lua and edit to make us the owner no matter what.
carsakiller  [author] Feb 14, 2021 @ 3:27pm 
@Will the script always uses steamIDs for assigning and remembering roles. These roles do not save across different saves though and you must make sure to save the game after editing roles to save the changes.
Will Feb 14, 2021 @ 3:10pm 
Hey sorry for the late response, got the vehicle spawning to work. Now I've come to another crossroad, is there a way in the lua file to make me owner by using my SteamID? I logged onto my server today, and I was no longer owner.