Page 1 of 1

Quake3 - creating a new gametype?

Posted: Wed May 14, 2008 1:59 am
by chopan
Hey, new here, im starting on the quake3 source and i want to make a gametype similar to Last man Standing for a mod.
Any tips on where should i start looking/modifiyng?
Thanks!

Re: Quake3 - creating a new gametype?

Posted: Wed May 14, 2008 2:57 am
by TTK-Bandit
When your new to quake3 you should check some tutorials first to get into the code:
http://code3arena.planetquake.gamespy.com/
http://quakestyle.telefragged.com/tuts.shtml
http://www.quake3hut.co.uk/q3coding/

might wanna look into this one too, it shows some detail on how the game is walking through the code:
http://www.linux.ucla.edu/~phaethon/q3mc/q3mc.html

and here are some mods that have released their code:
http://synapse.vgfort.com/quake3.php

Re: Quake3 - creating a new gametype?

Posted: Wed May 14, 2008 3:11 am
by chopan
thank you for the links!, i have already tried some tutorials and im starting to understand some of the code

i didnt found much tutorials at first so those links are very usefull, also i find this one very usefull
http://ioqsrc.vampireducks.com/

Re: Quake3 - creating a new gametype?

Posted: Wed May 14, 2008 6:08 pm
by corncobman
The way I did it was to give each player a number of lives when they spawn (g_client.c ClientSpawn() function). Then when they die take a life away (g_combat.c playerdie() function) and put the player into a new spectator state when all their lives are gone. Then end the game if there's only one player not eliminated.

Re: Quake3 - creating a new gametype?

Posted: Wed May 14, 2008 11:27 pm
by chopan
thats a good idea.
now im trying to find were to make the gametype visible so the user can choose it, i guess its done directly on the ui code or maybe find where its set on the server so i can force it to test it.

Re: Quake3 - creating a new gametype?

Posted: Fri May 16, 2008 10:33 pm
by corey.reid
im new here i do not no where the game creating thing is

Re: Quake3 - creating a new gametype?

Posted: Fri May 16, 2008 11:09 pm
by chopan
found where is set on the ui
ui_startserver.c , well its a start point :D