TheEnginesOfCreation / EntityPlus

EntityPlus is a mod that offers a true single player experience in the Quake III Arena videogame.
34 stars 5 forks source link

Use custom gametype #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently EntityPlus uses g_gametype 2 for its Single Player mode. The big 
problem with this is the sv_maxclients problem. The Q3 engine forces 
sv_maxclients to 8 when a map is loaded in single player mode. This means that 
having more than 7 enemies in a map at once is impossible unless the player 
manually changes sv_maxclients and reloads the level, which is not what we 
want. Unfortunately, there appears to be no real way of working around this 
force-to-8 "functionality" through qvm code. Using a custom gametype (perhaps 
reuse one of the Team Arena gametypes) could possibly fix this problem as I 
don't think the Q3 engine applies this sv_maxclients 8 thing in non-single 
player gametypes. Should double check that first though.

Original issue reported on code.google.com by era...@gmail.com on 25 May 2011 at 2:44

GoogleCodeExporter commented 9 years ago
Made the necessary changes for this and committed as r271. It appears to fix 
the sv_maxclients problem. Single player menu has been updated to handle the 
changes as well (this forces g_gametype to 8 and sv_maxclients to 64)

From now on, maps should be loaded with the "map" or "devmap" commands and no 
longer the "spmap" command. Also, g_gametype should be set to 8.

Original comment by era...@gmail.com on 26 May 2011 at 12:27