Space Engineers

Space Engineers

SIMPL | Ship Integrity Monitoring Program Lite (A sprite-based ship layout/floor plan script)
453 kommentarer
Leconite 24. maj kl. 3:31 
Feature suggestion(s).
1. A way to put a line of user defined title text at the bottom or top of the display.
Something like the Radar script does, but with the ability to set scale and possibly text alignment.
2. A way to insert the grid name into the title text.
Something like
Ship $GridName Structural Integrity:
Displaying
Ship Large Grid 2355 Structural Integrity:

Also, as of the fieldwork update, projectors can highlight damaged armor blocks.
Has KSH extended the scripting API to provide access to that info?
Whiplash141  [ophavsmand] 23. maj kl. 15:27 
hero <3
Wingnut 23. maj kl. 10:51 
Got it. Thanks :steamthumbsup:
Leconite 23. maj kl. 7:08 
Config example of multiple views on one display.

[SIMPL - Text Surface Config]
Number of views=3

[SIMPL - Legend Config]
Legend Scale=1
; Elements should range from -1 to 1 where 0 indicates centered
Position={X:-1 Y:-1}

[SIMPL - Display Config - View 1]
; Top Down View
; View axis values: X, Y, Z, NegativeX, NegativeY, NegativeZ
View axis=NegativeY
Rotation (deg)=180
Scale=7
; Elements should range from -1 to 1 where 0 indicates centered
Position={X:0 Y:-0.5}

[SIMPL - Display Config - View 2]
; Back View
; View axis values: X, Y, Z, NegativeX, NegativeY, NegativeZ
View axis=X
Rotation (deg)=270
Scale=8
; Elements should range from -1 to 1 where 0 indicates centered
Position={X:0 Y:0.25}

[SIMPL - Display Config - View 3]
; Side View, Front on Left.
; View axis values: X, Y, Z, NegativeX, NegativeY, NegativeZ
View axis=Z
Rotation (deg)=180
Scale=8
; Elements should range from -1 to 1 where 0 indicates centered
Position={X:0 Y:0.75}
Leconite 23. maj kl. 7:08 
Yes, but you have to set it up manually.

Note "Scale=auto" does not play nice with multiple views, unless SIMPL generated abstract art is your thing. :-)
Wingnut 23. maj kl. 6:02 
Is there a way to rotate the view in multiple axes on the same display?
brakdis 1. maj kl. 14:39 
the subgrid idea you may add will be useful in my case, i make some mech so that can help in a way
Whiplash141  [ophavsmand] 28. mar. kl. 16:52 
SIMPL will throttle it's execution to keep running low so I think you should be fine. SIMPL will also output performance metrics that will let you monitor the load at runtime.

The issue with waiting for proper support is that I haven't had the time to get back into recreational coding for months because of work, so you may be waiting for a while :(
Swann 28. mar. kl. 13:12 
Rovers tend to have a lot of subgrids. I did learn how to use the custom group name. But I worry about the server hit having to run even just 3 copies of the script to cover some of the main sections of the rover. We wait patiently for proper multi-grid support.
BloodAngel099 14. mar. kl. 17:31 
Perfect, sorry for the dumb question I now see the answer was just a couple lines above....
Whiplash141  [ophavsmand] 13. mar. kl. 23:36 
Change your view axis to Negative
BloodAngel099 13. mar. kl. 16:16 
Is it possible to flip the image? I have rotated it but I now need to flip the image to orient it correctly with my base.
_Your__Nightmare_ 1. mar. kl. 3:06 
How do you rotate the view?
AkagiVoid 5. jan. kl. 15:33 
Nope. >w>

Although, TY 4 educating meh n anyone else dats 2 lazy 2 read the manual or go through lines of code 2 answer dat one simple FAQ while U was half asleep. X3

And sawry dat I rudely disturbed U while U was trying 2 wake up. >w<
Whiplash141  [ophavsmand] 5. jan. kl. 14:30 
Wow... can you tell I typed that up right after I woke up? :steamfacepalm:
AkagiVoid 5. jan. kl. 11:55 
TY. >w<
Whiplash141  [ophavsmand] 5. jan. kl. 11:35 
no timers needed at all. That behavior is expected. It is why the script says to use the arg in me to refresh to my process custom data changes. Block damage is seen automatically, configuration changes need to be fetched on demand
AkagiVoid 5. jan. kl. 10:43 
@Whiplash141
Do I need a timer 4 it 2 refresh the display 2 show dmg or changes 2 lcd custom data? ?w?
Because when i rotate image by 90 it doesn't update unless I do a refresh argument in program block, so does dat also need 2 happen for when it displays dmg as well? ?w?
Leconite 3. jan. kl. 2:11 
Probably not, but recompiling the script will reset the displays.
Helratz 2. jan. kl. 16:09 
Hey Whiplash141. Love this script. Is there a way for it to ignore blocks you've purposely ground down?
Leconite 11. nov. 2024 kl. 1:51 
It comes from all the non terminal blocks that are still functional, but on the verge of failure. Eventually, every ship of significant size comes with that smell; and the intermittent sparking sound effects. :-)
EpicSOB 10. nov. 2024 kl. 21:57 
:.( but i like the funny burning smell. lol
Whiplash141  [ophavsmand] 10. nov. 2024 kl. 18:19 
No, because I don't want to slag peoples CPU's lol
EpicSOB 10. nov. 2024 kl. 18:14 
Lite? is thare an advance version i don't know about?
Leconite 6. nov. 2024 kl. 8:43 
Conveyors are like armor blocks, you only get to know if they are missing. Maybe someday KSH will give us API access to the functional state of non terminal blocks, we know the capability is there, as a hand welder can give us the information visually, but in the typical KSH half implementation style, we can't get that info from a script.
Whiplash141  [ophavsmand] 6. nov. 2024 kl. 6:03 
You can't. Scripts can only differentiate between terminal blocks
Into 6. nov. 2024 kl. 4:09 
How do I get it to display conveyors? As it is listed in Type Definition Listing
Leconite 23. okt. 2024 kl. 12:02 
Awesome, now I can get what I need with

|[Prop. Ground]
|Color=0, 0, 100, 100
|Block type=Wheels
|Block definitions=
|
|[Prop. Air]
|Color=0, 0, 100, 100
|Block type=Thrust
|Block definitions=
|

If I could comma separate multiple block types to combine thrusters & wheels under a single legend item, that would be perfect, however, I am happy with the new version.

Thank You! :-)
Whiplash141  [ophavsmand] 23. okt. 2024 kl. 11:03 
v1.14.0 has added more block type options. If those aren't sufficient, you get to list off block definitions.
Leconite 23. okt. 2024 kl. 9:57 
It would be a "|Block definitions line=" with 100+ objects.
I might be wrong, but the script might be able to do this more quickly and accurately than the end users.
Leconite 23. okt. 2024 kl. 9:44 
Yes, I am aware that I could disable the thrust category, set up a new category with Blocktype=Functional and literally spell it out to SIMPL. "Include every variation of thruster and wheel suspension in the game."; complete with long MyObjectBuilder... notation.

I was hoping that the below suggestion to include this into a future version of the script by default, would add value to SIMPL, make the UI a bit more intuitive, and negate the need for long complex, and potentially error prone config tweaking as a whole.

Like I said, FWIW, maybe it isn't worth it.
Whiplash141  [ophavsmand] 23. okt. 2024 kl. 8:57 
You can add whatever you want to the legend via the custom data. There are instructions in the custom data of the PB.
Leconite 23. okt. 2024 kl. 6:30 
Suggestion, add wheel suspensions to what is picked up by the thrust group.
That way when I use SIMPL on a rover, the propulsion systems show up where expected.
Maybe rename the thrust label to Prop. or Propulsion.

FWIW :-)
Whiplash141  [ophavsmand] 22. okt. 2024 kl. 18:07 
Nope
Into 22. okt. 2024 kl. 18:05 
To scan a specific block row
Whiplash141  [ophavsmand] 22. okt. 2024 kl. 17:11 
@nick74racing: Yes

@Into: What do you mean by that? You can set the axis and rotation of the SIMPL views in custom data.
nick74racing 22. okt. 2024 kl. 16:57 
can u use this on ur plant base?
Into 22. okt. 2024 kl. 12:13 
Is it possible to show only a specific cross-section?
Leconite 19. okt. 2024 kl. 4:45 
Maybe an event controller monitoring block integrity.

Probably a combination of your control seat, an AI defense block, and the above mentioned event controller, all triggering combat/defense routines might give you what you want.
LukeStrike 17. okt. 2024 kl. 10:24 
@N0sc0p3dPwnd I'd like it too :) So whenever a ship is dammaged, it goes in "combat/defense" mode ...
For now I'm using the action of the control seats "when targeted" but it's not enought
LKS
strt>savage 16. okt. 2024 kl. 17:42 
Can I suggest an ability for this mod to be able to customize actions that are activated under specified average integrity percentage of a ship? For example to set an action like a timer block to be triggered when the overall ship integrity reaches 80%. I can't find any script like that so I'd love your thoughts on it
LukeStrike 14. okt. 2024 kl. 22:23 
@Whiplash141 Works perfectly now. Thanks !
LKS
Whiplash141  [ophavsmand] 14. okt. 2024 kl. 11:57 
Fix pushed in v1.13.3
LukeStrike 14. okt. 2024 kl. 11:47 
@Whiplash141 thats fine I got the point to display at least 2 views (top and rear) even on a unique small fighter cockpit screen (you have to play with scales and positions but it works)
So what about the bug ?
LKS
Whiplash141  [ophavsmand] 14. okt. 2024 kl. 10:56 
No. That invokes a lot more stress on the renderer
LukeStrike 14. okt. 2024 kl. 9:41 
Also ... I see that you can display multiple views on a simple screen ... but they "superpose" ? Is there a way that they "switch" f.e every second ? Like "page one" view from top, one second later "page two" view from rear etc ?
LKS
LukeStrike 14. okt. 2024 kl. 7:51 
@Whiplash141 did you find where the "bug" comes from ? Maybe it's a problem with MyIni ? Thus the / should be replaced by something else like : or anything ?
LKS
Whiplash141  [ophavsmand] 8. okt. 2024 kl. 9:02 
Shit, I can replicate and I'll investigate a fix.
LukeStrike 8. okt. 2024 kl. 1:25 
Hi,
It seems that there is a problem with Block definitions=
Everything after a / (ex: MyObjectBuilder_JumpDrive/LargeJumpDrive) is removed and sometimes it's the entire values ...
LKS
LukeStrike 6. okt. 2024 kl. 9:01 
@Whiplash141 yes sorry I just realised that I was in an old version (1.10)
Thanks :)
LKS