UT2004 Admin Codes

General Support & Discussion related to the Unreal Tournament series including UT2k4 and UT 99 (including demo).
Post Reply
Raj<ACC>
GameServers.com Forum Newb
Posts: 8
Joined: Sun Mar 01, 2009 7:33 am

UT2004 Admin Codes

Post by Raj<ACC> » Sun Mar 01, 2009 7:38 am

UT2004 Admin Codes

      Log in as server administrator:
        - adminlogin pass
        - adminlogin user pass

      Do administrator log out:
        - adminlogout

    Add/Remove bots:
      admin addbots [amount]
      admin killbots
      admin killbots [amount]

    Kick/Ban a online player:
      admin kick [playername]
      admin kickban [playername]

    Server info:
      admin set Engine.GameReplicationInfo AdminName [name]
      admin set Engine.GameReplicationInfo AdminEmail [e-mail]
      admin set Engine.GameReplicationInfo MessageOfTheDay [Line1|Line2|Line3|Line4]
      admin set Engine.GameReplicationInfo ServerName [name]

    Game settings:
      admin set XGame.InstagibCTF bLowGrav True/False
      admin set XGame.InstagibCTF bForceRespawn True/False
      admin set XGame.InstagibCTF TimeLimit [minutes]
      admin set XGame.InstagibCTF bAllowBoost True/False
      admin set XGame.InstagibCTF bZoomInstagib True/False
      admin set XGame.InstagibCTF GoalScore [amount]
      admin set XGame.InstagibCTF bAllowPlayerLights True/False
      admin set XGame.InstagibCTF bAllowTrans True/False
      admin set Engine.GameInfo bEnableStatLogging True/False
      admin set Engine.GameInfo bAllowBehindView True/False
      admin set Engine.GameInfo bAdminCanPause True/False
      admin set Engine.GameInfo MaxSpectators [amount]
      admin set Engine.GameInfoMaxPlayers [amount]
      admin set UnrealGame.TeamGame bPlayersBalanceTeams True/False
      admin set Engine.Playercontroller bAdrenalineEnabled True/False
      admin set Engine.Controller AdrenalineMax [amount]
      admin set Engine.Controller Adrenaline [amount]
      admin set UnrealGame.bot Accuracy [-1;0;1]
      admin set Engine.GameInfo bAllowWeaponThrowing True/False
      admin set Engine.GameInfo bChangeLevels True/False
      admin set Engine.GameInfo bWeaponStay True/False
      admin set Engine.GameInfo GameDifficulty [dificulty]
        0.000000 (Novice)
        1.000000 (Average)
        2.000000 (Expierenced)
        3.000000 (Skilled)
        4.000000 (Adept)
        5.000000 (Masterfull)
        6.000000 (Inhuman)
        7.000000 (Godlike)

    Fun codes:
      admin set PlayerReplicationInfo Playername [name]
      admin set PlayerReplicationInfo bAdmin True/False
      admin set PlayerReplicationInfo Score [score]
      admin set PlayerReplicationInfo Ping [ping]
      admin set PlayerReplicationInfo HasFlag
      admin set PlayerReplicationInfo Deaths [deaths]
      admin set PlayerReplicationInfo Team [Red;Blue;None]
      admin set xgame.xpawn bOldInvis True/False
      admin set xgame.xpawn binvis True/False
      admin set xgame.xpawn MaxMultiJump [amount]
      admin set xgame.xpawn bBerserk True/False
      admin set xgame.xpawn bCanDodgeDoubleJump True/False
      admin set xgame.xpawn bCanWallDodge True/False
      admin set engine.playercontroller bgodmode True/False
      admin set pawn bCollideWorld True/False
      admin set pawn bNoWeaponFiring True/False
      admin set pawn drawscale [amount]
      admin set pawn waterspeed [amount]
      admin set pawn jumpz [amount]
      admin set pawn health [amount]
      admin set pawn groundspeed [amount]
      admin set engine.physicsvolume gravity Z=+950.000000
      admin set engine.physicsvolume gravity Z=-950.000000
      admin set CTFFLAG drawscale [amount]
      admin set engine.gamereplicationinfo weaponberserk [amount]

    Weapon fire:
      admin set xWeapons.weapon firemodeclass class'xweapons.weaponfire'

        AssaultRifle BioFire
        BallLauncher BioChargedFire
        BioRifle FlakFire
        ClassicSniperRifle FlakAltFire
        FlakCannon LinkAltFire
        LinkGun RedeemerFire
        Minigun RedeemerGuidedFire
        ONSAVRiL ShieldFire
        ONSGrenadeLauncher ShieldAltFire
        ONSMineLayer ShockProjFire
        supershockrifle ShockBeamFire
        Redeemer SuperShockBeamFire
        RocketLauncher SniperFire
        ShieldGun AssaultFire
        ShockRifle AssaultGrenade
        SniperRifle MinigunFire
        TransLauncher MinigunAltFire
      admin set xWeapons.weapon firemodeclass class'onslaught.weaponfire'
        ONSAVRiLFire
        ONSMineThrowFire

    Weapon Ammo:
      admin set xWeapons.weapon ammochargef [amount]

    Change Weapon skin:
      admin set xWeapons.weapon attachmentclass class'WeaponAttachmen'
        AssaultAttachment
        BallAttachment
        BioAttachment
        FlakAttachment
        LinkAttachment
        MinigunAttachment
        PainterAttachment
        RedeemerAttachment
        RocketAttachment
        ShieldAttachment
        ShockAttachment
        SniperAttachment
        TransAttachment
        ClassicSniperAttachment


    Enable/Disable weapon throwing in curent game:
      admin set xWeapons.weapon bCanThrow True/False
        Example:

        admin set xWeapons.ShieldGun bCanThrow True/False
        admin set xWeapons.Translauncher bCanThrow True/False
