This looks really nice, will definitely use once released.Edit: Actually can you add default chat size presets, getting the normal default size with the slider would seem to be trouble.
Local and global chat settings?
Not quite sure what you mean by that.If you meant in the code:[line 101]Code: [Select]package ChatExtensions{ function newChatSO::addLine(%a,%msg) { %font = $Chat::FontFamily; if($Chat::Bold) { %font = %font SPC "Bold"; } if($Chat::Italic) { %font = %font SPC "Italic"; } %add = "<font:" @ %font @ ":" @ $Chat::FontSize_ @ ">"; %msg = %add @ %msg; parent::addLine(%a,%msg); }%font is there to keep from modifying the global variable and to shorten things a bit.
package ChatExtensions{ function newChatSO::addLine(%a,%msg) { %font = $Chat::FontFamily; if($Chat::Bold) { %font = %font SPC "Bold"; } if($Chat::Italic) { %font = %font SPC "Italic"; } %add = "<font:" @ %font @ ":" @ $Chat::FontSize_ @ ">"; %msg = %add @ %msg; parent::addLine(%a,%msg); }
Uh...I meant being able to talk to people in a certain radius.
Other addons exist for this already if I remember right. They should work fine with this.
Fixed that, it's using a seperate variable now. I didn't catch that the first time.https://dl.dropbox.com/u/27975145/Client_CustomChat.zipBeta v2 is out, if you have Client_Extensions, remove it before updating.EDIT: Also remove config/client/chat/vars.cs so the variables correctly re-initialize.
Also, is comic sans not a supported font?
they should purposely disable it for the sake of the children