Quake 3 - Single Player

Locked
Silicone_Milk
Posts: 2237
Joined: Sat Mar 12, 2005 10:49 pm

Quake 3 - Single Player

Post by Silicone_Milk »

How does "single player" actually work in Quake 3?

I've been mucking through all the code trying to see if there was anything unique and then suddenly came to the conclusion that maybe a server is just created on localhost and then the client simply connects to localhost. This would explain why I'm not seeing any special single player code.

I was itching to mod Quake 3 again and wanted to implement an episodic single player mode but it seems to me that using Quake 3 for that would be like cutting slits into a spoon to use as a fork. :smirk:
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Re: Quake 3 - Single Player

Post by MKJ »

it is, mostly. theres a function that changes the scoreboard at the end of the match tho..

i remember setting up a co-op SP game by glitch once. pretty fun actually :owned:
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Quake 3 - Single Player

Post by ^misantropia^ »

Silicone_Milk wrote:I've been mucking through all the code trying to see if there was anything unique and then suddenly came to the conclusion that maybe a server is just created on localhost and then the client simply connects to localhost.
^^ this. It's the same in Q1 and Q2, btw.
Silicone_Milk
Posts: 2237
Joined: Sat Mar 12, 2005 10:49 pm

Re: Quake 3 - Single Player

Post by Silicone_Milk »

Well crap. I was wanting to avoid dealing with anything server related.

I guess I'll just keep futzing around with my old game engine I left in the dust ages ago. I'll probably end up learning more from it anyways.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Quake 3 - Single Player

Post by ^misantropia^ »

Why? A client-server setup is great if you want to add e.g. co-op support later on.
Silicone_Milk
Posts: 2237
Joined: Sat Mar 12, 2005 10:49 pm

Re: Quake 3 - Single Player

Post by Silicone_Milk »

But I don't want to add co-op :P
Locked