Space Engineers

Space Engineers

Whip's Speed Matcher Script
202 条留言
CDClone 1 月 20 日 上午 10:11 
i guess matching the speed is a start :P better than the nothing at all i had 10min ago :)
Whiplash141  [作者] 1 月 20 日 上午 10:06 
I do not, sorry
CDClone 1 月 20 日 上午 10:04 
if you happen to know another way to follow an enemy ship, while staying out of gun range im all ears :P otherwise i guess im at the mercy of your priorities :D :D :D
Whiplash141  [作者] 1 月 20 日 上午 10:00 
Since keen added the ability to natively speed match grids right after I made this, it has not been a high priority with the other things I've been working on.

It is possible, I'd just need to rewrite the script to support it as that would dictate a new user interface as well.
CDClone 1 月 20 日 上午 9:51 
awesome and less awesome :P

any chance you feel like adding that function? :)
Whiplash141  [作者] 1 月 20 日 上午 9:29 
> does this work with enemy ships?
Yes

> do to allso follow the altitude and if the other ship changes direction?
No
CDClone 1 月 20 日 上午 9:25 
does this work with enemy ships? and if so, do to allso follow the altitude and if the other ship changes direction?
Whiplash141  [作者] 2024 年 6 月 2 日 上午 10:21 
you must be dead on. you didn't need to look through the camera, but it certainly will help lol. and yes, a turret is fine
DakotaHartwig215 2024 年 6 月 2 日 上午 8:48 
Do i need to actually be controlling the camera to match? Or can I just trigger it by having the camera looking in the general direction and hitting match, how dead on do you have to be to match? Is it possible to mount the camera to its own turret and match that way? I'm saying match too often
Aaron Jaeger 2024 年 1 月 8 日 下午 3:22 
I figured out a way to display the Speed Matcher information to unsupported LCDs.
You need https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=407158161
1. Set up both scripts on your ship,
2. Place a LCD for Speed Matcher
3. Type (TextLCD {Name of Speed Matcher LCD}) into the 'Custom Data' of the cockpit or control seat of your choice
Whiplash141  [作者] 2024 年 1 月 3 日 上午 9:42 
No, this was written before that was possible, so I need to rewrite the rendering code from scratch
Aaron Jaeger 2024 年 1 月 3 日 上午 4:03 
would it be possible to display the speed matching information in a cockpit?
Whiplash141  [作者] 2023 年 3 月 10 日 上午 11:28 
@starseeker :"Is there a way for the camera to ignore a window block right infront of it?"

No. Raycast scans physics shapes. If you can stand on it, raycast will hit it. (Nothing scripts can do about it, its just a game mechanic)
starseeker 2023 年 3 月 10 日 上午 6:16 
Is there a way for the camera to ignore a window block right infront of it? i have it for extra protection but it just scans the ship its on i have to take the window block off of it to get it to scan another ship right in front other than that small issue works like a charm
Nicole Morningstar 2022 年 9 月 4 日 下午 2:44 
gotcha, thanks
Whiplash141  [作者] 2022 年 9 月 4 日 下午 2:20 
That indicates that something is in the way of the camera provided you are using the "match" command
Nicole Morningstar 2022 年 9 月 1 日 下午 4:55 
So i have an issue that when I try to scan another ship, either through the designated camera or by just pointing at another ship, the script just scans my own ship lol I can't get it to see anything else, any ideas? If it matters at all my ship has no windows at all, i can only use cameras and the third person view to see and its also has your Radar, Horizon and Door script loaded onto it, as well as Auto LCD's 2
RedFalconGamer 2022 年 8 月 30 日 上午 11:52 
Awesome, thanks for the clarification.
Whiplash141  [作者] 2022 年 8 月 30 日 上午 8:06 
Those are warnings, they can be ignored and the script will run fine
RedFalconGamer 2022 年 8 月 30 日 上午 7:53 
I tried to activate this script in a programmable block, and immediately got this message:

Program(433,54): Warning: 'IMyTextPanel.WritePublicText(string,bool)' is obsolete: 'LCD public text is deprecated'
Program(434,8): Warning: 'IMyTextPanel.ShowPublicTextOnScreen()' is obsolete: 'LCD public text is deprecated'

