Left 4 Dead 2
4,083 ψήφοι
Left 4 Lib
3
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Game Content: Scripts, Miscellaneous
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
206.174 KB
22 Οκτ 2021, 7:41
23 Φεβ, 0:02
20 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Left 4 Lib

ΣΕ 1 ΣΥΛΛΟΓΗ ΑΠΟ smilzo
Left 4 Fun
4 αντικείμενα
ΠΕΡΙΓΡΑΦΗ
This addon contains some shared VScript code that is used by my addons:

This addon is mandatory if you have one of the addons listed above. They will not work without this!


Centralized User System
L4L also contains a centralized user system that is shared among all my addons.
The system automatically assigns a user level to the joining player. The other addons will use this level to give/restrict access to certain features to that player.

The L4U user levels are:
  • Admin
  • Friend
  • User
  • Griefer
When you first host a local game with this and one of my other addons (Left 4 Fun, Left 4 Bots, Left 4 Lib), you (the host) are automatically added as admin and you will be admin on all the addons.

You can add other admins by editing the file 'ems/left4lib/cfg/admins.txt' or directly ingame with the following commands:
  • Via chat: !l4u add [player/character name] admin
  • Via console: scripted_user_func l4u,add,[player/character name],admin
Remove the admin with:
  • Via chat: !l4u remove [player/character name]
  • Via console: scripted_user_func l4u,remove,[player/character name]
At the same way you can assign a Friend or Griefer level to a player:
  • Via chat: !l4u add [player/character name] [friend/griefer]
  • Via console: scripted_user_func l4u,add,[player/character name],[friend/griefer]
And you can remove the assigned level the same way you remove admins.

The Friend and Griefer lists are saved into the files 'ems/left4lib/cfg/friends.txt' and 'ems/left4lib/cfg/griefers.txt'.
The players who do not belong to any of these lists are automatically given the normal User level.


Addon settings

L4L also has its own settings. You can find more details HERE[github.com].

Some of these settings (like hooks_chatcommand_trigger) affect all the addons that use this library.

You can change the settings by editing the file 'ems/left4lib/cfg/settings.txt'.


Compatibility

This should be fully compatible with any Admin System/VSLib version and most addons in general.


Are you a L4D2 modder?

You are free to use the features contained in this addon, if you want to. Technical details can be found in the form of comments inside the .nut files.
Only one thing i ask you: please, do not put the L4L files in your addon but consider referencing L4L as an external required addon like i do in L4F, L4B and L4G. Reason for this is that by duplicating this library you will create multiple versions of it making the addons using the library incompatible with each other.

More info can be found on the L4L GitHub Repository[github.com].


Like my mods?
Donations are not required but are greatly appreciated.
[ko-fi.com]
Δημοφιλείς συζητήσεις ΠΡΟΒΟΛΗ ΟΛΩΝ (1)
2
29 Ιαν 2023, 0:46
Adding custom chat/damage hooks
Kerouha
195 σχόλια
smilzo  [Δημιουργός] 14 Μαϊ, 14:12 
@Loono it's just a workshop addon.
Loono 13 Μαϊ, 13:55 
Does ur mod get people vac ban?
smilzo  [Δημιουργός] 10 Μαϊ, 16:02 
@K you only need to click the subscribe button XD
K 9 Μαϊ, 6:21 
I don't understand ANYTHING... How the HECK do you use / install these mods ?
Princess Bruno 29 Μαρ, 15:59 
is legit?
ZANDERT 16 Μαρ, 16:24 
Para que sirve esto?
:V
Chabooey 25 Φεβ, 0:06 
your mod makes commons have normal health on realism please fix this issue
SiouxW4rrior 20 Φεβ, 6:35 
for some reason these addons are making my characters glitch like they wont talk unless they get downed by zombies and the won't heal themselves
John 7 Φεβ, 19:25 
had to remove this all team members were glitching trying pickup items like first aid kit or ammo for sample. only this found i gone through a lot of mod and restarted many mission till i found this be #1 item was making the teammates charters glitch like crazy pickup items

-mission ghost buster Halloween special
kurisu makise 7 Νοε 2023, 12:56 
Due to "left 4 lib," the "explosion cars" mod stops working