Author Topic: Spawn System  (Read 2285 times)

Offline Lejionator

  • Full Member
  • ***
  • Posts: 126
  • I AM THE DESTROYER!
    • View Profile
    • My Quake Live Stats!
  • Rated:
Spawn System
« on: February 25, 2013, 09:55:00 PM »
Hi, dudes!

I was looking at the opentdm's readme(http://www.r1ch.net/forum/index.php?topic=1547.0) and saw something curious about spawns.

g_1v1_spawn_mode [0/1/2]
      Configurable spawn settings (bitmaskable with 4)
         0 - 3.20 (avoid closest spawns, bugged)
         1 - fixed 3.20
         2 - true random
         &4 - random on small maps
            default: 1

   g_tdm_spawn_mode [0/1/2]
      Configurable spawn settings:
         0 - 3.20 (avoid closest spawns, bugged)
         1 - fixed 3.20
         2 - true random
            default: 1


My questions are:
I wanted to understand why the default 3.20 version is bugged and how can I see that? But Q2 default spawns was totally random, right? I remember that there had spawn fartest dmflag, which is understood that the option "0" in OpenTDM, I believe.

Then option "1" is the true spawn fartest, huh?

4 is really random in small maps? why not in big maps too?

Oh, I remember of a thing cool. In battlegrounds mod, was a bug that you simply die e lost 1 frag!!! What crazy bug! And appears a message like "old delta frame" or something! WTF was this??? This was strange but cool, lol

thanks in advance!  ;)

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"Be water, my friend!" (c) Bruce Lee

Offline Jay Dolan

  • Swanky Member
  • *****
  • Posts: 644
    • View Profile
    • Quetoo.org
  • Rated:
Re: Spawn System
« Reply #1 on: February 26, 2013, 09:46:02 AM »
Hm, I wasn't aware of this bug, but looking at the source:

http://jdolan.dyndns.org/trac/browser/quake2/trunk/src/game/p_client.c#L725

It does look like the "random, but avoid the two closest spawns" logic is hosed; it'll only avoid the one closest spawn, thus potentially spawning you quite close to another player when better spawns were available.

So I think R1's fix addresses that logic, and does not interfere with G_SPAWN_FARTHEST. In other words, this fix is only applicable when G_SPAWN_FARTHEST is not included in dm_flags.

 

El Box de Shoutamente

Last 10 Shouts:

 

|iR|Focalor

July 04, 2025, 06:33:05 AM
 

RyU

June 29, 2025, 06:27:46 PM
Q2 must never die  :)
 

|iR|Focalor

May 26, 2025, 01:17:30 PM
 

-Unh0ly-

May 22, 2025, 05:45:28 PM
 

Yotematoi

May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable  
Morir y revivir es costumbre, lástima q el QT estaba bueno
 

ImperiusDamian

May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
 

|iR|Focalor

May 11, 2025, 02:33:39 PM
 

-Unh0ly-

May 03, 2025, 08:02:46 AM
198.179.6.200:30634
 

Yotematoi

May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery." :D

Show 50 latest
Welcome, Guest. Please login or register.
July 08, 2025, 07:45:05 AM

Login with username, password and session length