AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D] Fortnite Emotes Dance Extended (Fork) (https://forums.alliedmods.net/showthread.php?t=336115)

Dragokas 01-28-2022 13:27

[L4D] Fortnite Emotes Dance Extended (Fork)
 
Authors: Kodua, Franc1sco franug, TheBO$$, Foxhound (Fork by Dragokas)

Fork is based on this branch (v.1.4.3.0).

New features & differences:
  • Updated menu, admin can force other player (or infected bot) to dance
  • Stop dance in menu
  • VIP Core (by R1KO) support (optional / disabled). To enable, recompile the plugin by setting #define USE_VIP_CORE 1
  • Sound downloadables is removed.
  • Most command aliases is removed.
  • Prevented stop dance on receiving damage
  • Prevented stop dance on actions other than Jump.
  • Stop dance when player is incapacitated.
  • Fixed player camera freeze on join the server with bebop.
  • Fixed plugin reload crash.
Settings (ConVars):
Can be found in cfg/sourcemod/l4d_fortnite_emotes_extended.cfg
PHP Code:

// Enable/Disable sounds for emotes.
sm_emotes_sounds "1"

// Cooldown for emotes in seconds. -1 or 0 = no cooldown.
sm_emotes_cooldown "2.0"

// Sound volume for the emotes.
sm_emotes_soundvolume "1.0"

// admin flag for emotes (empty for all players)
sm_emotes_admin_flag_menu "k"

// admin flag for dances (empty for all players)
sm_dances_admin_flag_menu "s"

// admin flag to set emotes/dances to bots (empty for all players)
sm_dances_setbots_admin_flag_menu "k"

// allow dances for VIP only?
sm_dances_vip_menu "1"

// allow emotes for VIP only?
sm_emotes_vip_menu "1"

// allow to set emotes/dances to bots by VIPs?
sm_dances_setbots_vip_menu "1"

// Hide weapons when dancing
sm_emotes_hide_weapons "1"

// Hide enemy players when dancing
sm_emotes_hide_enemies "0"

// Teleport back to the exact position when he started to dance. (Some maps need this for teleport triggers)
sm_emotes_teleportonend "0"

// Sets the playback speed of the animation
sm_emotes_speed "0.80" 

Commands:
PHP Code:

// Opens dance menu
sm_dance

// apply emote on specific player
sm_setdance <#userid|name> [Emote ID] 

Dependency:
- Content server. You must setup it to upload models (and/or sound) files to clients.
Installation:
- Go to GitHub, click here. Press button "Code" - Download Zip.
- Unpack archive
- put "addons" folder as it is on your server ftp
- For L4D1:
* copy contents of "_root\l4d\ftp" to ftp-server
* copy contents of "_root\l4d\content" to content-server
- For L4D2:
* copy contents of "_root\l4d2\ftp" to ftp-server
* copy contents of "_root\l4d2\content" to content-server

- If you want to use sounds:
* copy contents of "_root\both\ftp" folder to ftp-server
* copy contents of "_root\both\content" folder - to content-server
* use some plugin to upload those sounds to client or uncomment code below of "OnMapStart" in l4d_dance_novip.sp
Compatibility:
- L4D1
- L4D2 (not tested, perhaps, not working properly at the moment)
ChangeLog:
Spoiler


Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money
Attachment / Download: on GitHub: https://github.com/dragokas/Fortnite-Emotes-Extended

NoroHime 01-28-2022 13:48

Re: [L4D] Fortnite Emotes Extended (Fork)
 
oh yes im looking forward to this

HarryPotter 01-28-2022 15:04

Re: [L4D] Fortnite Emotes Extended (Fork)
 
Damn, I was trying to fork and rewrite dance/emotes, then I gave up. :bee:
Good Job!

Dragokas 01-28-2022 15:41

Re: [L4D] Fortnite Emotes Extended (Fork)
 
Thanks. Finally uploaded on GitHub.

Maur0 01-31-2022 12:59

Re: [L4D] Fortnite Emotes Extended (Fork)
 
Dragokas - Hi how are things. I would like to congratulate you on this great plugin, it's a lot of fun. Unfortunately I have a small problem.

When I download the plugin and follow your steps, it works. But the problem is that when I give emote or dance, the model is invincible and I can only hear the music.

I don't know where I'm supposed to put the folders in the corresponding location, because I don't understand how the "ftp-server" or "content-server" issue is, where it should go. If root is supposed to be the disk location? the l4d2 would be the left 4 dead 2/left4dead2 folder? and the rest in models and audio in the left 4 dead 2 folder?

Sorry to complicate you, but I've already tried and it doesn't show me the character, but he is invincible. Am I missing an extension or mod to download?

This was where I put the location:
HTML Code:

Steam\steamapps\common\Left 4 Dead 2\left4dead2
Or should I go in Sourcemod? If possible you know what I have to do. I thank you so.

thewintersoldier97 02-03-2022 23:12

Re: [L4D] Fortnite Emotes Extended (Fork)
 
Hi Dragokas, thanks for deciding to update this very fun plugin!

I got a similar bug as Maur0 while testing, here a video I recorded:
[Youtube link]

Dragokas 02-04-2022 10:09

Re: [L4D] Fortnite Emotes Extended (Fork)
 
@Maur0, @thewintersoldier97, well, I'm actually didn't test it in L4D2.
Can you confirm that original branch (from FoxHound) is work or not work for you?

@Maur0, I didn't have good article on my hands to describe content-server stuff. That actually not the most easy task. Maybe in future I'll create the one. At the moment, you can test it that way: just copy-paste all required files directly in your client's folder left 4 dead 2/left4dead2.

thewintersoldier97 02-04-2022 10:21

Re: [L4D] Fortnite Emotes Extended (Fork)
 
Quote:

Originally Posted by Dragokas (Post 2770496)
@Maur0, @thewintersoldier97, well, I'm actually didn't test it in L4D2.
Can you confirm that original branch (from FoxHound) is work or not work for you?

I was using Foxhound's fork in the past and it was working with some occasionally bug here and there.

morzlee 02-18-2022 06:10

Re: [L4D] Fortnite Emotes Extended (Fork)
 
Do I have to set up ftp-server and content-server, but I don't see the option for domain name or ip in the plugin
I was asked to download a file when I entered the server, then it got stuck

Dragokas 02-18-2022 11:34

Re: [L4D] Fortnite Emotes Extended (Fork)
 
morzlee, please ask on general section of the forum for help about how to setup content-server.


All times are GMT -4. The time now is 11:59.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.