Space Engineers

Space Engineers

Whip's Scripts
134 Comments
Rightraoedhelontidae Minima Jan 6, 2024 @ 5:36pm 
Do we have any ETA on when the location-based stabilizer will be released?
I asked around 5 months ago on the TCES page and you gave me those incredible gifs!
{LINK REMOVED}
{LINK REMOVED}
{LINK REMOVED}
But take your time i don't want to rush you! You make incredible scripts but don't sacrifice your health for them :steamthumbsup:
CTH2004 Aug 7, 2022 @ 7:32pm 
I love these scripts, but I just came up with another:
WHEES: Whip's Highly Easy Elevator Script

It allows you to easily make elevators. for more info on how it works, I put a comment Here, in my script discussion

Whip, would you consider looking at it?
CTH2004 Apr 3, 2021 @ 10:20pm 
I made a place for script ideas! (Improvments would go in the scripts, unless you want me to make another discusion)

It is here , if you want the story as to it's development, read the free-style poem!

@HiddenMosquito
Indeed
Beltrán White Jun 27, 2020 @ 3:46am 
Whip, keep it up man. Your scripts are the "Stark Industries" of SE weapons systems.
Whiplash141  [author] Jun 23, 2020 @ 4:10am 
"Is WHAM Status Screens still in development?"

Yep. I've stopped having fun coding after forcing myself to finish WHAM/LAMP, so I'm taking it a bit slow so I don't burn out entirely.
jackintosh157 Jun 23, 2020 @ 12:48am 
Like using your homing missile scripts. Is WHAM Status Screens still in development?
Whiplash141  [author] May 5, 2020 @ 7:58pm 
" Is there a way I can easily edit this script to also harness subrgrid gyros"
No. There is no trivial way to do that. I am working on a script specifically for that.
Bluperman949 May 5, 2020 @ 6:52pm 
Hello! I've just installed your script on my ship and it works very well! However, the grid which is attached via rotors is very heavy and I've run out of room on my main grid for gyros. Is there a way I can easily edit this script to also harness subrgrid gyros, or do you have another script which does this?

Thanks,
~Blu
QueenĐaniiii Jan 29, 2020 @ 9:24pm 
Hey Whip! I would like to get in touch with you about publicly publishing a fork and reworked version of one of your scripts that hasnt been workshop published (grav drive, specifically). I'd like to publish it with your permission, and be completely transparent about the fact its a fork by crediting both you and the original source. I'm also on the Keen discord under the same name, if that is more convenient.

Thanks!
Ace Jan 27, 2020 @ 11:18pm 
I feel like your turret slaving and rotor turret script could be adapted to create a fixed weapon drone that operates on gyros. Is it truly as simple as it sounds? I'm sure you get script requests all the time but if it is as simple as I think it is, I thought it might interest you.

https://steamcommunity.com/sharedfiles/filedetails/?id=1173546183 This script seems like what I would have wanted but apparently it's broken.

I dream for a drone script that causes drones to orient fixed weapons at a target and start shooting along the same axis. Bonus points if the script has an option to give chase up to a point.

If this sounds like something you could do, since I can't heckin' script to save my life, I'll make it worth your time and straight up commission you to make such a script if you're not interested in building it otherwise.

If not, it's cool. I can dream.
The Fent Führer Jan 26, 2020 @ 7:00am 
Your scripts are great and i still use them today! However i did notice you dont have a solar tracking script, are there any you would recommend?
Luke Nov 22, 2019 @ 9:19am 
okay idk how ill get a bug report but it works fine for my faction member and i can use his rotor turret done it the exact same way
Whiplash141  [author] Nov 21, 2019 @ 5:50pm 
Please post more info in the bug reports of that actual script please.
Luke Nov 21, 2019 @ 5:31pm 
@whiplash141 i have set up your mouse turret script correctly but i cant use it but my friend can and i can use his
Whiplash141  [author] Nov 21, 2019 @ 1:27pm 
@ Person with no name using my retro thrust script:
Put the program on your ship then use arguments: on, off, or toggle

Their function should be apparent :P

@midaknight:
I write hundreds of little codes that aren't fully polished that I never get around to releasing (like that retro braking script lol)

