Space Engineers

Space Engineers

[PARK] Piston And Rotor Keybinds
GrumpyGoblin Jun 4, 2024 @ 12:14am
Runs, but does not create the sample "Custom Data" info in the instructions
All it creates in the "Custom Data" field is the single world - "Main"

If I try to add the variables in the example it just throws tons of exceptions.
< >
Showing 1-4 of 4 comments
Brynjar Jun 4, 2024 @ 11:34am 
I'm having the same issue. I have tried re-subscribing to the script, starting new worlds with no mods, building a very basic rover with one rotor, one hinge and one piston from scratch, but keep running into the same issue.

If I take control of the remote control and recompile the script it says:
"Initializing PARK (faction tag)...
I see you are already inside Remote Control"

If I copy paste the example text of what should show up in the custom data I get the following error:
Initializing PARK (faction tag)... Caught exception during execution of script: Section contains illegal characters (\r, \n,,) Parameter name: section at VRage.Game.ModAPI.Ingame.Utilities.My IniKey..ctor(String section, String name) at Program.Controllable.LoadValues(MyIni ini, IMyTerminalBlock block, List'1 sections, UInt16& mask, String heading) at Program.Motor..ctor(IMyMotorStator motor, MyIni ini List'1 sections, UInt16& mask) at Program.InitBlockT(T block, MyIni ini) at Program.<>c__DisplayClass22_0.<.ctor> b__0(IMyTerminalBlock b) at Sandbox.Game.GameSystems.MyBlockG roup.Sandbox.ModAPI.Ingame.IMyBlockG roup.GetBlocksOfTypeT(List'1 blocks, Func'2 collect) at Program..ctor()
Last edited by Brynjar; Jun 4, 2024 @ 11:34am
Xerkus Jun 5, 2024 @ 6:41am 
Your error is about line endings. Space engineers can not read ini config with \r\n.

Use notepad++. In notepad++ go Edit -> EOL Conversion -> Unix (LF) to change line endings.
Brynjar Jun 5, 2024 @ 11:24am 
Yes, that is what the error is complaining about, but that does not seem to be the main issue here. The main issue is that the script doesn't generate anything other than "Main" in the Custom Data when initiallly compiled. The above error is only appears to be a result of having a line in the custom data saying "[PARK:Main]", which judging by both the instructions provided with the script and youtube guides shouldn't be a problem.

I believe the ini in this case is part of what the script is doing, and therefore not something I can solve simply by copy pasting it to notepad++.
Trekki  [developer] Jun 20, 2024 @ 10:32pm 
I suppose you are talking about the customdata in the Programmable block? The actual generated profiles where you get to define the behavior from are located in the pistons and rotors under the script's control (AKA, the group as defined in the code itself).

The PB just holds what is essentially metadata, a list of names that tell the script what to look for when evaluating the customdata of the blocks under it's control. "Main" in the PB directly correlates to "[PARK:Main]" in any pistons and rotors in it's group.

Adding "SmittyWerbenjagermanjensen" on a newline and recompiling would cause the script to generate the profile for "[PARK:SmittyWerbenjagermanjensen]" as well.
Last edited by Trekki; Jun 20, 2024 @ 10:33pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50