Server Side No Fog

Discussion in 'Spearhead' started by pafman, Mar 29, 2012.

  1. pafman Private

    Contributions:
    0
    Specialties:
    Pure Gamer
    Processing:
    hi, server noob back again.
    i have read and searched google but i haven't found a server side no fog mod that will work with sh/ft. but i have played on sh/ft servers with no fog.

    here is what i think might work from my reading:

    make a copy of my game's pak1.pk3 >open maps folder > open DM folder > open mohdm1.scr > edit line "//$world farplane 5000" to "$world farplane 25000" > save > repeat with all maps > overwrite in my server?

    i have noticed verschneit does not have line $world farplane "", what do i do here?
  2. loeri loeri.tk

    Contributions:
    49
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    i just added $world farplane 50000 to mp_versneit_dm and i got no fog.
    Simple example:
    Code:
    main:
     
    //*** Precache Dm Stuff
        exec global/DMprecache.scr
     
    $world farplane 50000
     
    //////////////////////////////////////////
        level waittill prespawn
    //////////////////////////////////////////
    thread global/door_locked.scr::lock
     
    //////////////////////////////////////////
        level waittill spawn
    //////////////////////////////////////////
    
    Pics:
    [IMG]
    [IMG]
  3. pafman Private

    Contributions:
    0
    Specialties:
    Pure Gamer
    Processing:
    works great! this is the directory: user-mefy-extgametypes-1_2_2-STOCKMAPS+Teleporter-Mod1.0-FINAL > maps > dm (or obj) > verschneit.scr
    add line "$world farplane 50000" as shown below in verschneit.scr :

    main:
    level.script = "maps/dm/MP_verschneit_DM.scr"
    level.music = "MP_verschneit_DM"
    // set scoreboard messages
    setcvar "g_obj_alliedtext1" "Verschneit"
    setcvar "g_obj_alliedtext2" ""
    setcvar "g_obj_alliedtext3" ""
    setcvar "g_obj_axistext1" ""
    setcvar "g_obj_axistext2" ""
    setcvar "g_obj_axistext3" ""
    setcvar "g_scoreboardpic" "mp_verschneit_dm.tga"
    switch (waitthread global/libmef/util.scr::get_gametype)
    {
    case "ctf":
    case "ftctf":
    case "dem":
    case "ftdem":
    waitthread setup_bases
    break
    }
    $world farplane 50000

    level waitTill prespawn
    exec global/ambient.scr
    exec global/DMprecache.scr
    exec global/door_locked.scr
    local.fix = spawn script_model
    local.fix model "static/barbwire_long_two_post.tik"
    local.fix.origin = ( -3130.00 -3400.80 380.45 )
    local.fix.angles = (0 90 0)
    local.fix.scale = 0.70
    local.fix hide
    local.fix solid
    ////////////////////
    level waittill spawn
    ////////////////////
    thread port1
    thread port2
    thread port3
    end

    setup_bases:
    // Base positions by Kaotik
    waitthread global/libmef/bases.scr::addbasepair "-3392.87 -1215.48 8.13 0 SW Sector" "-1027.89 -1311.13 -127.88 -90 Under W Bridge"
    waitthread global/libmef/bases.scr::addbasepair "-2356.75 372.87 8.13 -90 W Sector" "-82.40 -2815.13 -287.88 -90 N Central Gutter"
    end

    do this to all mp/obj or edit $world farplane to "50000" and ALL fog is gone! TY LOERI !!!!!!!!!!

Share This Page