Space Engineers

Space Engineers

Isy's Block Renaming Script
Showing 11-18 of 18 entries
< 1  >
Update: 3 Jun, 2018 @ 11:10am

Version 1.4.2:

- Added: 'autosort,GRIDNAME' as a new command. This lets you autosort a connected grid based on the gridname.
- Changed: The script now tries to keep the order of your blocks before giving them new numbers.
- Changed: The script now replaces the numbers inside the blockname when sorting instead of removing them and adding a new one at the back. If no number to replace was found, it gets added at the back.
- Fixed: autosorting on large grids should no longer throw a 'script too complex' exception.

Update: 3 Jun, 2018 @ 3:18am

Uploaded to early - version discarded!

Update: 31 May, 2018 @ 5:32pm

Version 1.4.1:

- Added: 'sortbygrid' command. The syntax is the same as 'sort' but instead of giving new numbers across grids, each grid gets it's own continuous numbers based on the given blockfilter.
- Added: The list of renamed blocks, testmode or help files is now also shown in the custom data of the programmable block for easier readability.
- Changed: The 'sort' command no longer accepts a custom amount of zeros - they are now added automatically.
- Changed: The '!sort' parameter will no longer execute 'autosort,all'. Instead it will sort the current selection of blocks based on the foregoing command.
- Fixed: The 'sort' and 'autosort' command will now less likely remove wanted numbers.
- Fixed: The 'autosort' command is now more intelligent finding unique names and whether or not to add numbers to them.
- Fixed: Fixed many old instruction texts.
- Internal code optimizations.

Update: 26 May, 2018 @ 2:33pm

Version 1.4.0:

- Added: renamegrid parameter. Connected grids can now be renamed based on a block on that grid. The syntax goes like this: 'renamegrid,NEWNAME[,BLOCKONGRID]'. BLOCKONGRID is optional and defines a block an that grid. Without this parameter, the grid of the programmable block is renamed to NEWNAME.
- Added: replace parameter. The syntax goes like this: 'replace,OLDSTRING,NEWSTRING'. This replaces the exact found string with another one.
- Added: help files for every command. If you just type in a command without any further parameters, a help/usage information will be shown.
- Added: autosort for every parameter. Adding '!sort' as an additional parameter to any command applies the 'autosort,all' command after renaming.
- Added: add a string at the front or back of all blocks on a grid (partial gridnames are also detected). The syntax goes like this: 'addfrontgrid,STRING,GRIDNAME' or 'addbackgrid,STRING,GRIDNAME'.
- Changed: basic renaming is now executed with 'rename,OLDNAME,NEWNAME'
- Changed: sorting is now executed with 'sort,BLOCKFILTER' or 'sort,BLOCKFILTER,0000'
- Fixed: 'autosort,all' now gives new numbers based on subgrid rather than all connected grids.
- Fixed: fixed many instrucion texts.
- Internal: rearranged the whole script to be better readable and more efficient.
- Internal: updated the thumbnail.

Update: 15 Aug, 2017 @ 1:31pm

Version 1.3.0:

- added a new config section within the script that lets you specify, what kind of separator should be added between the block name and the number or the added strings when using 'addfront' or 'addback'. This also works with the autosort feature.
- added a new paramater to the autosort feature. With 'autosort,all' you can now autosort every block on every connected grid with continuous numbers. This is very useful for grids that are connected via rotors or pistons. On the other hand be careful if a ship is docked to your station since it will be renamed, too.
- fixed a bug in the autosort feature that caused all numbers in a blockname to disappear. Now only numbers, whitespaces and user chosen separators from the right hand side are removed and new numbers are given to the block afterwards
- updated some help texts

Update: 30 May, 2017 @ 6:03am

Version 1.2.0:

- added three new commands: "addfront", "addback" and "remove" (this was suggested by jmrumisek - thanks buddy!)
- addfront adds a specific string to the front of all blocknames. Optional you can filter, what blocks should get the string, e.g.: addfront,My cool String,Gyroscope will search for all blocks, that contain "Gyroscope" and add "My cool String" at the front of them
- addback adds a specific string at the end of all blocknames used identical like addfront
- remove will remove a given string from all blocknames or optionally only from specific ones, e.g.: remove,My cool String,Gyroscope will remove "My cool String" from any block containing "Gyroscope". It will not touch other blocks that contain "My cool String"
- tweaked autosort mode to remove any numbers if only one block of the given type exists
- internal script polishing

Update: 28 May, 2017 @ 7:47am

Version 1.1.0:

- fixed a bug that caused the script to crash when attempting to rename antennas
- added a new sorting option: "autosort". When given this parameter, the script will automatically sort every block on its grid with continuous numbers while adding the correct amount of leading zeros based on the total number of blocks for each type of block
- altered the way testmode works. Now you can add "!test" as a parameter to see the planned names without renaming any block, e.g.: OLDNAME,NEWNAME,!test

Update: 25 Apr, 2017 @ 3:32pm

Version 1.0.0