Space Engineers

Space Engineers

Whip's Script Replacer Block
41 comentarii
Empada 13 mai la 6:55 
thanks for the script, very useful!
just a question, is it possible to also do this with cargo containers? I am using inventory sorter and it would be nice to change the custom data of my welding ship based on which ship I want to weld. for smaller ships it is not needed as I can just paste all components to one single container. but bigger ships needs more and I have to spread the list across. doing it one time and saving the setting in game would be awsome.
Flepricon 27 mai 2023 la 19:12 
You should make a script that detects players and logs them for trade zones or wtv, a sensor block that adds to a LCD maybe
BIV 27 ian. 2023 la 22:45 
@ Whiplash141 , mate I think your work is great and hope that one day I will figure out how to use it (my issue not your work). Cheers mate.
@ funhans , congrats on becoming a professional software developer.
Whiplash141  [autor] 3 dec. 2022 la 14:22 
The below discussion is not at all relevant to the function of this mod.
Wickedcube 3 dec. 2022 la 4:41 
if anyone understands what the physics proffesors are talking about below pleas simplify for everyone else...
Whiplash141  [autor] 25 nov. 2022 la 12:06 
there are any number of arbitrary oriented bounding boxes that can fit into an axis aligned bounding box. There is not enough info provided in an AABB to construct an oriented one from it.
funhans 25 nov. 2022 la 8:58 
I don´t know whether that works or not, but I have some assumptions on that:

So, we do know the size of the bounding box facing a specific world-orientation.
We also know our very own world-orientation.

In theory, if we would utilize our own coordinate system, enter the corner-points from the bounding box in that and calculate the deviation from the direction the bounding box has in the SE-world (aka it's world-orientation) to a comparision-vector (let's say (1,0,0)) then rotate the whole cuboid by this deviation => we made it uniform.
Now we can calculate our own deviation from the comparision-vector and rotate the bounding box within our own coordinate system by that deviation => We cannot get the size and we cannot draw in let's say front or back BUT it could work out as a B-Scope, couldn´t it?

I may mix things up here but - at least in my head - that sounds like it could work
funhans 23 nov. 2022 la 1:47 
Dammit!
Thanks anyway 🍻
Whiplash141  [autor] 22 nov. 2022 la 9:02 
There is no way to get the true size of a thing from an axis aligned bounding box
funhans 22 nov. 2022 la 1:49 
I'm sorry to contact you in that way, however I'm not a fan of pushing friends requests just to text with the person one time and get the answers.
One could say I'm more of a fan if such things are developing and friends are friends ...

Oh, and btw, sorry for spamming the comment section of a completely off-topic script 👀
funhans 22 nov. 2022 la 1:45 
@Whiplash141:
Fun fact: Your scripts and of course, SE brought me to learn my current profession :D

Problem with this:
I'm now a professional software developer, however I still have my issues with getting the math of SE together 🤪

