Space Engineers

Space Engineers

Not enough ratings
SkunkBot 0.20 - Weaponcore Aimbot based on GrunkBot
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
382.227 KB
2 Aug, 2023 @ 2:52pm
21 Jan @ 10:08pm
7 Change Notes ( view )

Subscribe to download
SkunkBot 0.20 - Weaponcore Aimbot based on GrunkBot

Description
SkunkBot 0.20
This is Supreme's slightly updated version of GrunkBot by Stubkan, published with his permission.
Note that accuracy of the aim is slightly decreased when you and / or your target are moving at high speeds.

Also note that I am not an experienced coder or scripter, so you may encounter issues.
Let me know if you have any and I'll try my best to fix them.
SkunkBot Usage Instructions ...

You require :
One Remote Control block. It will be used for aiming, align it with your weaponry.
At least one Gyroscope.
One control seat that you sit in.
Knowledge of the projectile velocity of said weaponcore gun(s) (On Skunkworks 6.0, try searching for the weapons spreadsheet by SupremeAdmiralZ in discord to find it)

The SkunkBot starts deactivated. It will track all targets regardless.
Activate/Deactivate the SkunkBot aim assist with a TOGGLE command in the Programmable Block.
You need to have a target selected to activate the bot.

NEW - Painter Mode
When Painter Mode is active, you can align your ship directly at the location of Weaponcore's painter markers.
This requires having at least one Weaponcore turret online and set to painter mode, and it needs to be in a group named with the GUN_GROUP tag ("SkunkGuns" by default).
You also will need to be within the painter turret's minimum and maximum range, otherwise the bot will temporarily default to targeting the center of the ship.
Return to the proper range to resume painter aiming. Additionally, you will need to set the projectile velocity of the painter turret in the settings below.
For best results, place the remote control directly in line with the fixed gun(s) you want to lead with.

- Interception Mode
While SkunkBot is active, sending the programmable block the "INTERCEPT" command will activate interception mode. Sending it this command again will toggle it off.
In this mode, your ship will immediately point towards the target's predicted position in 10 seconds.
One of your jump drives will have its distance continuously updated to jump you to this position, check the programmable block to see which one.
All you have to do is initiate a blind jump while in Intercept Mode (NOT using Jump Select) and you should end up within 1-2km of the target.
NOTE - If the target is extremely agile and constantly changing its course, you may end up further than 2km away from the target after jumping.

- Velocity Switch
When not in painter mode, send the 'SWITCH' command to toggle back and forth between the 2 projectile velocities as defined in the config.
The first velocity is used by default.

RECOMMENDED - Place (GYROSCOPE_TAG) on specific gyroscopes to only use those for SkunkBot aim alignment. Not doing so may burn out the PB as all your gyros will be used.
OPTIONAL - Make a timer set to turn all gyroscope overrides off in the event your SkunkBot is destroyed.
OPTIONAL (DISPLAY_TAG) placed in block name containing a LCD is used to display the SkunkBot and Target status.
9 Comments
ZIGGY 18 Jul @ 1:57am 
excuse me, am I doing right:
- I make group of guns (railguns) and name it SkunkGuns
- I mhave remote control block in one line with guns (placed behind railguns)
- I have gyroscopes and now question, shuld I NAME gyroscopes xxx or make a group of gyroscopes and name it xxx? shuld I type in Cutom Data of gyroscopes xxx? what mean tags??
and same to display.
sry for my stupidity
SupremeAdmiralZ  [author] 13 Feb @ 10:58pm 
That's intentional starfleck, I added that to a certain variable that sometimes breaks to check it for NaN values. Maybe there's a better way idk but it works
Starfleck 13 Feb @ 7:53am 
Program(735,8): Warning: Comparison made to same variable; did you mean to compare something else?
SupremeAdmiralZ  [author] 4 Oct, 2023 @ 4:17pm 
Oddland, you technically don't require any tags. If you want, add the gyro tag (default is xxx) to a gyro(s) name to only use that gyro(s). You can also put the display tag (default GRUNK_DISPLAY) in the name of an LCD to make it show target info. But neither of those are required.
oddland 2 Oct, 2023 @ 2:33pm 
I am lost on what TAGS to add to everything
SupremeAdmiralZ  [author] 28 Sep, 2023 @ 1:09pm 
Update - I actually did start running into that issue Daz, thanks for pointing it out. I'm pretty sure the latest update fixed it, let me know if you still have issues.
SupremeAdmiralZ  [author] 19 Sep, 2023 @ 5:14pm 
Daz:
Not sure why you're getting that problem, I'm unable to replicate it.
You could try using a hotbar slot to toggle gyroscope overrides off if it keeps happening, so you can have gyro control after it locks up.

Imbaslash:
I may end up doing that in the future, thanks for the suggestion.
DazDaazDaaaz 21 Aug, 2023 @ 12:40am 
This one tracks well if the velocity is set to 20000 (Default value) But if I place it to 900, the Gyros just lock in place after I switch from the first target.
Imbaslash 13 Aug, 2023 @ 5:54am 
Suggestion: Also add tag for Remote Control, otherwise it will not work with ships that have multiple remote controls, like mine do