DayZ
382 ratings
Zens ExpansionAI Audio
5
3
2
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Mechanics, Sound
File Size
Posted
Updated
20.425 MB
31 Aug, 2024 @ 12:34am
31 May @ 6:37pm
3 Change Notes ( view )

Subscribe to download
Zens ExpansionAI Audio

Description
What Is This?

Turn your server into a Bethesda game with this mod!

This mod adds voiced audio to ExpansionAI. It works with bots, quests and traders.

It obviously requires ExpansionAI and/or ExpansionQuests and/or ExpansionMarket OR just ExpansionBundle to work, and intimate knowledge of the config process for Expansion will help greatly.

This mod provides some templates for adding your own voices to quests, traders and AI bots - but it comes with very basic limited voice files.

My server has 60mb of voice dialogue for 40+ quests, several traders and a bunch of patrol AI bots, but all my audio is specific to my server and my quests so I didn't include all of them in this mod.

You will have to do the work to record and set up your own audio to suit your server - but the templates here are very easy to work with, especially for quests.

I've put together a video guide and a GitHub wiki guide to explain how to get your own quest, trader and AI bot audio working on your server.

Here is the wiki guide:

https://github.com/ZenarchistCode/ZenExpansionAudioAI/wiki/

And here is the video guide:

https://youtu.be/LudMp14pPqk

This mod has some limitations (eg. does not currently work with ExpansionTraderAI types) and can be a bit tricky to set up for specific NPCs, but it's open-source so feel free to modify the code if you need to, and the guides and example templates are as detailed as possible to help you get started.

The sound files only play client-side based on your specific behaviour/actions, so other players can't hear you interacting with NPCs. For quests & traders it would be a nightmare to have it play for all nearby players constantly so I kept everything client-side - the only thing that the server syncs to all clients is the character's mouth moving when speaking to a player as that was the only way I could manage to get their mouths to work.

Installation Instructions:

Install this mod like any other mod - copy it into your server folder and add it to your mods list. Make sure to copy the .bikey into your server keys if you're not using a server management tool like OmegaManager which does that automatically.

This mod must be installed on both server and client.

There are no types or anything like that, but there is a JSON config file that will be generated in "server_profiles/ExpansionMod/Settings/ZenExpansionAudioAI.json" - there are instructions on what this file does in my GitHub wiki guide.

This mod requires ExpansionBundle https://steamproxy.com/sharedfiles/filedetails/?id=2572331007 OR one or more of the following mods:
ExpansionAI - https://steamproxy.com/sharedfiles/filedetails/?id=2792982069
ExpansionQuests - https://steamproxy.com/sharedfiles/filedetails/?id=2828486817
ExpansionMarket - https://steamproxy.com/sharedfiles/filedetails/?id=2572328470

Repack & Source Code:

You will need to repack this mod to add your own audio files.

As with all my mods, repacking, modifying, republishing etc is fine.

The source code is on my GitHub at www.zenarchist.com

Buy Me A Coffee:

All my mods are free and open source, but it takes an enormous amount of time to put some of these mods together. If I've helped you out, please consider helping me buy my next coffee! I don't expect it, but I very much appreciate it.

https://buymeacoffee.com/zenarchist

Enjoy!
87 Comments
Zetta 28 Jun @ 12:21am 
plz somebody tell me how to fix this:steamsad:

Can't compile "World" script module!
ZenExpansionAudioAl_Scripts/scripts/4_World/dayzexpansion_core\entities\manbase\expansionnpcbase.c(1):Unknown type 'ExpansionNPCBase
Starfoxjason 10 Jun @ 10:45pm 
I have expansion AI so I know it will work for them but I use trader plus with vanilla survivor NPC’S will it work for those NPC in trader plus ?
AlphaEye 2 Jun @ 7:46pm 
Thanks again Zen
SRGT 1 Jun @ 2:45am 
Zen You Da Man!!!! :bfmedic::bfassault::munchies:
꧁༺MDS ༻꧂ 20 May @ 7:54pm 
Кому нужна помощь пишите отвечу вам:yellowking:
Deathnote 19 May @ 9:11am 
Hello,
@Zenarchist can you update the mod please?
NoVice 16 May @ 1:38am 
Thanks Savage Red!
It works again :steamthumbsup:
AlphaEye 15 May @ 11:09am 
Thanks Savage Red!
Savage Red 15 May @ 9:31am 
```

override void SetTraderItems(ExpansionP2PMarketRecivedData data, bool soldListings)
{
super.SetTraderItems(data, soldListings);

Object npc = GetNearestQuestNpcZen();
if (npc)
PlayVoiceAudioZen(npc);
}

```

Replace the similar section within the 'expansionp2pmarketmenu.c' at the location the error lists, then pack your files again and it'll be fixed. Zen needs to do the same with this before we can stop hotfixing it ourselves but as it's intended to be repacked anyway, anyone who sees this should be able to get it fixed using the above code
ҜĦΔØŦƗĆ 14 May @ 7:36pm 
just stopped working for me too
SCRIPT (E): Can't compile "Mission" script module!

ZenExpansionAudioAI_Scripts/scripts/5_mission/dayzexpansion_p2pmarket\gui\p2pmarket\expansionp2pmarketmenu.c(6): Function 'SetTraderItems' is marked as override, but there is no function with this name in the base class