Specifically I try to get the size of a MyDetectedEntityInfo object - that apparently seems to change depending on my angle to it (guess, it's simply world aligned).
I know the vector-transformations from MDK-SE's wiki - but I'm not able to get it to work 🤦‍♂️
flamingtext 7 nov. 2022 la 15:12 
ok cool!
Whiplash141  [autor] 7 nov. 2022 la 15:11 
@Anubis: I love in-game scripting, I hate modding haha
Whiplash141  [autor] 7 nov. 2022 la 15:11 
It doesn't change anything about how a script runs, it simply allows you to batch replace scripts on a ship :)
flamingtext 7 nov. 2022 la 15:04 
not sure if this would decrease PB load on my server, but still nice nonetheless.
Anubis 7 nov. 2022 la 3:49 
Sad to hear you hate modding, you make some of the most amazing scripts; particularly love your block renamer
lechkingofdead 7 nov. 2022 la 0:56 
oh now this is way to good of a early birthday present (nov 20th) to pass up on collecting. and i never bother with script updating :P but i do also forget to use em to make my life easyer so another one to save my ass.
RaptorTamer 23 oct. 2022 la 5:48 
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS DOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ COPY AND PASTE
░░░░░░░▄▄▐▌▄▄░░░ SO HE CAN TAKE
░░░░░░░▀███▀█░▄░░ OVER THE
░░░░░░▐▌▀▄▀▄▀▐▄░░ WORKSHOP
░░░░░░▐▀░░░░░░▐▌░░
░░░░░░█░░░░░░░░█░░░
░░░░░▐▌░░░░░░░░░█░░ Love you whip, just wanted to send you a notification.
Whiplash141  [autor] 13 oct. 2022 la 16:02 
Mods can't modify the load order of other mods. Also as hinted at by "I hate modding", I don't have a pressing desire to make many more mods.
Bio-Hazard 13 oct. 2022 la 11:32 
A script to check the mods to see if they need to be moved around or see if a few mods are conflicting I don't know if this can be done but it would make trouble shooting mods easier
Whiplash141  [autor] 13 oct. 2022 la 6:34 
Idk what you are asking, Bio-Hazard
Bio-Hazard 12 oct. 2022 la 23:31 
Mod load order script maybe?
Loki492 10 oct. 2022 la 7:23 
SWEET JESUS HE RETURNS TO US!
This issue has been driving me mad for years!
Thank you for making this less of a pain in the ass.
StrayCat77 6 oct. 2022 la 13:10 
I have a madman ship with alot of missiles, this is helpfull.
Also big thanks to you for all the scripts that inspired me.
DreadfulErik 6 oct. 2022 la 2:17 
Cures depression! X'D
Spaceman Spiff 5 oct. 2022 la 15:01 
You're a genius, Gump!
REV4666 5 oct. 2022 la 13:46 
i'm not at the Madman level yet (my ship only have 14 Wham missile +reload projection... for now) but I think I will need this soon especially for the section where it replace in the projector.
Ribbons0121R121 5 oct. 2022 la 13:45 
can you make script replacement be controllable by scripts?
Rusted Droid 5 oct. 2022 la 9:57 
I rather have Cockpit/Remote control "toolbar manager"
Ronin Planetary Industries 5 oct. 2022 la 9:05 
Be wary of the Whip... wery wary...
Whiplash141  [autor] 5 oct. 2022 la 9:00 
That is not at all what this mod does, but that is possible and I have a mod for that in the works.
Ronin Planetary Industries 5 oct. 2022 la 8:56 
Whip for the Win. I'm a little confused though. Can this effectively turn a script into a mod? Like take MMaster's Automatic LCDs 2 script and encapsulate it into a MOD block? That would be huge for servers where in-game scripts aren't allowed but admins allow mods.
black_dragon1230 5 oct. 2022 la 4:15 
@ToedPeregrine4 ??? Not sure why you are going on about Weaponcore with this. This cant have Weaponcore and is to do with updating his scripts.
Colonel Gant 4 oct. 2022 la 20:56 
I hope You never quit! Nice job! :steamthumbsup:
ToedPeregrine4 4 oct. 2022 la 19:19 
i wont install this script until it has weaponc ore because now its all wefaponcore an d i think you are falling behind and leaving in the ducst without weaponcore please update to use or else i wont use you r are scrutp it needs because why wouldnt you
Reavvr 4 oct. 2022 la 15:56 
Never change whip.
Elytra 4 oct. 2022 la 14:32 
You truly work wonders.
ZEO CMF 4 oct. 2022 la 10:55 
Going above and beyond with it updating the projection also! Thank you Whiplash
Lunatricky 4 oct. 2022 la 1:18 
You skipped the superficial stuff and went straight for.the juice as it should be. Good lad!
This is just perfect to update not just missiles but other scrips we use too. We just need to connect all ships save the blue print and update each script on all ships at once. This is great! Thank you!
Drach'nyen 3 oct. 2022 la 21:50 
nice one Whiplash, another front pager!
Phoenix 3 oct. 2022 la 21:27 
Just wow. This is definitely going to make life easier. Thanks, Whiplash o7