Space Engineers

Space Engineers

Whip's Scripts
134 kommentarer
Rightraoedhelontidae 6. jan. 2024 kl. 10:36 
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 FJERNET}
{LINK FJERNET}
{LINK FJERNET}
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 7. aug. 2022 kl. 12:32 
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 3. apr. 2021 kl. 15:20 
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 26. juni 2020 kl. 20:46 
Whip, keep it up man. Your scripts are the "Stark Industries" of SE weapons systems.
Whiplash141  [ophavsmand] 22. juni 2020 kl. 21:10 
"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 22. juni 2020 kl. 17:48 
Like using your homing missile scripts. Is WHAM Status Screens still in development?
Whiplash141  [ophavsmand] 5. maj 2020 kl. 12:58 
" 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 5. maj 2020 kl. 11:52 
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 29. jan. 2020 kl. 14:24 
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 27. jan. 2020 kl. 16:18 
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://steamhost.cn/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.
Dodgy Asian Tobacconist 26. jan. 2020 kl. 0:00 
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 22. nov. 2019 kl. 2:19 
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  [ophavsmand] 21. nov. 2019 kl. 10:50 
Please post more info in the bug reports of that actual script please.
Luke 21. nov. 2019 kl. 10:31 
@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  [ophavsmand] 21. nov. 2019 kl. 6:27 
@ 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 20. nov. 2019 kl. 22:41 
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 24. sep. 2019 kl. 13:26 
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  [ophavsmand] 10. aug. 2019 kl. 12:26 
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 10. aug. 2019 kl. 11:05 
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 9. aug. 2019 kl. 17:30 
That worked, thanks a bunch :)
Whiplash141  [ophavsmand] 9. aug. 2019 kl. 14:19 
Within your program somewhere you simply call the function like:

string someString = Vector2Gps(someVector, "some name");
epflederer 9. aug. 2019 kl. 11:37 
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 9. aug. 2019 kl. 11:04 
I'll try that, thanks. I'm just getting into scripting, so I must consult the gods for help :D
Whiplash141  [ophavsmand] 9. aug. 2019 kl. 9:18 
@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 9. aug. 2019 kl. 8:54 
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 16. juli 2019 kl. 3:48 
Very very good work! Thank you very much!!
oOAlastorOo 8. juli 2019 kl. 12:08 
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 27. juni 2019 kl. 9:26 
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  [ophavsmand] 19. juni 2019 kl. 21:05 
Not really lol. If I were to try something, it would be some simple keybinding stuff :P
Qobura 9. juni 2019 kl. 16:40 
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  [ophavsmand] 12. maj 2019 kl. 14:22 
Sadly no. There are no hooks in the API that would allow that currently.
c0de 12. maj 2019 kl. 11:17 
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 9. maj 2019 kl. 14:15 
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 24. apr. 2019 kl. 16:23 
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!
Выхухоль 12. apr. 2019 kl. 7:41 
Не работает нихира.
Whiplash141  [ophavsmand] 9. apr. 2019 kl. 14:03 
I'll try and throw one together relatively soon
xDylan03x 9. apr. 2019 kl. 13:56 
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  [ophavsmand] 9. apr. 2019 kl. 5:35 
Glad to hear it, soap, the language in SE is c# :)
Mazlak951 9. apr. 2019 kl. 4:30 
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 8. apr. 2019 kl. 20:33 
@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 8. apr. 2019 kl. 20:09 
@Liberty

Okay, so, why does a carrier need Skid Steering?
Liberty Bull 8. apr. 2019 kl. 17:40 
"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 8. apr. 2019 kl. 15:02 
Cool!
Whiplash141  [ophavsmand] 8. apr. 2019 kl. 11:37 
Radar is now released :)
CTH2004 31. mar. 2019 kl. 19:49 
@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  [ophavsmand] 31. mar. 2019 kl. 14:31 
Possibly, but I hate the premise of gravity drives XD

Retro-thrust is for automated braking like in my Paperboy FAC
CTH2004 31. mar. 2019 kl. 9:46 
So, will the grav drive be added?

Also, awsome scripts!

And, what will the Retro-Thrust script do?
Whiplash141  [ophavsmand] 31. mar. 2019 kl. 8:29 
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 31. mar. 2019 kl. 7:13 
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!