Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Im pretty busy with my bachelor thesis for the next couple weeks, but then I could overhaul the script and include that feature.
Here is what i was thinking. when the thrusters (or weapons) heat up then when when they are in the cooling stage a door opens up behind where you have your "heat sink Light" and behind the door is a vent. when the doors open this would cause a depresherization visual so it would look like the weapons or engens are venting heat. then the doors would close after a set amount of time or till you hit the gas or fire button again. Just a thought would really like to see this as a feature.
door control = true or false
Adjusting the colors is kinda tricky tho and i still havent figured out how to do it.
Mabey make the ajust speed saporated to lighting up and to lighting down.
This way you can ajust how fast it will light up when trusters fireing and how fast ther darken down when not.
Like now i want the light down speed to be way slower then what it is right now.
Not all of my thrusters are that close together so I'll still need separate prog blocks for the others I think but I'll gladly try that code when I get back to my desktop PC for the ones that are close together. :)
So whenever at least one side is going full power, the light will light up all the way.
Just delete line 127 to 141 and paste this in instead:
//Get the three sides with the most thrust
if(ThrustUp2>=ThrustDown2) {major21 = ThrustUp2; major11=ThrustUp1;}
else {major21 = ThrustDown2; major11=ThrustDown1;}
if(ThrustLeft2>=ThrustRight2) {major22 = ThrustLeft2; major12=ThrustLeft1;}
else {major22 = ThrustRight2; major12=ThrustRight1;}
if(ThrustBackward2>=ThrustForward2) {major23=ThrustBackward2; major13=ThrustBackward1;}
else {major23 = ThrustForward2; major13=ThrustForward1;}
if(Debug==true) Echo("D");
if(major21>=major22 && major21>=major23) {CurrentThrust=major21; MaxThrust=major11;}
else if(major22>=major23) {CurrentThrust=major22; MaxThrust=major12;}
else {CurrentThrust=major23; MaxThrust=major13;}
if(Debug==true) Echo("E");
My main concern is the prog blocks fighting over what to set the light to. :D
out of all engines with a prefix and then compares that with the actual thrust right now, so basically the average of all thrusters in percent.
The only thing I can think of right now is using multiple progs with different prefixes.
Use one prog and prefix for every thruster and all of them on the light.
I've never tried that though and have no idea if that will work.
Otherwise cool script
The programable block im not good att scripting by the way u can copy the text or whatevet its called from the programmable blocks ingame Bruh hopefully i helped
It's probably going to take me a few weeks though.
I'd like to ask, if this script will work with Gravity Drives too, or if not, would it be difficult to add such functionality.
What you could do however is to use use more than one
programmable block and use different prefixes for several different groups
When i removed 50+ lights the scripted started to work, but there might be an endless loop because the game went from 750MB in the task manager to over 4GB once I restarted the script. I have no issues when I use a smaller ship...
I updated the script, fixed a small bug and added a debug option.
If you load the new script into your programmable block and set Debug=true,
the script will output a bunch of letters in the teminal (like in picture 1).
If you tell me the last one of these letters, i might be able to find the problem.
btw. the error message appears, when a loop in the code doesn't goes on forever.
-Script now uses thrust of all or just a few specific thrusters instead of acceleration,
which fixes a bunch of problems
just set UseAllThrusters=false and put the prefix in all thrusters you want to use
Is it possible you could add that in?
-Maximum Acceleration is now calculated automatically
-Some more variables to play with
you can activate both or just one of them