Space Engineers

Space Engineers

Not enough ratings
ZPM Reciever WeaponCore Ready
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Modpack
File Size
Posted
Updated
969.307 KB
5 Jul, 2021 @ 7:12am
16 Apr, 2022 @ 8:29am
4 Change Notes ( view )

Subscribe to download
ZPM Reciever WeaponCore Ready

In 1 collection by Sherbert
Stargate - Lost Civilizations
8 items
Description
This is a control script that automatically ties a block to an active ZPM, making a working ZPM required for use. This allows things like superweapons (it works with weaponcore) or modded super thrusters to require an installed and operation ZPM or they will go offline. While it requires the ZPM mod and the target block mod, It will work standalone. As long as the target block(mod or otherwise) is present it will affect it.

Setup:
1. in the target blocks sbc file find its TypeID and SubTypeID
2. in the file zpmReciever.cs in this mod find line 23
[MyEntityComponentDescriptor(typeof(MyObjectBuilder_LargeMissileTurret), false, "DroneBay")]
3. Update the MyObjectBuilder_ to the correct type to match the typeID (google search if you dont know it)
4. Update the "DroneBay" part to match your target blocks subtypeid (double qoutes still needed)
5. Test and re-upload with link


***** THIS MOD WILL REQUIRE RE-UPLOAD TO WORK FOR CUSTOM USAGE *****
Permission to re-upload is granted in all cases as long as a link in the mod description points back to my required ZPM Mod

notes:
1. Uploaded early version still doing server testing over next few days
25 Comments
Keltskiy 13 Aug, 2023 @ 2:02am 
Keep up the great work I love these stargate mods.
Zach Jepson 26 Sep, 2021 @ 2:58pm 
now this.... this is glorious! if it was more powerful id use it for powering my shield :)
Sherbert  [author] 26 Aug, 2021 @ 2:23pm 
possibly in the future but not for a long ways off.
phollste 26 Aug, 2021 @ 11:37am 
can you make a single ZPM hub for large ships ? the same like the Sigle ZPM hub from gerrys mod carters addon pack.
Bodyboarder2528 24 Jul, 2021 @ 8:34am 
having some issues with it. do you have discord?
Bodyboarder2528 21 Jul, 2021 @ 6:14pm 
its all good and im really grateful to be allowed to use this
Sherbert  [author] 21 Jul, 2021 @ 6:10pm 
yeah missed that check. sorry, Glad you got it working
Bodyboarder2528 21 Jul, 2021 @ 6:08pm 
so it can see the power and what not
Bodyboarder2528 21 Jul, 2021 @ 6:08pm 
yea we got it working had to change the batteryblock to hydrogen engine MyObjectBuilder_HydrogenEngine
Sherbert  [author] 21 Jul, 2021 @ 6:06pm 
I think bads commenting on gwen warning people that it has a minimum output or something, I havent looked at his code so I dont know. the type of modblock shouldn't matter, all that matters is in the IsZPM() function the testname has to be compared to the subtypeid of the block your looking to check. To get the subtypeid you need to find your workshop folder and find the mod based on its mod number, which is that long number at the end of the link. it will be in the subfolder data as cubeblock.sbc or some variation of sbc file