Blueprint Component Requirements
Изображение 1 из 7. Материалы автора из Steam Workshop.
О материале
«Blueprint Component Requirements» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Blueprint Component Requirements Tested for v1.189.044
This is a fork of Heisenboy's Blueprint Components
******Notice Heavy Armor, Slopes, etc. ****** Looks like the core SE code changed recently for how projectors report armor blocks. Due to this change this script can't tell the difference between armor types. If the core game is updated I'll get it to work again!
Bug report has been submitted at KSH like it or bump it maybe it'll be noticed quicker Bug Report
I'm pretty sure this will be fixed so I'm holding off on doing funky armor block toggles for the time being.
About:
Get a list of required components for a blueprint loaded in a projector. This is a fork of Heisenboy's Blueprint Components. It does not appear to be maintained, so I forked it! A while ago I punched out a fork so I could use it because I thought it was cool. There seemed to be requests for it to be updated so I decided to post this version. It does NOT have the item movement feature, I didn't add it because it needs to be updated that might come later if I'm up for it.
What this version does do is gets a list of all of the components for the blueprint (or a pretty good guess of it, there are still issues with it reading some blocks from the projector but many have been added since the original version was written!). It will check your inventory and give you a fancy dancy list that will auto scroll on an LCD screen.
How to use it:
- Open your programmable block and load the "Blueprint Component Requirements" script from the workshop.
- Set up a timer block every :01 seconds to run the programmable block and start the timer block.
- You will need to add [BPLCD] to the name of your Display, this will work on Text panels/LCD's or any other HUD displayable terminal block.*
- Your projector must have [BP] in it's name.*
- Make sure your projector is on and load the blueprint you want to get the stats on. If you are running the script on a small ship you can only load small blueprints, same goes for a large ship.
Optional Scrolling:
Sometimes the list of components scrolls too fast. You can now manually control this via button panel or toolbar via programmable block arguments. Accepted arguments
- scrollup
- scrolldown
- autoscroll=on
- autoscroll=off
- toggleautoscroll
Example: To Turn the scrolling off enter the following argument without quotes "autoscroll=off"
More arguments:
-
rescanticks - change rescan ticks on the fly
-
getrescanticks - echo's intRescanTicks
-
pscan - rescans projector
-
pscanon - rescans projector, projector must be on
-
pscanonloaded - rescans projector, projector must be on and loaded with a BP
-
reinit - reruns init method
-
debugon - turns debugging on
-
debugoff - turns debugging off
-
help - lists available arguments
-
settings - lists settings
Things that may be confusing:
- This is still a work in progress, I know I'm missing a handful of blocks. I just wanted to get this cleaned up and knocked out it. WIP.
- The data isn't accurate or it doesn't recognize all the blocks. Part of this is because of the way the blocks are getting pulled from the projector. The projector recognizes some blocks as the same, interior wall and armor block for example (this might have been fixed). The other part might be human error, yes you're welcome! :) There are a lot of blocks, I stole half the work from heisenboy! All I did was add a few dictionary entries and sorted all the blocks so they are in alphabetical order.
- Why does it take so long on the loading screen. There is a tick saver so the program doesn't suck up as much processing power, it should also save some barfing on the display screen. Default has been changed to 10 ticks, if you need/want it shorter you can change the variable intRescanTicks to whatever you desire at the top of the code!
- Loading saving and arguments. Lazy coder, currently not saving arguments for intRescanTicks and which projector was grabbed during init/rescans/etc. Two main reasons why are awaiting updates changes to PB and lack of knowledge/time :)
Additional Comments:
Cheers to the following for great comments and useful feature requests. I might have missed some so read the comments below! [MFC] roj42, Thanks for getting in contanct with a hotfix while I've been MIA! [1SC] Marneus Xanthyn - Also check out Xanthyn's OSPREY to see this script in action!
Notice changes for block names!!! version 2016040401 changes requirement of full names and using [BPCR] to [BP] for the projector and [BPLCD] for the LCD Text Panel. This was to make it easier for updates if you didn't want to change your LCD name to Text Panel, etc. See the Change Log for more info somewhere over there --->
** Note to self check out KSH Forums Use RemainingBlocksPerType to gather block info instead of reading detailed info from projector. Will need to rewrite dictionaries to match.
Check out my workshop for other nifty creations!
Other Mods and scripts this goes well with Projector Preview Holographic Projector Buttons for Projector Preview and Holographic Projector
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.