I don’t know if you still need an answer, but here is how to add parameters in your command line:
in editor: Edit → Editor Preferences → Play → Play in standalone game, you have a text box “additional launch parameters”, you can paste your parameters here, and when you’ll want to test in editor, you will have to play in standalone game
packaged game: get your ProjectName.exe and create a shortcut, right click on your newly created shortcut and click Properties, you can edit the command line and your parameters at the end
FString ParameterValue;
if (FParse::Value(FCommandLine::Get(), TEXT("-SomeParameter="), ParameterValue))
{
// Do something with the string you just parsed.
}
Make a shortcut that runs the UE4Editor.exe from your Unreal directory with these parameters.
You can just right-click anywhere and create a shortcut, then set the following as the “target”.