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
The Block Group is named:
replace "FNAD" with "FNAD-0"
which contains the Control Panel Grid blocks that were selected to make up that group.
Then:
Run the PB with the Argument using the same name AS the block group, i.e.:
replace "FNAD" with "FNAD-0"
Result: the phrase in the first quote is replaced with the phrase in the second quote.
Very nice, thank you. It makes a carrier of Attack Drones easily distinguishable from one another.
Could be nice to have where if you have the group, it'll choose one corner as offset (perhaps with a modifier to choose which, like T/BL/RF/B (Top/Bottom, Left/Right, Front/Back ex. TLF for top left front) start that block as 00 (or what ever leading zeroes) and then if all the blocks are in a single plane, it just starts naming them 00 to Whatever based on the offset from the first "origin" block, and if there is 2D plane of them, they'll be named based on offset in 2D (00-00->00-01->01-00->01-01) and in 3D, add one more. If there is multiple blocks in between, it'll just "skip" the numbers, so if I had arranged like
X0X
XXX
X0X (Xs being my renamed blocks)
They'd be named, if I start top left, they'd be named:
0-0, 0-1, 0-2
1-0, , 1-2
2-0, 2-1, 2-2
Orientation could be based on main cockpit.
This one feels like it has genuine use cases outside of preference
It does. You can configure that in custom data
It's because I was dumb and wasn't reading config when prefixing with a custom prefix and not default or grid name. Fixed in v7.1.2, thanks for the report.
"2.Group blocks that you want to rename with the GROUP RENAME TAGS in the section below"
Where exactly? How?
Provide an example of a working model.
It absolutely does still work.
Right after that, of course, I find this.
I made one change so that I could have preceding zeros on lists shorter than 10. If you like, maybe make this a config option? I did this because of those lists shorter than 10 it would number then 1, 2, 3 instead of 01, 02, 03 and it mixed them up in other lists like 08, 09, 1, 10, 11, etc. Yep, I got OCD! lol
string GetNumberFormat(int number)
{
string numStr = number.ToString();
int length = numStr.Length;
if (length < 2)
length = 2;
return new string('0', length);
}
prefix My Cool Prefix
The above would prefix all blocks in that group with that prefix
Make sure you have scripts enabled on world settings
Disable numbering in custom data.
I like to add directional suffixes to my thrusters so that I can distinguish them when not in the cockpit. It also helps, for example, with output of Damage command from AutoLCDs script.
So instead of seeing H2 Thruster (80/100%) I see H2 Thruster [UP] (80/100%) on the LCD.
How would one determine the directionally within the script? Would one need to be seated when running it, or can the script determine it from the ship's controller?
But again, only a pure creature comfort, would rather wish for the accompanying function for Turret Slaving :D
Idk what this means. This script has grid name prefixing and suffixing
Grid Rename, would be nice to have, but not neccessary.
One thing that would be awesome and could ease setup for your Turret AI Slaving script! :D
Let's say you got a Base rotor, either TAG it or group it and it would be able to rename/prefix/suffix a text to all blocks after this rotor, then it would be a breeze to fix all the Turret Groups when having a lot of PMW's :D
To do that, you'd need to make a bunch of groups like the following:
"rename CB-V - Corner Light -"
And then the numbering would be applied after the dash.
I'll see if adding a configurable delimiter for numbers is feasible