I have a repository of some ot them here: https://github.com/Whiplash141/SpaceEngineersScripts/tree/master/Public
Midna Knight Nov 21, 2019 @ 5:41am 
this is a bit of an odd one, but i found in the dust corners of reddit a script you made that will automagically set a speed limit too your ships....I'm just wondering why its not here, its perfect if you use a speed mod for planetary exploration without over accelerating back to space ((reposted for spelling, couldn't find an edit button))
Xerberim Sep 24, 2019 @ 8:26pm 
I am trying to get your retro braking script to run. Can you add this to your collection with some explanation, please? Big THX youre great!
Whiplash141  [author] Aug 10, 2019 @ 7:26pm 
I think discord might be a better place for these discussions :)

Keen has a discord that has an ingame programming channel. It is much easier for me/others to help you there.

https://discord.gg/keenswh

:)
epflederer Aug 10, 2019 @ 6:05pm 
I need help with another script. Here's the code so far:

public Program()
{
Runtime.UpdateFrequency = UpdateFrequency.Update10;
}

void Main()
{
var Cockpit = GridTerminalSystem.GetBlockWithName("Cockpit") as IMyShipController;
if(Cockpit.IsUnderControl)
{
List<IMyTerminalBlock> ThrustersList = new List<IMyTerminalBlock>();
GridTerminalSystem.GetBlocksOfType<IMyThrust>(ThrustersList);
foreach(var Thruster in ThrustersList)
{
var A = Thruster.GetProperty("MaxEffectiveThrust");
float B = Convert.ToSingle(A);
Thruster.SetValue("Override", (B));
}
}
}

I need it to get the max effective thrust of each thruster and apply it to override, but it just sets to zero. I dont know what im doing wrong
epflederer Aug 10, 2019 @ 12:30am 
That worked, thanks a bunch :)
Whiplash141  [author] Aug 9, 2019 @ 9:19pm 
Within your program somewhere you simply call the function like:

string someString = Vector2Gps(someVector, "some name");
epflederer Aug 9, 2019 @ 6:37pm 
I get a warning that says "the local function 'Vector2Gps' is declared but never used. How to I use that to get a string that i can use?
epflederer Aug 9, 2019 @ 6:04pm 
I'll try that, thanks. I'm just getting into scripting, so I must consult the gods for help :D
Whiplash141  [author] Aug 9, 2019 @ 4:18pm 
@epflederer
That's just a matter of string formatting:

string Vector2Gps(Vector3D vector, string name)
{
return $"GPS:{name}:{vector.X}:{vector.Y}:{vector.Z}:";
}

I'm pretty sure that's the format, but I'm on mobile so I can't check
epflederer Aug 9, 2019 @ 3:54pm 
Can I ask for some scripting help? I'm trying to make a script that can get the position of a block, then convert it to a format that can be copypasted to the GPS list.. I can get the position, but I dont know how to convert it. Any advice would be appreciated.
el.ron.mcbong Jul 16, 2019 @ 10:48am 
Very very good work! Thank you very much!!
oOAlastorOo Jul 8, 2019 @ 7:08pm 
Hey there, didnt know where to do that, so i thought it might fit best here...

I would have an Suggestion/Request of an Script, if it is possible to you and you can afford the Time. ;)

What i am looking for, is an Script, that either takes an configured amount of Speed and tries to achive that (quite similar like your Speedmatcher, but with an predetermined Speed), or triggers timers based on to high or to low speed... (so you could put respective thrusters or other things here to accelerate/brake)

I came to that Idead, as i design an orbital satellite on the verge of Gravity, that handles precise drops very well, but the pod that goes from planet to satellite is either to slow, or to fast based on weight if i use override thrusters... (either crashes fullspeed into the docking ring, or drops/doesnt even lift off)

Would be nice, if you could think about doing something along those lines, as i could see a few uses :)
DentRed Jun 27, 2019 @ 4:26pm 
Hey Whiplash I just wanted to thank you for all the amazing scripts you have released to the Space engineers community. Time and time again I am blown away by you shattering my expectations of what is possible in space engineers. Your scripts have had a large impact on how I play and enjoy the game and I appreciate it.

I do have a quick question about your gravity alignment script if it's not to much trouble. I would like to know if the Alignment Angle could be changed easily? I want to make a ship capable of drilling/ flying at a set pitch angle for making tunnels or roads at a set gradient.

