Space Engineers

Space Engineers

Whip's Script Replacer Block
40 Comments
Flepricon 27 May, 2023 @ 7:12pm 
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 Jan, 2023 @ 10:45pm 
@ 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  [author] 3 Dec, 2022 @ 2:22pm 
The below discussion is not at all relevant to the function of this mod.
Wickedcube 3 Dec, 2022 @ 4:41am 
if anyone understands what the physics proffesors are talking about below pleas simplify for everyone else...
Whiplash141  [author] 25 Nov, 2022 @ 12:06pm 
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 @ 8:58am 
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 @ 1:47am 
Dammit!
Thanks anyway 🍻
Whiplash141  [author] 22 Nov, 2022 @ 9:02am 
There is no way to get the true size of a thing from an axis aligned bounding box
funhans 22 Nov, 2022 @ 1:49am 
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 @ 1:45am 
@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 @ 3:12pm 
ok cool!
Whiplash141  [author] 7 Nov, 2022 @ 3:11pm 
@Anubis: I love in-game scripting, I hate modding haha
Whiplash141  [author] 7 Nov, 2022 @ 3:11pm 
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 @ 3:04pm 
not sure if this would decrease PB load on my server, but still nice nonetheless.
Anubis 7 Nov, 2022 @ 3:49am 
Sad to hear you hate modding, you make some of the most amazing scripts; particularly love your block renamer
lechkingofdead 7 Nov, 2022 @ 12:56am 
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 @ 5:48am 
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS DOB
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░ COPY AND PASTE
░░░░░░░▄▄▐▌▄▄░░░ SO HE CAN TAKE
░░░░░░░▀███▀█░▄░░ OVER THE
░░░░░░▐▌▀▄▀▄▀▐▄░░ WORKSHOP
░░░░░░▐▀░░░░░░▐▌░░
░░░░░░█░░░░░░░░█░░░
░░░░░▐▌░░░░░░░░░█░░ Love you whip, just wanted to send you a notification.
Whiplash141  [author] 13 Oct, 2022 @ 4:02pm 
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 @ 11:32am 
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  [author] 13 Oct, 2022 @ 6:34am 
Idk what you are asking, Bio-Hazard
Bio-Hazard 12 Oct, 2022 @ 11:31pm 
Mod load order script maybe?
Loki492 10 Oct, 2022 @ 7:23am 
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 @ 1:10pm 
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 @ 2:17am 
Cures depression! X'D
Spaceman Spiff 5 Oct, 2022 @ 3:01pm 
You're a genius, Gump!
REV4666 5 Oct, 2022 @ 1:46pm 
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 @ 1:45pm 
can you make script replacement be controllable by scripts?
Rusted Droid 5 Oct, 2022 @ 9:57am 
I rather have Cockpit/Remote control "toolbar manager"
Ronin Planetary Industries (RPI) 5 Oct, 2022 @ 9:05am 
Be wary of the Whip... wery wary...
Whiplash141  [author] 5 Oct, 2022 @ 9:00am 
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 (RPI) 5 Oct, 2022 @ 8:56am 
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 @ 4:15am 
@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 @ 8:56pm 
I hope You never quit! Nice job! :steamthumbsup:
ToedPeregrine4 4 Oct, 2022 @ 7:19pm 
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 @ 3:56pm 
Never change whip.
Elytra 4 Oct, 2022 @ 2:32pm 
You truly work wonders.
ZEO CMF 4 Oct, 2022 @ 10:55am 
Going above and beyond with it updating the projection also! Thank you Whiplash
Lunatricky 4 Oct, 2022 @ 1:18am 
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!
(e)GSV No Patience And No Time 3 Oct, 2022 @ 9:50pm 
nice one Whiplash, another front pager!
Phoenix 3 Oct, 2022 @ 9:27pm 
Just wow. This is definitely going to make life easier. Thanks, Whiplash o7