Jump to content

[Share]Colored Admin Chat


sakre

Recommended Posts

Colored Admin Chat

by Exolent

 

 

Features:

 

   * Colored chat in say and say_team for all admins

     -ADMIN_LEVEL_A for green name with yellow chat

     -ADMIN_LEVEL_B for red

     -ADMIN_LEVEL_C for blue

     -ADMIN_LEVEL_D for silver

   * Admins with admin level ADMIN_KICK can see dead all dead chat, all alive chat, and all say_team messages.

   * Admins with admin level ADMIN_IMMUNITY can hear any dead voices, any alive voices, and any team voices.

   * **NOTE!** The closest admin level to green name with yellow chat will be used over an others.

     - eg. you have the red and blue chat flags. red will be used instead

 

Examples:

 

   * Green Name with yellow chat

     Name : Text

     --

     Red

   * Name : Text

     --

     Blue

   * Name : Text

     --

     Gray

   * Name : Text

 

Cvars:

 

   * amx_cac_enabled <0|1>

     (Default: 1; determines if colored admin chat should be used. (1 for on, 0 for off))

     -

   * amx_adminlisten_chat <0|1>

     (Default: 1; determines if admins can see any chat ever displayed. (1 for on, 0 for off))

     -

   * amx_adminlisten_voice <0|1>

     (Default: 1; defermines if admins can hear any voices. (1 for on, 0 for off))

 

Don't Like The Default Admin Levels?

 

   * Open the .sma (source)

   * To change the admin levels, edit the following lines to the admin levels you prefer:

     -ADMIN_NORMAL

     -ADMIN_RED

     -ADMIN_BLUE

     -ADMIN_SILVER

     -LISTEN_CHAT

     -LISTEN_VOICE

   * Save

   * Recompile on the online compiler or recompile locally

 

Changelog:

 

   * Version 1.0

     - Initial release

   * Version 1.1

     - Added admin level for green chat

     - Merged 4 format() functions into one

   * Version 2.0

     - Simple code cleanup

     - Merged Adminlisten using the fakemeta module

     --- Adminlisten link: http://forums.alliedmods.net/showthread.php?p=107768

   * Version 3.0

     - Multiplied color possibilities

     - Rearranged messages

     - Fixed a few bugs

     - Renamed plugin

   * Version 3.1

     - Cleanup code

     - Fixed cvar chat issue

   * Verison 3.2

     - Made only 1 check for @ | @@ | @@@ say commands

     - Made voice follow sv_alltalk when not using voice listening

     - Added cvar to turn on/off plugin

     - Removed green name with green chat

     - Optimized has_color_chat() and get_color_chat() when using get_user_flags()

     - Removed SPEAK_MUTED for its uselessness

   * Verison 4.0]

     - Rewrote plugin

     - Fixed a few bugs

 

Credits:

 

   * Arion

     - for the first format() fix

   * Battousai-sama

     - for the admin level idea for green chat

   * team06

     - for creating set_speak & get_speak functions to make this fakemeta voice portion possible

   * _Master_

     - for encouraging me to optimize the "@ | @@ | @@@" portion of "valid_message()"

   * All bug reporters

     - for helping me fix any issues that appeared.

 

Current Version: 4.0

 

Download :  Click Here

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Yes, something like that. More specifically, the running, attacking and attack wait animations for female human with a bow.
    • Do you mean do something like I did?
    • I tried searching, but couldn't find an answer to my question. That is why I created the topic.
    • Is it worth it listing on any of them? Or its better if i just buy ads on fb/forums/google etc.?
    • I'm looking to edit existing character animations for the L2 Interlude client. What I did successfully so far: Exported the files files from animations/Fighter.ukx (to get the .psk and .psa files) Imported a couple .psk + one .psa file to Blender and made my changes to the animations. Exported the resulting .psa file (which ended up being the same size as the original file, so everything should be fine). I downloaded multiple different UnrealED editors - the one from UT2004, L2Editor posted by lordofdes here, L2Editor posted by 911reg. From there on I had trouble with converting back to .ukx. Below are different methods I've tried and failed. Method 1: Made a new .ukx file inside UT2004's UnrealED, containing only my edited .psa file and 1 .psk file Converted my .ukx file with Gildor's tool Placed the resulting file in the animations folder Used L2FileEdit to change the LineageWarrior.int file in the systems folder in order to reroute to the animations I edited Started up the game, but the changed animations were replaced instead with a simple walking animation for some reason   Method 2: Tried the following workflow with both L2Editors (911reg's version and lordofdes's version) (using and not using Gildor's UnrealED patches) Trying to open the original Fighter.ukx file resulted in some of the L2Editor variants crashing. With the ones that didn't crash, I saved the .ukx file with another name (even tried adding my custom .psa file but the result was the same as below). There was file size difference between the .ukx I made and the original .ukx. I tried both substituting the .ukx file as is in the animations folder and after I encrypted it using 911reg's version's encdec.exe In both cases the game crashed when I was about to go to the character screen (made sense since the file size should have been the same). What am I missing here? Is it at all possible to edit the original character animations?
  • Topics

×
×
  • Create New...