continued:
Client Chatcommands
Version Added: 1.1
Last Modified: 1.3 test2
Documentation last modified: May 20, 2005
New shrub chat commands added:
* !whaleclient : Shows the Whaleclient version
* !flipcoin (number) : Randomly chooses between head and tail. If you add a number as parameter it return a number between 0 and that number.
* !localtime : Shows the player's local time.
* !listmaps : Lists the maps in the current campaign plus their completion status (yellow=current, red=axis won, blue=allies won).
* !beer [partialname] (reason) : Gives a player matching the partial name a beer. (Partial name must match exactly 1 player)
* !coffee [partialname] (reason) : Gives a player matching the partial name a cup of coffee. (Partial name must match exactly 1 player)
* !cookie [partialname] (reason) : Gives a player matching the partial name a cookie. (Partial name must match exactly 1 player)
* !pizza [partialname] (pizza filling) : Gives a player matching the partial name a pizza. (Partial name must match exactly 1 player)
* !help (command without the "!") : Shows help for the specified command.
By typing commands /!whaleclient, /!flipcoin, /!localtime, /!listmaps or /!help in the console, they will be returned only to yourself.
Chat commands can be disabled with the cg_noChatCommands (0) cvar.
* Hud Changes: Added etpro's althud's, controlled with cg_altHud (0) (possible: 0, 1 or 2). (b_althud flags are not implemented yet)
* Added a helmet icon (on althuds 1 and 2), indicating if you still have a helmet.
* Added cg_hudyoffset (0) can push the hud up (or down), usefull for clearing the demorecord status line out of the hud (on 2.55/2.56)
* Setting cg_hudyoffset to -1, automatically pushes the hud up when recording and down when finished (for playing on ET 2.56/2.55). (Don't use "/record" and "/stoprecord" or it can go out of sync). Vote and descriptive text is now smaller, the scale is controlled by the cg_textScale(0.
cvar. Setting cg_textScale 1.0 gives the etmain text size.
* cg_chatFlags (0) toggles chatflags, for showing the team of the player sending a chatmessage.
* cg_chatSounds (0) toggles chatsounds, a sound played when a chat message is displayed.
* cg_drawWeaponIconflash 2, displays your current weapon state (firing, reloading, switching or ready) on the weaponicon in the hud.
* cg_showfps 2 shows averaged fps over 1 second and cg_showfps 3 shows the time between frames in milliseconds (like in ETpro).
* cg_fireteamalpha (1.0) for partially making the fireteam window invisible.
* Fireteam members awaiting to be revived are displayed with blinking health in the fireteam window.
* cg_chatAlpha (0.33) for partially making chat background invisible.
* cg_numPopups (-1) Defines the number of popups, the value -1 displays 5 popups on large popup font and 8 popups when using small popups.
* cg_popupTime (1000) sets the popup display delay (in ms).
* cg_popupStayTime (2000) sets how long (in ms) popupmessages (connecting/kills/etc. messages on the left side of the screen) are shown.
* cg_popupFadeTime (2500) sets how long (in ms) a popupmessage fades from the screen.
* cg_drawClock (0) for displaying the current time on screen. cg_drawclock 2 draws the time in AM/PM timescale.
* cg_drawSpeed (0) for displaying your current speed of movement:
Setting cg_drawspeed "***" (* = a variable number) can change the manner of display:
o The type: Normal speed (1**), Horizontal speed only (2**), Vertical speed only (3**)
o The scale: Units per Second (*0*), Miles per hour (*1*), Kilometers per hour (*2*)
o Display maxspeed: no (**0), yes (**1)
* You can reset the maxspeed with the command "resetmaxspeed" with the parameter A(ll)/N(ormal)/H(orizontal)/V(ertical). Added shaded compass icons, controlled ingame with cg_compassIcons (1) cvar. Shaded icons will never stick (partially) out of the compass, but you'll need the etpro shader files for every custom compass icon (a whole load are already supplied with WhaleClient, see WhaleClient_CompassShaders.pk3).
* cg_compassIcons 0 : standard etmain setting (no shaders)
* cg_compassIcons 1 : ETpro setting, shaded icons (needs the compassShaders.pk3 file)
* cg_compassIcons 2 : unshaded smaller icons
* cg_compassIcons 3 : shaded smaller icons (needs the compassShaders.pk3 file)
* Compass now shows disguised team members and objective carrier.
* ScoreBoard Changes: Scoreboard medal letters behind your name are removed.
* Scoreboard now shows disguised team members.
* Scoreboard limited lives counter removed when server is not on limited lives.
* Scoreboard can show slightly longer names.
* Scoreboard shows connecting status, also shows 999 pings red.
* Scoreboard shows the XP and Ping of spectators.
* Scoreboard shows average Pings and XP of the players per team.
* Spectator Changes: Spectators can have a compass and automap.
* Spectators can see player/vehicle-names while in freespec (but NOT the health).
* Spectators can't see the respawn time counter.
* "Spectator" text now on top of the screen (was placed down below obstructing the chatmessages)
* Descriptive spectator text is now smaller (like in etpro).
* When spectating players it now indicates their team.
Small Features & things not needing much elaboration and I couldn't fit anywhere else
Last Modified: 1.3 test2
Documentation last modified: Jun 15, 2005
* Spectators in following view can see the spectated team's landmines. They can't see landmines when in freeview.
* Referee's can see all landmines while being spectator.
* Gib chunks will now spawn when a player explodes. This can be toggled with the cg_gibs (1) cvar.
* The cvar cg_mapZoom (5.159) changes the compass zoomlevel.
* The cvar cg_drawRanks (1) toggles drawing the ranks in front of names.
* The bitflagged cvar cg_noMuzzelFlash (0) can be used to remove muzzle flash:
o 1 - don't display a flash sprite out of your gun when you're firing.
o 2 - don't display dynamic light flash when you're firing.
* Pressing mouse2 ("altweap" bind) when your a spectator in follow mode selects the previous player.
* Popupsmessages starting with [skipnotify] are only displayed into the console, not onscreen, like it was intended to be. Can be used to remove punkbuster status messages off your screen by setting it in the pb_msgprefix cvar.
* The sound played when a satchel and landmine bounces on the ground is now different than the dynamite bounce sound.
* Mousebutton 2 ("weapalt" bind) reloads your weapon if it doesn't have a weapon altfire (like in ETpro). The cvar cg_weapaltReloads (1) toggles this feature on/off.
* Level 4 HW soldiers can put their secondary SMG in weaponbank 2. Can be toggled with the cg_panzerhack cvar (default: (1) = in bank 2).
* When level 4 HW soldier after firing panzer, your weapon switches to SMG instead of grenade.
* After detonating a satchel, your weapon switches to your main weapon instead of back to satchel.
* After throwing a Smoke bomb, your weapon switches to your main weapon instead of the pistol(s).
* Your able to view around with the mouse when playing dead (shrub only). (2.60 patch)
* Added a lot of new kill/suicide messages. (even more than in 2.60 patch)
* You can open voicechat menu as spectator. (You can't do teamvoicechats as spectator).
* Added cg_covertIcons (1) toggles displaying an icon above friendly covertops in disguise.
* (Removed old cg_whaleclient (cg_hitsounds and cg_covertIcons have taken over it's features))
* Clientside banner printing support (needs a serversided mod which supports "bp"), bannerprints are messages displayed at the top of the screen.
* Centerprints with a * as the first character are displayed as bannerprint (this first * char isn't displayed), this makes bannerprint in etpub/shrub possible.
* "\n" in center and bannerprints are seen as newlines.
* Crosshairnames are now in full color. They can be displayed in normal white by setting cg_drawCrosshairNames 2
* The "autorecord" command (default binded to F12) will now toggle demorecording on/off. Don't use "/record" and "/stoprecord" anymore.
* The command "stopsounds" stops all currently playing sounds (usefull for stopping !news or long voicechat spam).
* The command "teammenu" opens the Team-changing menu like in ETpro. It also has a spawn selector.
* The command "classmenu" opens the Class-changing menu like in ETpro.
* The command "+obj" opens a Objective display popup, which displays all objectives and current status (in color).
* UI: Added new WhaleClient menu's.
* Added new serverbrowser filter for displaying specific mods only.
* Added new serverbrowser filter for findng servers with a (partial) servername match. Usefull for finding a clanserver (filter on clantag) or specific features like "xpsave".
* Removed the new ui_browserModType cvar again.
* Removed the new ui_browserModGameType cvar again.
* The command "listmaps" will give you the list of maps you have when you're not connected to a server.
Custom quick menu's
Version Added: 1.1
Last Modified: 1.3test2
Documentation last modified: May 20, 2005
With Whaleclient it's possible to add your own new quickmenu's just like the voicechat menu. This is useful for example if you want to make your own voicechat menu or your own team/class selector menu's.
Detailed information how to make a menu can be found on various ET websites or look at the normal menu scripts to see how the normal voicechat menu is done as an example.
You can open custom menu's with the openmenu [menuname] command. The parameter [menuname] is the name of the menufile and name the first menu to be opened in the file minus the "wm_" prefix. A custommenu file must start with the "wm_" prefix and must be located in the ui folder packed in a pk3 file. So for example the command "openmenu voicechat" tries to load the "ui/wm_voicechat.menu" file and if found it tries to open the menu named "wm_voicechat" inside.
Important note: There is a maximum number of menu's that can be loaded per map.
Bugfixes and optimalisations
Version Added: 1.0
Last Modified: 1.3test1
Documentation last modified: Jun 15, 2005 Etmain bugfixes:
* Fixed: client often didn't load all the campaigns, which resulted in map icons and campaign status not showing for certain campaigns.
* Fixed a crash issue in the UI hostgame menu when a campaign had more then 10 maps.
* Fixed and optimized the binding via menu system.
* Third person view in mounted tank was bugged.
* Third person view when on a crew-served MG was too close.
* Background images on the loading screen were not visible on the first call.
* Fixed a issue with the hostgame menu's map/campaign list changing the selected map when switching menu's.
* Fixed primed dynamites/grenades not ticking when scoreboard was up or with cg_draw2d off.
* Fixed syringes, pliers and adrenaline no longer "tick" underwater if they can be used.
* Dynamic light when firing the tankgun was missing.
* Fixed changing name in the menu used to flood namechange messages (and kick if the server has set a maximum name change value).
* Fixed fireteam delta's fireteam indicator sprite didn't show.
* Lowered the position of most centerprint text a bit on the screen so they don't interfere with the popup messages.
* Fixed configstrings command exploit.
* Sniper and centerview scripts defeated (+lookup/+lookdown no longer work).
* Fixed bug which caused players with spaces in their name to not be able to use !whaleclient commands.
* Fixed a bug in WhaleClient's server version detector identifying incorrect versions.
* Fixed spectators hearing landmine spotted announcements when following the other team.
* Fixed disguised icon in the hud not showing on LMS mode.
* Fixed crosshair names disappear when pointing over constructables.
* Fixed etmain bug which let you detect disguised enemy coverts from afar.
o Identifying disguised coverts should now be harder though.
* Fixed spawnflag text in the automap could go outside the window and be unreadable.
* Fixed text in the loading screen sometimes got outside of the map.
* Fixed using flamethrower when moving prone with cg_drawgun 0.
* Fixed cg_noVoiceText 0 not showing the HQ objective text.
* Fixed colors don't count to the maxline width of centerprints and bannerprints.
* Fixed objective icon on the scoreboard showing incorrectly with many players on the server.
* Fixed scoreboard lines showing up incorrectly with many players on the server.
* Fixed duplicate players on the scoreboard (clientside workaround).
* Fixed medals display in +stats popup.
* Fixed incorrect mini-ranknames for teams.
* Fixed showing respawn message when playing dead in etpub.
* Fixed cg_bobup exploit.
* Fixed some animations (climbing and crouching+knife).
* Fixed helmet ranks were overbright (giving light in the dark).
* Fixed goldrush bank floor was unshaded (thanks ETpro team).
* Fixed minor oasis speaker bug (cricket) (thanks ETpro team).
* Removed unused client cvars.
* Lowered voicechat/objective icons over head when prone.
* Fixed getting forced to spectator after map loads in a few cases (etmain bug)
* Automatically get the right secondary weapons after gaining level 4 light/heavy weapons
* Fixed dropped weapon display bugs on unpatched servers. WhaleClient can be run correctly on both patched(1.02/2.56) and unpatched servers(1.01/2.55).
* Voicechats give the same sound and text for every player. (It used to be different for every player).
* Connecting players show as connecting on the scoreboard and 999 pingers show up red.
* Fixed the scoreboard always displaying skulls after a player switched teams.
* Fixed cg_drawfireteamoverlay 0
* Fixed Pressing cancel in the limbo menu displayed a wrong class/weapon selection message.
* Fixed Cancel button in the limbo menu was working incorrectly.
* The vote "RESPONSE SEND" messages are now displayed only 3 seconds, not 10 seconds anymore.
* Maplists in "Hostgame" and "vote/referee->map" menu's show more maps (up to 1024 maps). You might notice a small slowdown when opening those menu's.
Bugs fixed from the last WhaleClient (version 1.2):
* Fixed cg_killingspree 2 still displayed the (bitflag 1) killingsprees.
* Fixed bug which caused players with spaces in their name to not be able to use !whaleclient commands.
* Team/Class selection menu's now work on etpub/etmain.
* Fixed a bug that would (incorrectly) notify you again of a skill/rank change after map change.