General > Off-Topic
Umotd Revised (U2)
Avien:
Very nice. Can't wait for a release.
JamminR:
Request for suggestion.
(Don't suggest wire, I'm considering a whole new template for it already. So many variables exist though, it would be a pain.)
The following 'variables' when placed in HTML or text file, will fill in with the information stated.
The image I posted before includes many of them.
Can any of you think of any other good ones, or stuff you think is missing that shouldn't be.
Variable
%curadmins%
%curnumadmins%
%curcon%
%curmap%
%curplayers%
%defgame%
%game%
%hostname
%pingtimes%
%Umotd_ver%
%uptime_secs%
%uptime_short%
%uptime_full%
SERVER SETTINGS
%cheats%
%noclip%
%allownpcs%
%godmode%
%plpldamage%
SERVER SETTINGS
%maxplayers%
%maxballoons%
%maxbuttons%
%maxdynamite%
%maxeffects%
%maxemitters%
%maxprops%
%maxhoverballs%
%maxlamps%
%maxnpcs%
%maxragdolls%
%maxsents%
%maxthrusters%
%maxturrets%
%maxwheels%
%maxvehicles% Description (convar, if available)
List of Admin names(w/first level) connected
Number of detected admins
Number of players currently connected (custom)
Current mapname (game.GetMap())
List of current players, seperated by a comma and a space. (custom)
Default game mode (sv_defaultgamemode)
Current game mode (sv_gamemode)
Server name (hostname)
low = #, high = #, average = # - Ping times. (custom)
Umotd version
Server uptime in seconds only.
Server uptime in "##:##:##:##:## (wk:d:hr:min:sec)" format. (Custom)
Server uptime in "# weeks, # days, # hours, # minutes, # seconds." format. (Custom)
(Switches)
On or Off
On or Off
On or Off
On or Off
On or Off
(server Limits) (these should be obvious, REALLY!)
Number of maximum players (sv_maxplayers) - If you use sv_visiblemaxplayers, this returns that.
Number of maximum balloons
Number of maximum buttons
Number of maximum dynamite
Number of maximum effects
Number of maximum emitters
Number of maximum props
Number of maximum hoverballs
Number of maximum lamps
Number of maximum npcs
Number of maximum ragdools
Number of maximum sents
Number of maximum thrusters
Number of maximum turrets
Number of maximum wheels
Number of maximum vehicles
JamminR:
I've got code working in multiplayer now. I've also added sound to when the motd loads.
Not random yet, but intend to use the following in a table.
/vo/canals/gunboat_herelook.wav
/vo/canals/shanty_hey.wav
/vo/canals/shanty_gotword.wav
/common/warning.wav
/doors/door_latch3.wav
/npc/roller/blade_out.wav
I'm still looking for suggestions of both sound, dynamic variables, and features people might want.
Slayer3032:
Could you add support for things such as a hyperlink?
Currently if you have one in your motd you crash if you click it.
JamminR:
Though this isn't meant to be a browser, I've been attempting to figure that out so that people can at least add mod pack download links.
Not sure I know how to fix it. Still working on it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version