UT2004 Content Mania

Server Admin Notes

These notes are only required by a few server administrators that need to use a 'Public Redirect' site for their files. If you don't, or don't know what a 'Public Redirect' site is, then you do not need to read any further.

You ONLY need to do any of this IF you use a PUBLIC REDIRECT site.

Public Redirect

If you have to use a 'Public', rather than a 'Private', redirect site to store all your files on, I understand, from other Server Administrators, that it is necessary to change the package name to upload new versions of the same package.

The 'Content Mania' mutator contains code that is not ideally suited to keep changing the package name. Previous setup files are no longer compatible if the package name is changed.

I have deliberately written a version of the Server Side part of the code, the 'Content Mania - Play' mutator, where I can change the package name slightly.

As a Server Administrator, you will still need to make one minor change everytime you want to change the setup of the levels on your server.

Setting up the level

Make sure you have the standard package installed on your local machine.

Use the 'Content Mania - Setup' mutator as normal. All the objects will be added to the 'jcbMania.ini' file in your local '<UT2004>/system' folder.

Use the Server_Admin version on a 'Public Redirect' site

I understand that you have to compress the package to turn it in to a .uxx file. That's part of your job, as a server administrator, and I don't know how to do that. You should use the version numbered package from the 'Server_Admin' folder instead of the standard package that is in your 'System' folder.

Upload the 'Server_Admin' version of the package to your server and 'Public Redirect' site.

Remember to change the UT2004.ini ServerPackages=jcbContentMania-v??a to match the new package name.

Changing the levels on the server

Every time you make changes to the levels on your local machine you need to make one minor change to the 'jcbMania.ini' file and upload it to your server.

Edit jcbMania.ini

Use NotePad or any text editor. The file can be found in the '<UT2004>/system' folder. You need to change the package name used in the section heading from 'jcbContentMania' to the name of the current 'Server_Admin' package.

Example: jcbMania.ini

[jcbContentMania.MutJCBPlayMania]
sPlayMapClassName=DM-DesertIsle
sPlayFileName=Second
sSetPower=powered
UseFile=(smap="DM-Antalus",sFile="New List")
UseFile=(smap="DM-DesertIsle",sFile="Second")
AddedObjects=(smap="DM-Antalus",sFile="New List",sType="Vehicle",sName="Manta",sClass="Onslaught.ONSHoverBike",vLoc=(X=-2132.850098,Y=-1119.040039,Z=-55.939999),rRot=(Pitch=0,Yaw=2861,Roll=0))
AddedObjects=(smap="DM-Antalus",sFile="New List",sType="Vehicle",sName="Scorpion",sClass="Onslaught.ONSRV",vLoc=(X=-2397.439941,Y=-2154.489990,Z=-439.399994),rRot=(Pitch=0,Yaw=3827,Roll=0))
...
You only need to change one line, as follows:
[jcbContentMania-v58a.MutJCBPlayMania]
sPlayMapClassName=DM-DesertIsle
sPlayFileName=Second
...
ONLY the package name for the 'MutJCBPlayMania' class needs to be changed to match the current 'Server_Admin' package name.

That's it, edit and upload that changed file to the server, each time you make changes to the levels.

Links: