Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Command line Gametype for Shooter Game

For the Shooter Game Demo, is there a command line to specify gametype ShooterGame_TeamDeathMatch or ShooterGame_FreeForAll from a shortcut?

Here is the server shortcut I'm using to set up a listen server.

 "D:\ue4\Unreal Engine\4.3\Engine\Binaries\Win64\UE4Editor.exe" D:\myPath\Multiplayer\Multiplayer.uproject myMAP?listen -game -log

By default, it just uses whatever game type is baked into the map's world properties and I'd like to be able to override that and specify a gametype from a shortcut using command lines.

Product Version: Not Selected
more ▼

asked Sep 16 '14 at 01:36 PM in Using UE4

avatar image

46 3 7 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I dug around some more and found these references in the DefaultGame.ini located in the in the config directory.

+GameModeClassAliases=(ShortName="FFA",GameClassName="ShooterGame.ShooterGame_FreeForAll") +GameModeClassAliases=(ShortName="TDM",GameClassName="ShooterGame.ShooterGame_TeamDeathMatch")

 "D:\ue4\Unreal Engine\4.3\Engine\Binaries\Win64\UE4Editor.exe" D:\yourpath\Multiplayer\Multiplayer.uproject usernameMAP?Game=ShooterGame.ShooterGame_TeamDeathMatch -game -log

This will set up a dedicated server with the specified game mode.

Hope this helps anybody looking to use server shortcuts to test their own maps with specified game modes.

more ▼

answered Sep 16 '14 at 03:26 PM

avatar image

46 3 7 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question