Jump to content

[Tutorial] How to make a serverside mutator


NodSaibot

Recommended Posts

  • Totem Arts Staff

It is very simple to create a serverside only mutator. This will mean the client will not download anything when it is joining and will not be required to have it to play the match. The process to creating a serverside mutator is as follows.

In your package, in the Classes folder, create a new file called PACKAGENAME.upkg

image.png.799e4ddab73ef85885c285de9687cba3.png

Inside the newly created file, put this inside.

[Flags]
AllowDownload=False
ClientOptional=True
ServerSideOnly=True

Recompile your package, and you have a serverside mutator!

You can also use the ucc packageflag commandlet to set flags for existing packages, but I won't go into detail on how to do that.

This awesome tool can be used to decompile and read package flags of compiled packages.

image.png.690d5a2917de9bf118f2e8b1989dda76.png

  • Thanks 3
Link to comment
Share on other sites

  • Totem Arts Staff
39 minutes ago, kira said:

Wow so this means i can for example change weapon class for sbh, but can flag it as server side so players wouldn't need to download. U file? 

Depends on where the code is executed or what the code is doing.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...