Space Engineers

Space Engineers

Not enough ratings
Ship Tools Toggle Light Color
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
379.746 KB
15 Feb, 2023 @ 1:10pm
23 Feb, 2023 @ 1:25am
6 Change Notes ( view )

Subscribe to download
Ship Tools Toggle Light Color

Description
Give a Thumbs up if you like this script its my first Script so be Nice :P

*** NO TIMER BLOCK NEEDED ***
JUST ADD IT TO PROGRAMMABLE BLOCK

// Version 1.0
// How to USE

// If you want to change Color of the lights just change (255, 255 ,0) Change Numbers ONLY
// Make Sure To Read All Tags
// Now Working With Drills, Welders , Grinders.
// This Script Wont Change Other Lights when Connected With Connector

// Settings


//Default Colors (R, G, B)
// Yellow (255, 255, 0)
// Red (255, 0, 0)
// Blue (0, 0, 255)
// Green (0, 255, 0)

// White (255, 255, 255)
// Black (0, 0, 0)



// Colors
///////////////////// SpotLight Settings
// Spot Lights Group Name Default = Spot Lights
string SpotLightGroupName = "Spot Lights";

// When Tools are "On"

Color SL_active_color = new Color(255, 255, 0); // Default Setting (255, 255, 0) Yellow

// When Tools are "Off"

Color SL_deactive_color = new Color(0, 0, 255); // Default Setting (0, 0, 255) Blue

// Modified Color When Tools are "On" **Custom Data Needed** Type "ToolColor" In SpotLights Custom Data
// Type "ToolColor" in "Custom Data" of any "SpotLights" on your Ship To Use Modified Color
// This Option Is To have my SpotLights White, So I Can See When Using Tools
// If You Dont Want To Use This Just Delete all Custom Data In SpotLights

Color SL_MOD_color = new Color(255, 255, 255); // Default Setting (255, 255, 255) White







////////////////////// InteriorLight Settings
// Interior Lights Group Name Default = Interior Lights
string InteriorLightGroupName = "Interior Lights";

// INTERIORLIGHTS Color When Tools are "On"
Color IL_active_color = new Color(255, 255, 0); // Default Setting (255, 255, 0) Yellow

// INTERIORLIGHTS Color When Tools are "Off"
Color IL_deactive_color = new Color(0, 0, 255); // Default Setting (0, 0, 255) Blue


// Modified Color When Tools are "On" **Custom Data Needed** "ToolColor" In Interior Lights Custom Data
// This Color Will Override the Default "ON" Color
// Type "ToolColor" in "Custom Data" of any "InteriorLights" To Use Modified Color
// This Option To have my Interior Lights White, So I Can See When Using Tools the Rest Can stay Yellow
// If You Dont Want To Use This Just Delete all Custom Data In Interior Lights

Color IL_MOD_color = new Color(255, 255, 255); // Default Setting (255, 255, 255) White
5 Comments
erik 22 Feb, 2023 @ 11:56pm 
ah je vous remercie beaucoup pour votre script vraiment merci vous êtes un génie
erik 22 Feb, 2023 @ 12:22am 
merci mais je l est deja essayer je ne comprend pas pourriez vous faire une vidéos sur https://steamproxy.net/sharedfiles/filedetails/?id=2526685327 merci
erik 21 Feb, 2023 @ 9:16pm 
bonjour j adore votre script pourriez vous réaliser un script pour que les porte de hangar s ouvre le jour et ce ferme la nuit avec le soleil en faite faire script Sun detectors