Jump to content

ETrun-1.4.1 1.0.0

   (0 reviews)

1 Screenshot

About This File

ETrun 1.4.1


    Changelog
    • fix: fix broken scoreboard when players > 8 #171 @boutetnico
    • fix: reset player speed on run abort @boutetnico
    • fix: prevent client game crash with certain characters @boutetnico
    Download

    Client & server files are available at
    GitHub.

    Documentation

    Documentation is available at
    ReadTheDocs.

    Enjoy
    --
    >Nico*
    Contact: pm me
     
    1/ Get started

    Welcome to the official ETrun documentation.

    What is ETrun?

    ETrun is a Wolfenstein: Enemy Territory game modification based on ET-GPL. The objective of this mod is to bring timeruns support to it.

    Official website

    https://timeruns.net

    Downloading ETrun

    Find all the releases on GitHub releases page.

     

    2/ Client commands

    There are various client commands available in ETrun. They are described below.

    save

    /save [slotId]
    

    Save current position into the given slotId. If slotId is omitted, default to slot 0.

    load

    /load [slotId]
    

    Load a previously saved position from saved slots. If slotId is omitted, default to slot 0.

    • View angles are also loaded if cg_loadViewAngles = 1.
    • Weapon is also loaded if cg_loadWeapon = 1.

    login

    /login
    

    Attempt to login the player on timeruns.net API using cg_timerunsToken value.

    logout

    /logout
    

    Logout a player from timeruns.net API.

    records

    /records
    

    Request timeruns.net API for records of every runs in the current map and print them.

    loadCheckpoints

    /loadCheckpoints [userName] [runName]
    /loadCheckpoints [userName] [runId]
    

    Request timeruns.net API for the run checkpoints of a user and load them.

    • If userName is provided, it will look for checkpoints from a player named userName. If omitted, checkpoints from the current player will be loaded.
    • If a second argument is omitted, this command will load checkpoints for the first run of the map. If provided, the command will:
      1. Try to load checkpoints for this specific run name.
      2. In case of failure it will to load records from a specific run by its numeric id.
      3. Finally, it will load records for the first run of the map.

    Examples:

    /loadCheckpoints player run2
    /loadCheckpoints other_player
    /loadCheckpoints other_player run2
    

    h (help)

    /h [command]
    

    Provide help about ETrun commands. If command is omitted, list all available commands. If provided, display usage of command.

    tutorial

    /tutorial
    

    Show an introduction for beginners into the console.

    rank

    /rank [userName] [mapName] [runName] [physicsName]
    

    List surrounding records time and ranks from -5 to +5.

    When no option provided, this command will requires player to be logged in and will give his rank on the first run of current map with current physics settings. Otherwise, it will give output according to given options:

    • userName name of the user to show record of.
    • mapName name of the map to show record of.
    • runName name of the run among mapName to show record of.
    • physicsName name of the game physics to show record of. Possible values are VET,VQ3 or AP.

    Examples:

    /rank player
    /rank player shorties "Shorties 2"
    /rank other_player shorties "Shorties 2" AP
    

    class

    /class class [weapon1] [weapon2]
    

    Change player class to class. Possible classes are described below.

    • weapon1 is the numeric id of the weapon among class.
    • weapon2 is the numeric id of alternate weapon among class.
    Class name class
    Medic m
    Engineer e
    Field ops f
    Covert ops c
    Soldier s

    speclock

    /speclock
    

    Prevent spectators to spectate you.

    specunclock

    /specunclock
    

    Allow spectators to spectate you.

    specinvite

    /specinvite playerId
    

    Allow playerId to spectate you.

    specuninvite

    /specuninvite playerId
    

    Prevent a previously invited spectator to spectate you.

    m (private messaging)

    /m playerName message
    /m playerId message
    

    Send a private message containing text message to player name playerName. If playerName is not found, numeric player id playerId will be used instead.

    abort

    /abort
    

    Abort an active run.

    mod_information

    /mod_information
    

    Displays informations about mod.

    List of ETrun cvars.

    Speed meter

    Name Value Default Description
    cg_drawSpeedMeter 0,1 1 Display a speed meter.
    cg_speedMeterX 0-640 320 Speed meter horizontal position.
    cg_speedMeterY 0-480 220 Speed meter vertical position.
    cg_drawAccel 0,1 0 Color speed meter according to player acceleration. Introduced in ETrun 1.4.0.
    cg_accelSmoothness integer 100 Sensitivity of the cg_drawAccel cvar. Introduced in ETrun 1.4.0.

    CGaz

    Name Value Default Description
    cg_drawCGaz 0,1,2,3,4 0 Draw CGaz. Various types are available. Use 0 to disable.
    cg_realCGaz2 0,1 0 Adjust CGaz 2 for widescreen display. Introduced in ETrun 1.4.0.

    Velocity Snapping HUD

    Name Value Default Description
    cg_drawVelocitySnapping 0,1,2 0 Draw Velocity Snapping HUD. Various types are available. Use 0 to disable. Introduced in ETrun 1.4.0.
    cg_velocitySnappingH integer 8 Velocity Snapping HUD height. Introduced in ETrun 1.4.0.
    cg_velocitySnappingY 0-480 240 Velocity Snapping HUD vertical position. Introduced in ETrun 1.4.0.
    cg_velocitySnappingFov integer 120 Velocity Snapping Field Of View. Introduced in ETrun 1.4.0. 

    Run timer

    Name Value Default Description
    cg_drawTimer 0,1 1 Display a run timer.
    cg_timerX 0-640 320 Run timer horizontal position.
    cg_timerY 0-480 420 Run timer vertical position.

    Checkpoints

    Name Value Default Description
    cg_drawCheckPoints 0,1 1 Display checkpoints times.
    cg_checkPointsX 0-640 320 Checkpoints horizontal position.
    cg_checkPointsY 0-480 435 Checkpoints vertical position.
    cg_maxCheckPoints integer 5 Maximum number of checkpoints displayed.
    cg_autoLoadCheckpoints 0,1 0 Automatically load checkpoints from PB. Player must be logged in.

    Hide player model

    Name Value Default Description
    cg_hideOthers 0,1 1 Hide other player models.
    cg_hideRange integer 128 Distance expressed in game units where other player models should be hidden.
    cg_hideMe 0,1 0 Hide your player model from other players.

    Speclock

    Name Value Default Description
    cg_specLock 0,1 0 Enable persistant speclock.

    Display pressed keys

    Name Value Default Description
    cg_drawKeys 0,1,2,3 1 Display pressed keys. Display various types according to value.
    cg_keysX 0-640 550 Keys horizontal position.
    cg_keysY 0-480 210 Keys vertical position.
    cg_keysSize integer 64 Control size of displayed keys.

    Timeruns.net API authentication

    Name Value Default Description
    cg_timerunsToken string "" Player authentification token for timeruns.net API.
    cg_autoLogin 0,1 0 Enable automatic player login.

    Popups

    Name Value Default Description
    cg_numPopups 0-16 5 Maximum number of popups to display.
    cg_popupTime integer 1000 Delay (msec) between popups.
    cg_popupStayTime integer 2000 Time (msec) a popup stays on screen before fading out.
    cg_popupFadeTime integer 2500 Time (msec) a popup takes to fade out.

    Info panel

    Name Value Default Description
    cg_drawInfoPanel 0,1 1 Display info panel.
    cg_infoPanelX 0-640 537 Info panel horizontal position.
    cg_infoPanelY 0-480 2 Info panel vertical position.
    cg_minStartSpeed integer 0 Minimum start speed desired. If unmet, player is killed (new in ETrun 1.4.0). Use 0 to disable. Introduced in ETrun 1.2.0.

    Note: cg_minStartSpeed is reset to 0 at every new game session.

    Triggers visibility

    Name Value Default Description
    cg_drawTriggers 0,1,2,3,4 1 Make triggers visible. Use 0 to disable. Introduced in ETrun 1.4.0.
    cg_triggerOffset float 0 Apply a factor to the size of triggers. Introduced in ETrun 1.4.0.
    cg_triggerColor white,yellow,red,green,blue,magenta,cyan,orange white Set color of triggers. Introduced in ETrun 1.4.0.

    Possibles values for cg_drawTriggers are listed below.

    Value What is displayed
    0 None
    1 Triggers
    2 Triggers, Jumppads
    3 Triggers, Jumppads, Teleporters
    4 All types of triggers

    Demos

    Name Value Default Description
    cg_autoDemo 0,1 0 Enable recording demos automatically.
    cg_keepAllDemos 0,1 1 Keep all demos or only demos for PB records.

    Player position control

    Name Value Default Description
    cg_loadViewAngles 0,1 1 Enable restoring player view angles when loading its position.
    cg_loadWeapon 0,1 1 Enable restoring player weapon when loading its position.
    cg_autoLoad 0,1 1 Enable automatically restoring player position when he gets killed.

    Surface detection

    Name Value Default Description
    cg_drawOB 0,1 0 Display OverBounce detector.
    cg_drawSlick 0,1 0 Display slick surface detector.

    Logs

    Name Value Default Description
    cg_viewLog 0,1 0 Enable displaying the game console in a separate window from the main game window.

    Noclip

    Name Value Default Description
    cg_noclipSpeed integer 1000 Set movement speed while using /noclip command.

    Scoreboard

    Name Value Default Description
    cg_countryFlags 0,1 0 Display country flags on scoreboard (server needs to support GeoIP).

    Clock

    Name Value Default Description
    cg_drawClock 0,1 1 Display a clock.

    Chat

    Name Value Default Description
    cg_chatX 0-640 130 Chat horizontal position. Introduced in ETrun 1.4.0.
    cg_chatY 0-480 478 Chat vertical position. Introduced in ETrun 1.4.0.
    cg_chatHeight 0-8 8 Height of the chat. Introduced in ETrun 1.4.0.

    Events

    Name Value Default Description
    cg_onRunStart string "" Command(s) to trigger when a run starts . Introduced in ETrun 1.4.0.
    cg_onRunStop string "" Command(s) to trigger when a run stops . Introduced in ETrun 1.4.0.

    Widescreen

    Name Value Default Description
    cg_widescreenSupport 0,1 1 Enable widescreen display. Introduced in ETrun 1.4.0.
    cg_realFov 0,1 0 Enable widescreen Field Of View. Introduced in ETrun 1.4.0.

     

    Some cvars use bitflagged value, it means you can combine options by making the sum of their related flags.

    Game physics

    Name Value Default Description
    physics integer 255 Set game physics according to the given bitflagged value.

    Available flags for physics are listed below.

    Flag Value
    Vanilla ET 0
    Flat jumping 1
    No fall damage 2
    Ramp bounce 4
    Air control 8
    No overbounce 16
    Upmove bugfix 32
    Double jump 64
    Slick control 128

    Sticky values for physics used on official timeruns.net game servers are listed below.

    Physics name physics value
    VET 0
    VQ3 3
    VQ3 no OB 19
    AP with OB 239
    AP 255

    Map entities

    Name Value Default Description
    g_enableMapEntities integer 31 Change game map entities behaviour according to the given bitflagged value.
    g_forceTimerReset 0,1 1 Make sure start triggers are not prevented to reset run timer.
    g_holdDoorsOpen 0,1 1 Hold the doors open.
    g_disableDrowning 0,1 1 Prevent player from drowning.

    Available flags for g_enableMapEntities are listed below.

    Flag Value
    Classic settings 0
    Force kill entities to work 1
    Force hurt entities to work 2
    Enable jumppads trigger_push 4
    Enable velocity jumppads trigger_push_velocity 8
    Enable location jumppads target_location 16
    Disable hurt entities 32

    Flood protection

    Name Value Default Description
    g_floodProtect 0,1 1 Enable flood protection.
    g_floodThreshold integer 8 Limit the number of commands a client can send in an interval of 30 seconds.
    g_floodWait integer 768 Delay (msec) required between two commands from a client.
    g_maxNameChanges integer 3 Maximum name changes allowed per map. Use -1 to disable.
    vote_delay integer 20000 Force a delay (msec) between two votes. Introduced in 1.4.0.

    Firewall

    Name Value Default Description
    g_maxConnsPerIP integer 3 Maximum clients allowed to connect from a same IP address.

    Timeruns.net API

    Name Value Default Description
    g_useAPI 0,1 0 Enable use of timeruns.net API module.
    g_APImoduleName string timeruns.mod Name of API module file (must be located either in fs_homepath or fs_basepath).
    g_cupMode 0,1 0 Enable cup mode.
    g_cupKey string "" Access key used while server is running in cup mode.

    Custom mapscripts

    Name Value Default Description
    g_mapScriptDirectory string "custommapscripts" Name of the custom mapscripts directory.

    Timelimit

    Name Value Default Description
    timelimit integer 0 Amount of time before a random map gets loaded. 0 means no timelimit. Requires API.

    GeoIP

    Name Value Default Description
    g_useGeoIP 0,1 0 Enable use of GeoIP to geolocate and display country flags of players based on their IP addresses.
    g_geoIPDbPath string "" Path to GeoIP database inside etrun directory. Compatible with Maxmind Geolite Legacy.

    Logging

    Name Value Default Description
    g_chatLog 0,1 1 Enable logging player chat to a separate chat.log file. Introduced in 1.2.0.
    g_debugLog 0,1 0 Enable debug logging to a debug.log file.

    Strict save/load

    Name Value Default Description
    g_strictSaveLoad 0,1 0 Enable strict save/load mode.

    Enable/disable client features

    Name Value Default Description
    g_disableCGaz 0,1 0 Disable usage of CGaz. Introduced in 1.4.0.
    g_disableSnappingHUD 0,1 0 Disable usage of Velocity Snapping HUD. Introduced in 1.4.0.

    Terminology

    Name Description
    PB Personal Best record
    Speclock Prevent spectator from watching a player
    AP Advanced Physics
    OB Overbounce
    VET Vanilla ET. Default game physics in Wolfenstein ET
    CVAR Console Variable
     
     
     
     
     
    Create an account or sign in to download this

    File Information




    User Feedback

    Guest
    This content is now closed to further reviews.

    There are no reviews to display.

    ×
    ×
    • Create New...