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 script gives me values very much lower than what is really required, does it still work ?
You can download it on pastebin
#######################
https://pastebin.com/bB5um7GZ
#######################
or add /bB5um7GZ
Position:
"Large ship blocks from projector"
Added the following:
{"Grated Catwalk Corner", new Dictionary<string, int>{
{"Girder",4},
{"SmallTube",32},
{"Construction",24}
}},
{"Grated Catwalk Straight", new Dictionary<string, int>{
{"Girder",4},
{"SmallTube",32},
{"Construction",24}
}},
{"Sci-Fi Large Atmospheric Thruster", new Dictionary<string, int>{
{"SteelPlate",230},
{"Construction",60},
{"LargeTube",50},
{"MetalGrid",40},
{"Motor", 1100}
}},
{"Sci-Fi Atmospheric Thruster", new Dictionary<string, int>{
{"Motor",110},
{"MetalGrid",10},
{"LargeTube",8},
{"Construction",50},
{"SteelPlate",35}
}},
{"Hydrogen Engine", new Dictionary<string, int>{
{"Motor",12},
{"LargeTube",12},
{"Construction",70},
{"SteelPlate",100},
{"PowerCell",1},
{"Computer",4},
{"SmallTube",20}
}},
Additionally to the already mentioned updates/bugs here are my two cents:
Position:
"DisplayBlock = DisplayBlocks[0];
// find object type
/*"
Added:
MyObjectBuilder_TextPanel/SciFiLCDPanel5x5 // Sci-Fi LCD Panel 5x5
MyObjectBuilder_TextPanel/TransparentLCD // Transparent LCD
Position:
"Large ship blocks from projector"
Added the following:
{"Control Seat", new Dictionary<string, int>{
{"InteriorPlate", 30},
{"Construction",30},
{"Motor",2},
{"Computer",100},
{"Display",6}
}},
{"Grated Catwalk", new Dictionary<string, int>{
{"Girder",4},
{"SmallTube",20},
{"Construction",16}
}},
{"Grated Catwalk Wall", new Dictionary<string, int>{
{"Girder",4},
{"SmallTube",26},
{"Construction",20}
}},
Additionally I have noticed that large grid "Cockpit" incorrectly is labled as using Interior Plates when it uses regular steel plates. This might have just been an update change however. (Perhaps the thruster names may have also been from an update?)
I was able to make the necessary change and get it working (along with adding Sci-Fi entries for all thrusters, as well as Industrial Cockpit.)
I did corrected the script at latest version (for you and others to use it) it's still your code it just don't have new DLCs blocks. :)
(I didn't made any edits on my own outside updating the code depreciated)
I did sent you the code via email too
Enjoy and have a great day !
Edit : Due to char limitation I did put it into a pastebin
************
https://pastebin.com/jYhA0PqJ
If link gets deleted go to pastebin and add /jYhA0PqJ
If there are any problems with the script, let me know, and I'll push an update to it. Also, @the-phil if you have any feedback for the updated script (i.e. something needs to be changed), I'll make any changes you would like ASAP. I've also included a link to a changelog for you in the same comment as the updated script; it includes pretty much everything I changed/updated in the script.
For personal use, I'm going to do some tests in a vanilla creative world to 1. see if there are any vanilla blocks that need to be added to the block library (both small and large grids), and 2. check to make sure the required components are still correct. I did notice you mention that you'll be updating the script soon, though, so if you're okay with it I'll DM you the updated block dictionary if I find any issues with the vanilla blocks. :)
A while back they deprecated code when they added the surfaces for text panels, hopefully that deprecated code wasn't taken completely out. Regardless it needs to be update, so I'll take a peak when I'm on break. Thanks for the heads up!
Sorry I missed your comment, Anonomi.
But you'll be glad you waited. My fixes merely got it not erroring, I noticed. So glad you decided to work on it, Phil. Thanks for the effort!
'Oxygen Generator' is now called 'O2/H2 Generator'
You were spot on about getItems.
projector on/off via 'setvalue' needs to be replaced, I used "isWorking"
Ditto showOnHud for display blocks
Ditto setting FontSize
Fonts are now stored as strings, so you can scrap the font int completely
Spotted a couple of links that may be of use for me in the future KSH forums [forum.keenswh.com], Steam forurms
At a glance commenting line 862 to 867 and adding a list instantiation and a new call for GetItems might do the trick, not sure how assemblers work with the new changes... this is not tested; only going off the info on the forums and a partially functional exhausted brain.
List<MyInventoryItem> Items = new List<MyInventoryItem>();
Blocks.GetItems(Items);
I'll see if I can take a look at it after I've recovered some brain power!
Looks like some of the inventory data gathering routines in the core SE code changed. Instead of using SubtypeName from MyObjectBuilder_Base I did some substring magic to get the same info.
This way with a bit of letter size management you will be able to get mostly always get all the requirements on 1 screen without having to scroll.
p.s. love your mod!
There does seem to be a flicker in my test instance where it flashes the LCD "Online" default image then the text. There may have been a change in the core of SE that makes some of code used to toggle the text mode improper, if I get some time I'll look into that.
If you decide to take the time to edit all those variables for another language please post it on the workshop and I'll link it from this scripts page!
Thanks :).
Cheers
Note to self loop at line 435 Me.CustomData, variable strKey convert to tim naming convention possible if/switch or add extra field to dicts or new conversion dict. New variable strTimData in loop, Me.CustomData = strTimData;