Space Engineers
Недостатньо оцінок
ZPM Reciever WeaponCore Ready
   
Нагородити
До улюбленого
В улюблених
Прибрати
Type: Mod
Mod category: Script, Modpack
Позначки: ServerScripts
Розмір файлу
Додано
Оновлено
969.307 KB
5 лип. 2021 о 7:12
16 квіт. 2022 о 8:29

Підпишіться, аби завантажити
ZPM Reciever WeaponCore Ready

В колекціях (1) автора Sherbert
Stargate - Lost Civilizations
Предметів: 8
Опис
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
Keltskiy 13 серп. 2023 о 2:02 
Keep up the great work I love these stargate mods.
Zach Jepson 26 верес. 2021 о 14:58 
now this.... this is glorious! if it was more powerful id use it for powering my shield :)
Sherbert  [автор] 26 серп. 2021 о 14:23 
possibly in the future but not for a long ways off.
phollste 26 серп. 2021 о 11:37 
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 лип. 2021 о 8:34 
having some issues with it. do you have discord?
Bodyboarder2528 21 лип. 2021 о 18:14 
its all good and im really grateful to be allowed to use this
Sherbert  [автор] 21 лип. 2021 о 18:10 
yeah missed that check. sorry, Glad you got it working
Bodyboarder2528 21 лип. 2021 о 18:08 
so it can see the power and what not
Bodyboarder2528 21 лип. 2021 о 18:08 
yea we got it working had to change the batteryblock to hydrogen engine MyObjectBuilder_HydrogenEngine
Sherbert  [автор] 21 лип. 2021 о 18:06 
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