Is this actually a script breaking problem, for one thing? And if it is, is there some quick fix I can apply to correct this issue? Unfortunately I don't know much of anything about script writing.
Cosmonautical_Alex 2022 年 8 月 22 日 下午 4:10 
I've been trying to make a drone that follows me and avoids terrain. If I use your remote trigger script combined with this and a custom turret controller could I make this match my speed at all times without being in it?
Redstar 2022 年 8 月 14 日 上午 10:59 
Thank you
Whiplash141  [作者] 2022 年 8 月 14 日 上午 10:22 
Yes, speed matching is clobbering WHAMs thruster control. Exclude all of the missiles thrusters from this script with the "Ignore" tag
Redstar 2022 年 8 月 14 日 上午 6:05 
Hello! First of all, congrats on all the amazing scripts! I would like to ask a question. Whenever I use this script with the WHAM script, my missile's thrusters don't fire off during the guidance delay period, but only start working once the missile's guidance begins. Any idea why this might be happening?
Lathy...or is it 2022 年 8 月 9 日 下午 3:20 
I love this script; have for years. It's a must-have on basically any pursuit craft
Flint 2022 年 4 月 16 日 上午 11:02 
hm i did, with 1t Person Crosshair and the "Match Speed" named Cam, scanning and then "no Target" its under 5000m the Target
Whiplash141  [作者] 2022 年 4 月 16 日 上午 8:06 
No timer block. You need to aim directly at the target
Flint 2022 年 4 月 16 日 上午 6:06 
hm, i use that script, but is the Timerblock needed? how to setup the Timerblock then? Doesnt work without? all the Time i try to match Speed script (LCD) says, no Target (and im cuddeling with the Target allready) through the Camera.
Whiplash141  [作者] 2022 年 2 月 18 日 上午 4:45 
it's a warning, it will still work
BrainJax 2022 年 2 月 17 日 下午 10:16 
Hiya, I'm getting a warning when code checking: 'IMyTextPanel.WritePublicText(string, bool)' is obsolete: 'LCD public text is deprecated'
Bodyboarder2528 2021 年 6 月 23 日 下午 8:23 
:pog: that would be great
Vilk 2021 年 6 月 23 日 下午 7:29 
Thanks. It would be a significant upgrade if you can add continuous tracking, especially with the growing combat orientation in many of the PVP servers. Love the work man, thanks again.
Whiplash141  [作者] 2021 年 6 月 23 日 上午 11:33 
Yes. It is not a continuous track though, i may add that now that I have a solid method for tracking objects used in my missile scripts.
Vilk 2021 年 6 月 23 日 上午 3:32 
Does this script use raycasting to capture target?
Whiplash141  [作者] 2020 年 11 月 10 日 下午 5:05 
"question for you @Whiplash141: does this script match just speed with a target grid or velocity (including heading)?"

This script matches the velocity vector of whatever you ping
Dalten 2020 年 11 月 10 日 下午 1:41 
@Leo_Draconus @th3W0lf3 the Keen relative dampeners function has a couple drawbacks:
- It only works from cockpit/control-seat first-person view, not third person
- you have to be very close to your target to engage relative dampeners
if you wiggle your aiming reticle away from your target, it sometimes disengages relative dampeners

question for you @Whiplash141: does this script match just speed with a target grid or velocity (including heading)?
Leo_Draconus 2020 年 9 月 4 日 下午 5:26 
@Th3W0lf3 This mod is/was for versions of the game from BEFORE Keen added the Ctrl+Z function.
Th3W0lf3 2020 年 7 月 27 日 下午 8:52 
why use ths when u can just ctr z in the game ths mod is potless
Whiplash141  [作者] 2020 年 6 月 5 日 上午 7:51 
No
ExCaedibus 2020 年 6 月 5 日 上午 12:31 
Hello! We are using Camera Panning, like 806331071, can this script handle a panned camera view when targetting the target? Thanks for answering!
Solraven 2020 年 5 月 29 日 上午 3:15 
you are pretty good at scripts, could you make a script that could reduce max speed based on altitude? i have had some docking mishaps, and recently was following a ship i was attacking toward the ground, which looked further away, and couldn't pull up in time when i realized my mistake
Psykikk 2020 年 2 月 29 日 上午 3:22 
hi. love your mod. works perfectly.

sidenote / suggestion / question: would it be possible to add the following options ? (or make them esparate scripts.. not sure)
- approach (meaning once targeted, you will engage until a specidied distance is reached)
- keep distance (same as speed matching BUT on all axis, including height (very helpful for atmospheric engagements)

thanks in advance

keep up the great work
classicpark 2020 年 2 月 21 日 上午 6:55 
How can i change the text sice on the text panel because i can not adjust the text sice like the normall way.
Ore is this scrip only for small text panels
Bodyboarder2528 2020 年 1 月 23 日 下午 3:47 
ah ok thanks
Whiplash141  [作者] 2020 年 1 月 23 日 下午 3:44 
Ok so in multiplayer, sync distance defaults to 3km which could explain difficulty in getting a successful scan. What you see in your screen could very well be desynced. In SP or when you are the host, there is no issue scanning :)
Bodyboarder2528 2020 年 1 月 23 日 下午 2:42 
yea i am
Whiplash141  [作者] 2020 年 1 月 23 日 上午 5:24 
Those are warnings not errors, so that's fine. Also are you in multiplayer while you are trying this?
Bodyboarder2528 2020 年 1 月 23 日 上午 2:17 
not until i got about 2km did it see it and match it and its on the default 5km
Bodyboarder2528 2020 年 1 月 23 日 上午 2:14 
and at 4km it still wont see a npc to match its speed
Bodyboarder2528 2020 年 1 月 23 日 上午 2:11 
hey when i compile i get this https://imgur.com/a/cEjs32X