Author Topic: Spawn System  (Read 2032 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:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 22, 2024, 11:01:39 AM

Login with username, password and session length