You are viewing a potentially older version of this package. View all versions.
Gemumoddo-EnemyInteractions-1.0.1 icon

EnemyInteractions

Enemies will default dance on your corpse

Date uploaded 4 months ago
Version 1.0.1
Download link Gemumoddo-EnemyInteractions-1.0.1.zip
Downloads 2719
Dependency string Gemumoddo-EnemyInteractions-1.0.1

This mod requires the following mods to function

Gemumoddo-LethalEmotesAPI-1.3.2 icon
Gemumoddo-LethalEmotesAPI

API for adding emotes to Lethal Company

Preferred version: 1.3.2

README

Lmao

Enemies can now emote randomly, that's all.

Working on adding more functionality in the future, but a more general AI handler will be required

Emote Devs

If any mod wants to add their own emotes to this, the current process is just

EmoteOptions.onKillEmotes.Add(new EnemyEmote("com.weliveinasociety.badasscompany__Default Dance", 30));

or

EmoteOptions.intermittentEmoteList.Add(new EnemyEmote("com.weliveinasociety.badasscompany__Gangnam Style", 1));

onKillEmotes will trigger when a player dies

intermittentEmoteList will be played on enemies every few minutes

EnemyEmotes have a string for the emote name and a float for the max time the emote will play (primarily used for looping emotes you only want to play for a few seconds)

CHANGELOG

  • Version 1.1.2: Fixed issue where masked enemies would not randomly emote. Added options for the host to control which enemies can randomly emote. Note that this does not prevent said enemies from emoting in general, EmotesAPI still implements emotes fully. This only prevents EnemyInteractions from triggering enemy emotes.

  • Version 1.1.1: Fixed what has probably been a bug for over a month now where enemies wouldn't randomly emote. oops

  • Version 1.1.0: Added config options. Host has authority only since it wouldn't work otherwise. Made BadAssCompany a soft dependency. We only had it as a hard dependency to avoid people downloading this and nothing happening, but we realize now that it could force people to download badasscompany when they don't want it since other mods also add to this on their own.

  • Version 1.0.1: Fixed issue where if the on kill effects failed, you wouldn't die

  • Version 1.0.0: Initial Release