Anyway Cheers mate, Glad your out there making Space engineers even better.
Whiplash141  [author] Jun 20, 2019 @ 4:05am 
Not really lol. If I were to try something, it would be some simple keybinding stuff :P
Qobura Jun 9, 2019 @ 11:40pm 
Do you have any interest in making a competitor to MarmOS that doesn't require a Master's degree to operate? I'm trying to do neat things with arm-mounted tools and it's frankly impossible to comprehend.
Whiplash141  [author] May 12, 2019 @ 9:22pm 
Sadly no. There are no hooks in the API that would allow that currently.
c0de May 12, 2019 @ 6:17pm 
hey whip! is there ANY possible way to setup a script to show on an LCD what a camera is seeing? almost like a display screen on a startrek bridge!?
CTH2004 May 9, 2019 @ 9:15pm 
Okay, I put some ideas on the "Ideas" thread on Whips Auto Door and Airlock script!

The "variable airlock" is, if I say so myself, a good idea!
CTH2004 Apr 24, 2019 @ 11:23pm 
The non-updated ones (The ones you removed)

should go in their own collection! (An archive collection) (That is in this collection) So, it's there as an archive!

Also, 100th comment!
Выхухоль Apr 12, 2019 @ 2:41pm 
Не работает нихира.
Whiplash141  [author] Apr 9, 2019 @ 9:03pm 
I'll try and throw one together relatively soon
xDylan03x Apr 9, 2019 @ 8:56pm 
Could you add a tutorial video to the radar script. Or if anyone has a link to one it would be much appropriated. I’m having trouble with mine.
Whiplash141  [author] Apr 9, 2019 @ 12:35pm 
Glad to hear it, soap, the language in SE is c# :)
Mazlak951 Apr 9, 2019 @ 11:30am 
I rarely comment on the workshop but your scripts have brought my Space Engineer's game to a whole new level. Thank you for your amazing contributions that are so easy to understand and use. You have inspired me to become more familiar with C++ so that I can make things like this. Just thoroughly well done.
Liberty Bull Apr 9, 2019 @ 3:33am 
@CTH i said it could use it, not neccesarily *need* it, but it's currently a "hover" aircraft carrier using large 5x5 wheels with 0 friction, and skid steering opens up the ability for me to maybe not have to go the hover route but regular wheels. Probably gonna stick with hover for robustness.
CTH2004 Apr 9, 2019 @ 3:09am 
@Liberty

Okay, so, why does a carrier need Skid Steering?
Liberty Bull Apr 9, 2019 @ 12:40am 
"Upcoming: My own exploit free homing missile system, [REDACTED], Retro thrust braking script, gravity alignment, tank skid steering, and various updates to my existing scripts :)"

Literally every single one of those things solve multiple things I'm working on right now. Making a detailed F/A-18 (homing missile system) with accompanying Aircraft Carrier (tank skid steering) and refueling plane (gravity alignment). Already implementing your turret based radar and seeing how i can implement your missile system.
CTH2004 Apr 8, 2019 @ 10:02pm 
Cool!
Whiplash141  [author] Apr 8, 2019 @ 6:37pm 
Radar is now released :)
CTH2004 Apr 1, 2019 @ 2:49am 
@Whiplash141

Ok, can’t wait to see what the Retro-Thrust does! (WIll look at that item...)

Though, I must ask, what do you dislike about the grav-drives? Is it the realisim (Lack of)?

Also, you might want to consider the static merge idea (Less realistic, but it involves clang...)

Well, have a nice day

Also, you might want to move those “obsolete” scripts into a new collection (Archive?), so that we can use the “Subscribe to all,” and it makes it look cleaner! Then, you can connect the collections together, by adding the “archive” one to here! Just another suggestiong though!
Whiplash141  [author] Mar 31, 2019 @ 9:31pm 
Possibly, but I hate the premise of gravity drives XD

Retro-thrust is for automated braking like in my Paperboy FAC
CTH2004 Mar 31, 2019 @ 4:46pm 
So, will the grav drive be added?

Also, awsome scripts!

And, what will the Retro-Thrust script do?
Whiplash141  [author] Mar 31, 2019 @ 3:29pm 
My own gravity drive manager is done and has existed for years, I just forgot I had it lol

Upcoming: My own exploit free homing missile system, [REDACTED], Retro thrust braking script, gravity alignment, tank skid steering, and various updates to my existing scripts :)
CTH2004 Mar 31, 2019 @ 2:13pm 
Any more scripts planned that we should be looking foword to?

Like a death ray script? (Um... I don't know how that works...)

Or, your own grav drive manager!

Or, you ever seen the Static Merge Drive engines? Maybe make your own script for making those, as well as a guide on it! As well as this one

Just ideas though!