Left 4 Dead 2

Left 4 Dead 2

Left 4 Fun
Showing 1-10 of 38 entries
< 1  2  3  4 >
Update: 8 Jun, 2024 @ 4:18am

- Changed the addon loading method to make it load even with other addons using the scriptedmode and scriptedmode_addon scripts (like Dark Messiah E3 custom map)

Update: 1 Jun, 2024 @ 9:43am

- Added 'wspawn ' command ( !wspawn weapon [amount] )
- Fixed 'pcvar' command and other bugs

Update: 10 Oct, 2023 @ 1:11am

https://github.com/smilz0/Left4Fun/releases/tag/v1.1

Update: 18 Aug, 2023 @ 11:38pm

- L4F now shares the admin list with all my other addons (L4B, L4G..). The users management functions are now centralized into Left4Lib, hence the 'admins.txt' file is now in the 'ems/left4lib/cfg' folder (you can delete the one in 'ems/left4fun/cfg' after you moved its content to the new file).
The new users management system assigns a level to the joining player.
User Levels are (from highest to lowest):
1. Admin
2. Friend
3. User
4. Griefer
The addon will create 3 files ('admins.txt', 'friends.txt', 'griefers.txt') into the 'ems/left4lib/cfg' folder.
Players who do not belong to any of the 3 lists will be assigned the normal User level.
You can manually add people to this files with a text editor or you can add them ingame with the admin command:
!l4u add [player/character name] [user level]
scripted_user_func l4u,add,[player/character name],[user level]
Example:
!l4u add nick friend
scripted_user_func l4u,add,ellis,admin
To remove a user from any list he is currently in:
!l4u,remove,[player/character name]
scripted_user_func l4u,remove,[player/character name]

- All the other L4F commands must now start with the 'l4f' trigger (in chat it's '!l4f').
Example:
!l4f settings mod mymod
scripted_user_func l4f,restart

- Added the following commands (Look at this video to see what this is about https://www.youtube.com/watch?v=UGq9MwIrTCE):
scripted_vocalizer [file1] [file2] [file3] [file4]
scripted_vocalizer_start
scripted_vocalizer_stop
scripted_vocalizer_pause
(In the video description there are links to the 4 files i used for the video)
The first command loads from 1 up to 4 text files (the files must be in the 'ems' folder) containing the vocalizer scenes to play. Each line in the file is in this format:
delay,actor,scene,duration
Example:
1.0,Mechanic,WorldC2M2B06,4.0
9.2,Mechanic,WorldC2M1B34,1
0,Mechanic,World115,2.4
When you start the playback with scripted_vocalizer_start, Ellis will play "[singing] ...Every lady's crazy when her daddy's not around..." after 1.0 second from the start and will interrupt the scene after 4.0 seconds. Then, after 9.2 seconds will say "Sorry, folks", will interrupt that scene after 1 second and will immediately proceed to the last scene "I love camping, but this here don't look fun." making it last 2.4 seconds and so on.
You can have different actors mixed together in the same file and time their scenes accordingly to speak one after the other. If you want their scenes to overlap you have to use multiple files.
You can also add comments at the end of each line by adding // and your comment.
Example:
0,Mechanic,World115,2.4 // I love camping, but this here don't look fun.
Use 'scripted_vocalizer_stop' and 'scripted_vocalizer_pause' to stop and pause the playback (the pause messes up the timings though).

- Fixed a typo in 2 fake cvars (l4f_gl_airborne_push_force, l4f_m60_airborne_push_force). If you have L4F mod files with them, you have to change them. Sorry.

GitHub Repo: https://github.com/smilz0/Left4Fun

Update: 4 Mar, 2023 @ 3:23am

- Added function: Left4Fun.PingEnt(player, entity, duration = 7, duration_survivors = 3, duration_infected = 2.5, entGlow = true, cliSound = true, entSound = false)

Update: 18 Feb, 2023 @ 6:53am

- Minor bug fix.

Update: 19 Aug, 2022 @ 1:45am

- Added the new config file "zombiedrops_def.txt". It contains the default ZombieDrops cfg that will be used to create the new ZombieDrops files. You can edit this file after it's created. Auto generated ZombieDrops files for the new maps will be copies of this file.

Update: 4 May, 2022 @ 12:04pm

- Minor bugfix.

- Added the fake cvar "l4f_survivor_abilities_allow_set" (default value: true). Enables (true) / Disables (false) the ability_set command (only the user version). Disable this if you want the characters to stick to their deault abilities.

Update: 3 May, 2022 @ 6:10am

- Added a workaround for the problem of the dropped empty M60 that cannot be picked up. Now, when dropping an emtpy M60, 1 bullet is automatically added to it.

- Added a new feature that allows to further improve the customization of the game by giving the survivors special abilities via external scripts. This is just the base system for the loading and the use of such abilities, the real abilities can be added via external addons (soon i will release an addon with a collection with some abilities to try) and, with some vscript coding skills, you can easily make your own ones.

- Added the following user and admin commands to use the new Surivor Abilities feature: ability_set, ability_start, ability_stop, ability_use (look here for more details: https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/1722866167/1679190184058888315/).

- Added the following fake cvars to configure the new Survivor Abilities feature: l4f_survivor_abilities, l4f_survivor_abilities_hud, l4f_survivor_abilities_removeonincap, l4f_survivor_abilities_add_onspawn, l4f_survivor_abilities_notifications, l4f_survivor_abilities_allow_cmds (more details here: https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/1722866167/1679190184058848834/)

Update: 5 Mar, 2022 @ 2:10am

- Fix: fixed a bug in the l4f_sanitize command introduced with one of the previous updates. The bug made the l4f_zombiedrops mod from the L4F sample mods addon not clear the map items properly.