terencehill [Sat, 9 Oct 2010 22:05:02 +0000 (00:05 +0200)]
Map voting screen:
- remove inexistent numbers from the previews
- remove a wrong check that caused to highlight as voted the map with no preview available
- make the preview slightly brighter on mouse selection
terencehill [Mon, 4 Oct 2010 13:57:43 +0000 (15:57 +0200)]
- Fix typo in fireball code that was causing to: * being able to shoot with primary fire even if u don't have enough fuel, showing a wrong fuel progress bar because fuel quantity becomes negative * not being able to shoot with secondary fire if u have less than g_balance_fireball_primary_ammo fuel
terencehill [Fri, 1 Oct 2010 22:41:30 +0000 (00:41 +0200)]
Other cleanups: - Make scoreboard_active global and use it instead of calling every time HUD_WouldDrawScoreboard (and remove the check for (intermission == 2 && scoreboard_showscores) because this case is included in the check for scoreboard_showscores) - Initialize vars scoreboard_fade*speed only when needed - Do not call HUD_UpdatePlayerTeams(); if the scoreboard is not shown
Mircea Kitsune [Sun, 3 Oct 2010 11:30:28 +0000 (14:30 +0300)]
Botclip CTF flags and Keyhunt keys too. Or if the key / flag gets dropped through a botclip, bots may not reach them an continue the game on some maps.
Mircea Kitsune [Sun, 3 Oct 2010 11:18:12 +0000 (14:18 +0300)]
Implement botclip common shader. Bot clips can now be used to block bots from specific areas of a map. The common shader should be restored with this change too.
Small cleanups:
- Fix some cvar descriptions
- Do not even call HUD_DrawScoreboardAccuracyStats if we are in warmup stage
- Add the vars weapon_height and weapon_width to avoid repeating many times the same operation
- Fix hud_panel_weapons_accuracy usage that was considered always true
- Initialize accuracy levels only when the cvar hud_panel_weapons_accuracy_color_levels changes, not at every frame
- Show accuracy stats data without colors on the scoreboard if hud_panel_weapons_accuracy_color_levels is "", instead of not showing at all the whole accuracy panel
Jakob MG [Tue, 28 Sep 2010 19:08:28 +0000 (21:08 +0200)]
Make relay_activate and co work for thise ents:
trigger_hurt
trigger_heal
trigger_impulse
trigger_push
func_rotating
func_bobbing
func_button
func_fourier
func_vectormamamam
trigger_teleport
New armor pickup model (dont forget to change code to use sane names) also textures are way too big, someone have to lower res them to something that will be more appropriate.
Bring some accuracy on the fps counter:
- Get the time with gettime(GETTIME_REALTIME) because for some reason the vars time and frametime are not accurate (frametime and (time - time of previous frame) are always > 0.1) and because otherwise fps depend on slowmo value
- Fix inaccurate fps at low hud_panel_engineinfo_framecounter_time values and default this cvar to 0.1 instead of 1 for both fast update and good reading
Block the bots during the countdown to game start in general warmup mode (with g_warmup and sv_ready_restart_after_countdown enabled)
Keep doing the last movement until the game starts as they do currently (for example keep running against a wall) just sucks.
Mircea Kitsune [Thu, 23 Sep 2010 16:14:53 +0000 (19:14 +0300)]
Fix a bug from Nexuiz that would cause a bot's team overrider to be ignored in Clan Arena between rounds (the bot would be assigned to the smallest team after the first round, regardless of his team overrider).
Other minor fixes of bot_vs_human:
- Always check for available teams before reading bot_vs_human value, as it works only in games with 2 teams
- Do not read bot_join_empty and minplayers cvars when bot_vs_human is active, they are incompatible with it
- disable team nagger when bot_vs_human is active
Mircea Kitsune [Wed, 15 Sep 2010 13:19:13 +0000 (16:19 +0300)]
Allow forcing the player to a given team in campaign mode. Useful for story based campaigns where you might want the player to play only in team X.
No, bot_vs_human can't replace this iirc. For one thing, bot_vs_human is useless if you have more than 2 teams. Also, bot_vs_human can only force the player in team X while forcing bots in the other team (so you can't put the player to the team you want without braking bot balance).