Space Engineers

Space Engineers

Gun Status
7 条留言
BIGOLBEAR  [作者] 2020 年 6 月 30 日 下午 12:27 
cool let me know if you still can't get it working - im happy to help, its been a couple of months since i used the script my self so there MAY be a problem, but its quite simple so probably not - but if there is ill fix it.
AstralChild 2020 年 6 月 30 日 下午 12:15 
@BIGOLBEAR thx a ton, will try it out tonight :-)
BIGOLBEAR  [作者] 2020 年 6 月 30 日 上午 10:41 
Oh and if you want to have sepperate displays for different gun groups, eg Point defence and main turrets - then you need to have 2 progblocks and edit the code in one of them to change the tags its looking for - the tags are right at the top of the code and labelled so it should be fairly simple for a non coder.

eg change [Gun] and [GunDisplay] to [PDAF] and [PDAFDisplay] and then in your cockpit append both [GunDisplay] and [PDAFDisplay] to the name, then recompile and run the progblocks and it will propagate custom data for both.
BIGOLBEAR  [作者] 2020 年 6 月 30 日 上午 10:36 
@AstralChild
no problem
1. put the tags "[Gun]" on name tag of all the guns you want in the group
2. put the tag "[GunDisplay]" on your cockpit name tag
3. load script into a prog block on the same grid
4. recompile, then run program.
5. go to the custom data of your cockpit (you will see it has propagated data) - change the screen number in custom data you wish to display the data to to 'true' and all the others to false.
6. change the screen on the cockpit you picked to 'text and images' - then change font and colour as you wish.

I hope this is clear for you. All my scripts that display in cockpits work on the same method (as devised by whiplash originally) If using more than one the custom data will propagate with data for each sepperate script and you must assign each script to a different screen.
AstralChild 2020 年 6 月 28 日 上午 11:59 
@BIGOLBEAR can you pls elaborate a little more on the part of how i do modify the custom data of a cockpit to be able to have this on my cockpi-lcd? htx a ton!
BIGOLBEAR  [作者] 2019 年 4 月 12 日 下午 12:45 
Updated to function with multiple LCD blocks, eg cockpits
BIGOLBEAR  [作者] 2019 年 3 月 2 日 下午 1:18 
Updated/confirmed functional in current release version of SE, if you have any problems please contact me