Last edited by Raj<ACC> on Wed Dec 28, 2011 3:22 pm, edited 1 time in total.
Image

Image

PiLL
GameServers.com Forum Newb
Posts: 3
Joined: Sun May 10, 2009 12:33 pm

Post by PiLL » Mon May 11, 2009 11:43 am

maybe i'm doing something wrong, but i'm a Noob and i'm not even sure where u are talking about logging in on first part, i tried ~, but it says unrecognized command... could you help with more detail? :D

Raj<ACC>
GameServers.com Forum Newb
Posts: 8
Joined: Sun Mar 01, 2009 7:33 am

Post by Raj<ACC> » Wed May 13, 2009 8:40 am

PiLL wrote:maybe i'm doing something wrong, but i'm a Noob and i'm not even sure where u are talking about logging in on first part, i tried ~, but it says unrecognized command... could you help with more detail? :D


When you are in game, just open console (or press TAB to open command line) and type in your command.

To get administrator access, you'll need to log in as admin and you'll use this command:

Code: Select all

adminlogin 'your password'


without quotes of course.

You can setup your admin account in webadmin if i remember it correctly.
Image

Image

lucasPK
GameServers.com Forum Newb
Posts: 2
Joined: Fri May 15, 2009 1:24 pm

Post by lucasPK » Fri May 15, 2009 6:16 pm

having problems with setting difficulty

Raj<ACC>
GameServers.com Forum Newb
Posts: 8
Joined: Sun Mar 01, 2009 7:33 am

Post by Raj<ACC> » Sun May 24, 2009 1:03 pm

lucasPK wrote:having problems with setting difficulty


replace the [value] with 1-4

for example:
SET Engine.GameInfo GameDifficulty 1

It just changes the bots skill level. The changes take effect in next map.
Image

Image

Some_Mate
No Longer a Newb
Posts: 24
Joined: Mon Jun 04, 2007 2:03 pm

Post by Some_Mate » Sun May 31, 2009 11:41 am

Nice, should be sticky :D

[gs] Ordinance
No Longer a Newb
Posts: 193
Joined: Sun Aug 10, 2008 5:55 pm

Post by [gs] Ordinance » Sun Aug 09, 2009 12:38 am

Some_Mate wrote:Nice, should be sticky :D


and it is now... as is his KF Admin guide.

Nice write up.
Image

Raj<ACC>
GameServers.com Forum Newb
Posts: 8
Joined: Sun Mar 01, 2009 7:33 am

Post by Raj<ACC> » Sun Aug 09, 2009 4:24 am

Thanks ^^
Image

Image

SomethingIllegal
GameServers.com Forum Newb
Posts: 1
Joined: Thu Oct 08, 2009 10:53 am

hahaha

Post by SomethingIllegal » Thu Oct 08, 2009 10:56 am

well nice copying from my site :lol:
why didnt You copy and paste all the rest codes i had? :twisted:

Post Reply