Space Engineers

Space Engineers

84 ratings
"Random faces" interactive script for ship personalisation
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
67.984 KB
3 Apr, 2016 @ 7:42am
6 Mar, 2020 @ 10:06am
20 Change Notes ( view )

Subscribe to download
"Random faces" interactive script for ship personalisation

Description
Hello everyone!

WARNING
Finally!, upload is working again! Script was updated.

Short description
This script was inspired by tachweave W.A.L.I. It allows you to set animated, interactive face to your own ship/drone, for... I dont know, just because you want to do it.
This is script for fun, nothing serious!

Current functions:
-Detects ship's linear movement, reacts according to it.
-Detects ship's rotation, reacts according to it.
-Detects active welders/grindes, drills, reacts according to it.
-Detects weapos usage, reacts according to it.
-Detects damage to ship's functional blocks, shuts down in case of big amount of damage.
-Random face generation, more than 900 combinations!
-Random text on antenna, according to current animation.
-Have animation to switch between different faces.
-Have two modes (with and without animation) for better performance on old computers.

Short installation guide:
Scroll down and you will find...

Vital/Non-vital blocks:
Minimal setup (vital, without animation):
-Programmable block (for script).
-Text Panel (for Face and movement/rotation detection)

Add suffiixes, determinated in the script:
Text Panel - "_Face"

Script parameters:
You can find this paramerers in the beginning of the script. They could be changed to your own needs.

Name suffixes (for searching blocks on a grid):
strTPSuff - suffix for the Text Panel, to show face

Variables for fine tuning:
bInv - black/white inversion, if you prefer white background with black drawing (looks interesting), set it to true.
bWriteText - allows script to write random text on first found antenna or beacon on grid.

Commands for programmable block
You can type commands directly to the argument box in programmable block, but i recommend you to use Button Panels. No typing mistakes and good look!

"start" - starts script to runs itself. Initial boot.
"stop" - typed once, stops script. Typed twice, resets parameters.

I must say, there are a lot of commands for redraw check still avaliable to input, but if you don't want to do some reverse engineering, it's not so importaant to know.

Updates:
Link to changelog

Links for blueprints and example worlds:
Just all needed preconfigured blocks for this script, still needs some ship to interact with
Will be more...

Credits:
tachweave W.A.L.I. - W.A.L.I. will not be forgotten!
alex Graphical Radar Script Mark II
MMaster Configurable Automatic LCDs
d4rky1989 Multipurpose Filter and Control Block
Popular Discussions View All (1)
3
23 Jul, 2018 @ 7:29pm
PINNED: Short installation guide
Skleroz
95 Comments
HeavyMetalClown 16 Nov, 2024 @ 4:41am 
Hey there, thanks for taking the time to reply.

Yes, I noticed antenna usage is switchable but this appears to also turn off text updates to any text panels. But I found a workaround: Antennae can be set to only display the ship name, not their own, circumventing the need to turn off that option.

If you get a chance to help I'd still be grateful but consider it low-priority.
Skleroz  [author] 15 Nov, 2024 @ 12:59pm 
@HeavyMetalClown Hi! Unfortunately, I have no available tools to change script right now and this change need at least new affix for the text-specific TextPanel. Antenna usage i swithable, you need to change row 5 from "const bool bWriteText = true;" to "const bool bWriteText = false;"
HeavyMetalClown 15 Nov, 2024 @ 9:23am 
Hello there! First off, love your script. Secondly, whilst customizing it for use on my private server I had some trouble getting it to stop writing to the antenna, and target a configurable LCD panel instead. Is it possible to implement such changes to the script? I'm no programmer so I'd like to ask for your help.
Skleroz  [author] 26 Jan, 2024 @ 9:30pm 
@LettuceSupreme (Nitron X) Hi! Yes, if I remember correctly, it should always use first textPanel in the cockpit for the "face" and second in case comments are shown. It was added as afterthought, when cockpit displays became interactive.
LettuceSupreme (Nitron X) 26 Jan, 2024 @ 11:53am 
Aloha Skleroz, is there a way to select which screen of a cockpit gets the face put on or is it only the 1st one?
Skleroz  [author] 20 Jan, 2023 @ 2:34am 
@Palpatine XD
Nah, I think they created something completely different with similar look =)
Palpatine 19 Jan, 2023 @ 9:37pm 
I see this got pulled to vanilla, well done!
Skleroz  [author] 3 Sep, 2021 @ 12:32am 
I don't think that debug commands should be provided in the installation guide. Totally different topic =) If I found correctly, high-level redraw list is:
happy
sad
evil
doubt
wink
blink
sleep
sick
scared
death
neutral
pain
Zacko From Finance 2 Sep, 2021 @ 4:47pm 
Could you provide those debug commands in the installation guide? If it's not too much trouble.
Skleroz  [author] 2 Sep, 2021 @ 1:04pm 
@LBloxo Hi! In theory, you could start emotes manually, there were commands for debugging, if I remember correctly. It could be started together with the alarm to imitate reaction.