Ship load command not working with spaces.

    Joined
    Jun 24, 2013
    Messages
    1,491
    Reaction score
    20
    • Purchased!
    • Top Forum Contributor
    • Legacy Citizen 10
    Ever since Schema added the ability to add spaces in ship names, there has been a slight issue overlooked by almost everyone. When trying to load in a ship with spaces in the blueprint name the command will not work and it will not load the ship.

    For Example, lets take Lancakes new ship.
    The blueprint name is "Battle Barge Final", because it has spaces in the name the command /load Battle Barge Final (name of ship) will not work because it is an invalid parameter count (There should only be two words after /load (Example, /load Battle_Barge_Final Name_of_ship), but because of the spaces in the ship name it has been bumped up to four).

    This makes it impossible to spawn in ships that cost over 2.1 billion credits and have spaces in their name. I would also like to see other commands that have the ability to spawn ships updated to support ships/stations with spaces in their names.
     

    Criss

    Social Media Director
    Joined
    Jun 25, 2013
    Messages
    2,187
    Reaction score
    1,772
    • Master Builder Bronze
    • Video Genius
    • Competition Winner - Stations
    Put the name in quotes.
     

    Criss

    Social Media Director
    Joined
    Jun 25, 2013
    Messages
    2,187
    Reaction score
    1,772
    • Master Builder Bronze
    • Video Genius
    • Competition Winner - Stations
    Weird. Pretty sure that should work. I know I've successfully spawned in ships that way.
     
    Joined
    Oct 11, 2013
    Messages
    797
    Reaction score
    441
    • Competition Winner - Stations
    • Master Builder Bronze
    • Thinking Positive
    The command reads a space as separation of the variables. So if you quote your ship names with these> " <All should be alright.

    Command: /load (NameInCatalog) (NameYouWantYourShipToHave)
    Example: /load "Super Awesome Shippe" "Very Awesome Shippe"

    Sometimes people mess up ' and ", which may be why yours was not working.

    EDIT: OHH, you might've gotten the amount of parameters wrong. The basic /load command has 2;
    One for designating which ship to take from the catalog, and the other to name the ship. Both of these must be quoted in the case they have spaces.
     
    Joined
    Jun 24, 2013
    Messages
    1,491
    Reaction score
    20
    • Purchased!
    • Top Forum Contributor
    • Legacy Citizen 10
    The command reads a space as separation of the variables. So if you quote your ship names with these> " <All should be alright.

    Command: /load (NameInCatalog) (NameYouWantYourShipToHave)
    Example: /load "Super Awesome Shippe" "Very Awesome Shippe"

    Sometimes people mess up ' and ", which may be why yours was not working.

    EDIT: OHH, you might've gotten the amount of parameters wrong. The basic /load command has 2;
    One for designating which ship to take from the catalog, and the other to name the ship. Both of these must be quoted in the case they have spaces.
    I used both " and ', neither worked.
     
    Joined
    Oct 11, 2013
    Messages
    797
    Reaction score
    441
    • Competition Winner - Stations
    • Master Builder Bronze
    • Thinking Positive
    Yes, I realize that you can only use 2 parameters, I already talked about that in the OP :confused:
    I meant to say, the parameters each have their separate function. You need them both :p
    So if you have a minimum of 2 parameters, and a maximum of 2, use quotation marks to make the game recognize a group of words as 1 parameter.
    Example: /load "Battle Barge Final" "Space Doughnut"
     
    Joined
    Oct 11, 2013
    Messages
    797
    Reaction score
    441
    • Competition Winner - Stations
    • Master Builder Bronze
    • Thinking Positive
    Uhh, I don't see why it wouldn't work.


    The command there spawned a ship in perfectly fine for me.
     
    Joined
    May 5, 2014
    Messages
    44
    Reaction score
    44
    I have to agree with Trollerbobman here. Although.. where it would not accept the command before, it accepts it now.. only.. the game hesitates as if something has been changed.. but.. still No ship. I also tried the spawn entity command.. same thing. As a Modeler I need to see other peeps designs.. it is how we as designers learn new ideas. This problem plagues me.

    I am new to posting but not a noob to Starmade. I have been modelling ships behind the scenes for some time now. I decided to step up my game. This is an awesome game that I want to be a part of, as such.. I will do that.
     
    Last edited:
    Joined
    Jul 17, 2013
    Messages
    1,429
    Reaction score
    205
    • Tester
    /load "nice cool ship" "Cool Ship"

    works totaly fine without problem!

    What error does it state ?
     
    Joined
    Jul 17, 2013
    Messages
    1,429
    Reaction score
    205
    • Tester
    Joined
    Jan 22, 2014
    Messages
    1,047
    Reaction score
    299
    Blueprints loading is not forwards compatible. Means that if you try to load a blueprint that was created with a newer version (like a dev version), you sometimes won't be able to load it in older versions. I believe the command will not give you an error message if that happens—however, the reason will be stated in the log files.
     
    Joined
    Jun 24, 2013
    Messages
    1,491
    Reaction score
    20
    • Purchased!
    • Top Forum Contributor
    • Legacy Citizen 10
    Blueprints loading is not forwards compatible. Means that if you try to load a blueprint that was created with a newer version (like a dev version), you sometimes won't be able to load it in older versions. I believe the command will not give you an error message if that happens—however, the reason will be stated in the log files.
    That may be what is causing it, I will look into it, but maybe the problem has been fixed in the latest update (0.17), So I will try and see if it works
     
    Joined
    Jul 17, 2013
    Messages
    1,429
    Reaction score
    205
    • Tester
    der_scheme is totaly right and i am an idiot for having not seen that you talked about Lancakes blueprint!
    That should load well in 0.17 now.
    There even was a bug report that explains that forward compatibility will not be intended.
    http://bugs.star-made.org/issues/925

    Awesome ship by Lancake by the way!