fog on the server

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Fri May 30, 2008 8:55 pm

  • Is there any way to set fog on the server (2.4.2)?
    My nexuiz server (with mods) 83.175.179.66
    -------
    Sorry for my bad english
    ramzes
    Member
     
    Posts: 16
    Joined: Fri May 30, 2008 8:06 pm
    Location: Poland

Fri May 30, 2008 9:57 pm

Fri May 30, 2008 11:41 pm

  • I run dedicated on the other computer (ssh+screen) without X.

    I want to set fog for all players :D
    My nexuiz server (with mods) 83.175.179.66
    -------
    Sorry for my bad english
    ramzes
    Member
     
    Posts: 16
    Joined: Fri May 30, 2008 8:06 pm
    Location: Poland

Sat May 31, 2008 12:02 am

  • sv command line wrote:fog a b c d
    Unknown command "fog"
    My nexuiz server (with mods) 83.175.179.66
    -------
    Sorry for my bad english
    ramzes
    Member
     
    Posts: 16
    Joined: Fri May 30, 2008 8:06 pm
    Location: Poland

Sat May 31, 2008 7:27 am

  • To force fog on all maps, you'd have to change the game source. In the game code's ClientConnect function, you'd add a call

    stuffcmd(self, "fog ...........\n");

    where the fog parameters go into the ...........

    Then you recompile the source, get a new progs.dat, and it will force the fog.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Mon Jun 02, 2008 9:35 pm

  • Thanks so mach this is working (and i know why :) )

    all day long I thought what it didn't work for and it turned out that a map which changed the progs.dat file secretly had caused :/

    I noticed that the source code was exceptionally legible and I have the plenty of ideas (...)

    I am going now to play on my own server :D I am inviting everybody -> 83.175.184.179:26000

    Sorry for my english :/
    My nexuiz server (with mods) 83.175.179.66
    -------
    Sorry for my bad english
    ramzes
    Member
     
    Posts: 16
    Joined: Fri May 30, 2008 8:06 pm
    Location: Poland



Return to Nexuiz - Development




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest