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
And yes it does, I wanted it to be able to use more connectors as i put them on, without having to change the script again and again.
If you wanna do the same with them, you can use the code i just gave you, and replace "Drills" with "Connectors" :)
I'm guessing the script even controls the connectors that throw out stone?
Slightly below the line changed before, is a line with:
GridTerminalSystem.GetBlocksOfType<IMyShipDrill>(Drills);
Add ~8 empty lines under that, and fill them with:
for (int i = 0; i < Drills.Count; i++)
{
if (Drills[i].CustomData.Contains("NoScript"))
{
Drills.RemoveAt(i);
i--;
}
}
That should exclude all drills that contain "NoScript" in their Custom Data.
Again, the "NoScript" is arbitrary, you can change it to whatever you want as long as it's the same in both the script, and custom data.
It worked, thanks!
Beastly build btw, nice :)
Let's see if this works:
if (!Pistons[i].IsSameConstructAs(Me) || Pistons[i].CustomData.Contains("NoTower"))
https://steamproxy.net/sharedfiles/filedetails/?id=3028913838
I am using your "replacement" script. It shows the code at line 308 rather then 311, I've replaced it. Hoping correctly.
https://steamproxy.net/sharedfiles/filedetails/?id=3028913830
But this is what I get when I go to check the code.
https://steamproxy.net/sharedfiles/filedetails/?id=3028913815
Near the bottom, on line 311 is:
if (!Pistons .IsSameConstructAs(Me))
This needs to be changed to:
if (!Pistons .IsSameConstructAs(Me) || Pistons .CustomData.Contains("NoTower"))
This will make the script ignore any piston that has NoTower in the Custom Data.
You can change the text to whatever you want, just keep in mind that it is Case Sensitive :)