Space Engineers

Space Engineers

Not enough ratings
Mass Rename Script
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
766.000 B
2 Jan, 2015 @ 3:18am
11 Jan, 2015 @ 2:02pm
4 Change Notes ( view )

Subscribe to download
Mass Rename Script

Description
This script was made for renaming multiple items at once

Primary functions

- Rename blocks. (Surprise, surprise.)

Usage

- Create duplicated LCD screens
- Create raster LCD screens

Planned usage

- Make our setups compatible with each other (for example make two landing pads work independently)

How it works

The script needs three variables: <from>, <to> and <separator>. It searches for names starting with <from> and a <separator>, and renames them to <to> while keeping the <separator>. Example:

Variables:
from="LCD1";
to="LCD2";
separator=' '; //Note the apostrophe instead of the quotation mark, that's a char, not a string

Then if it finds something called for example "LCD1 3 5", it renames the block to "LCD2 3 5". Pretty simple, but useful with Syndicate stuff.
4 Comments
Baron Samedi 3 Jan, 2015 @ 9:12am 
Dude thanks! :D
Ben Snow  [author] 3 Jan, 2015 @ 3:12am 
Okay, now it works, tested with your prefix. All you have to do is to set the separator to '-'
Ben Snow  [author] 3 Jan, 2015 @ 3:02am 
Currently, it won"t, but I'm modifying the code a little bit to help you... a specific separator would fix the problem. Give me a moment...
Baron Samedi 2 Jan, 2015 @ 10:25pm 
Will it work with only part of a name? for instance, I like prefixing my ship parts (like R01-Thruster 34 or Recycler-gyroscope 2), but this is a pain when I want to build R02 and I don't want any duplicates. Would i be able to change just that part of the name?