Sniper's Paradise!


ServerActors and ServerPackages Explained

This tutorial is to help you understand the difference between ServerActors and ServerPackages and and where to add your files when running a server

ServerPackage

ServerPackages are a list of Unreal package files the server admin adds to the Unreal.ini that clients need to connect and join the server. If a client is missing any of these files or any files these depend on, the client will attempt to download them.

ServerPackages are usually not executed files but need to be added and downloaded to be seen during game play. Customer skin packages for example will need to be added so players can use them and so they can be visible to everyone connected to the server. If you do not add these files to your serverpackages then your customer mods are loaded in the map but they are invisible.

Another example could be a new weapon or monster we created but didnt added it to the serverpackages and we tried to spawn a weapon in the map, we could pick them up and use them but they would not be seen you you or any other player. If it was a monster then we would be fighting one that was invisible. Files needed to run a map and its dependencies are automatically added to the ServerPackages for the runtime of the map.

A ServerActor

Serveractors are self executed as they need to be defined in your Unreal.ini. See example below:

ServerActors=SomeName.SomeOtherName.

SomeName is then the name of the package and SomeOtherName is the name of the script inside the package that has to be executed. ServerActors are serverside mods that will not be send to the client whereas ServerPackages are files that are sent to the client to download.

ServerActors are objects the server loads at startup and is executed as as a player enters the server. They usually handle specific tasks, like providing an uplink to the Unreal master server.

Adding ServerPackge and ServerActor?

There are couple of ways to add these files to Unreal, the first by going into Advanced Options, then Advanced, then Game Engine Settings. (if you do not have the advanced options menu, hit tab or your console key and type "preferences" then press enter).

Alternatively, you can edit your Unreal.ini in your system directory with an Notepad while Unreal is not running. Search for the section [Engine.GameEngine] there you will find ServerPackages and ServerActors. You can add your new entries of both types at the end of the list.

For example, you have a new skin pack for the female1 model called Female1ExtraSkins.utx and want your clients to be able to use it. First you will need to have the file installed in your Unreal/Texture folder then you would add the line: ServerPackages=Female1ExtraSkins to your Unreal.ini. As you can see, this is the filename without the extension.

An example for a ServerActor would be you wanting to run a file called ServerTest.u, the script class (the code) is named "MyTest" and of course the file is in the System directory, your entry would look like this: ServerActors=ServerTest.MyTest

Remember after making changes to your .ini you must restart Unreal for the changes to take effect.


Spam Killer

Back To Top
2005 Sniper's Paradise
All logos and trademarks are properties of their respective owners.
Unreal™ is a registered trademark of Epic Games Inc.
Privacy Policy
Website by Softly
Powered by RUSH