Hello fellow stalkers. This addon is an expanded version of Ayykyu's Voiced Actor addon ,updated for Anomaly 1.5.1 by Grokitach.
Change log
Oct.11.2021 : Added thirst ,hunger and sleepiness sounds for both languages. These sounds are automatic and will be repeated more often if you will be more sleepy ,hungry or thirsty. You get these sounds once also when you'll call out interactive comment or random shout. I also little bit tweaked cooldowns for hurt and exhausted sounds in RU version because after few hours of playing i figured out it was quite overwhelming on lowest states of health or stamina so now it shouldn't be like that.
Oct.10.2021 : Added RU sound pack. Used lines - BEAR2 (Mikhail) from EFT.
Oct.5,2021 : Little fix - Damn ,i did it again ... forgot rewrite one letter in base script ... that's my forgetfulness ,but now it's fixed ,hopefully it was last time i when discovered my own fu.ck.ing mistake caused by my forgetfulness. I recommend redownload and deeply apologize for any inconveniences.
Oct.04.2021 problem with modern UI addon fixed ,put this addon below modern UI in MO2 and let rewrite axr_companions script from modern UI by axr_companions script from this addon. Also it seems that strange issue with axr_main script what appeared for some of you is fixed too. If someone will discover anything else ,let me know.
Oct.03.2021 : In case someone want only sounds for commands ,without anything else ,now it's possible. In archive at bottom there is folder named "Only Voiced Commands" and this folder is what you need.
Little fix (Oct.01.2021) : I discovered one mistake (my bad) in "move to point command" ,there was 1 forgotten number in line ,what could cause CTD. Also i discovered one strange thing. Companions distance ,for commands could be messed up sometimes (i guess because of x-ray magic) and you could got sounds like companions would be far ,but they are not ,especially during extreme intense fights with multiple enemies (i mean few dozens of them) ,thats how i discovered this. I got far squad command sounds ,but companions was only few meters from me. So i decided change few variables and i tested it via previous save back in that same fight and everything was ok from there. I recommend redownload addon. I apologize for any inconveniences.
Base description:
Hello fellow stalkers. This addon is an expanded version of Ayykyu's Voiced Actor addon ,updated
for Anomaly 1.5.1 by Grokitach.
Link to original mod. (Illustrative vid is there ,this version is changed but it can give you base insight at least)
Huge thanks go to them both because if not them ,this would not be possible cause im just ordinary noob who don't know how to write script from scratch ,but thanks to Ayykyu's notes inside of script and Grok's
update even noob like me could do this. Also i want to thank creators of EFT of course ,which did outstanding work for voice lines and i could use it for this addon. Special thanks goes to DesmanMetzger for his voiced actor addon with thirst ,hunger and sleepines sounds what inspired me and also to MoreLove1 because he was the one who asked about it and give me that idea.
I did this just for my personal use ,but maybe somebody will find it useful.
Note:I apologize for my english ,it's not perfect ,i know it.
So to the point. What is this mod about? Like i wrote it's expanded version ,means new sorting and
conditions was added as well as new features as well as quite solid amount of sounds.
Main idea behind this mod is make voiced actor to be more logical and realistic and also more varied.
I know game probably not count character's voice ,but it's little bit more immersive (at least for me) if
character is reacting differently to different situations and little bit more logical.
Differences from original:
Simply put there were added new conditions for kill comments/confirms ,grenade throws ,gun jams and reloads ,like different distances from enemies ,different distances from squad (if you have a squad) and something like "anger level" or you could call it "combat stress" or "adrenaline". It's not exactly
function putted in script ,but it's like combination of distances and situations and depending on it ,certain
sound will be played .Actually it's very simple ,you know ,like if enemies are closer ,adrenaline is higher ,
if you are not in combat ,adrenaline is low and so on. Just simple logic.
Now you get kill comments/confirms even if you are not in combat (before it was only in combat).
There are 2 combat perimeters instead of 1 ,inner - up to 70m and outer - from 70 to 140m.
For squad was set also 2 perimeters ,near - up to 24m and "hearing" - not farther than 60m. To the base mod was added sounds for hunger ,thirst and sleepiness and there are also new optional features, Interactive comments ,Voiced commands and Random shouts.
Random shouts are just angry screams on key press (default is G) ,simple as that.
Interactive comments are on key press (default is V) comments which will reflect your actual condition or combat situation ,simply put if you are in combat character will comment it by screams at enemies or informing companions. Combat situation have priority over condition. If you are not in combat you get condition comments ,like hurt ,hurt badly ,bleeding or tired. If you will be relatively ok (not hurt ,bleeding or tired) character will just mumble and there is also possibility for comments/mumbles addressed to squad if squad is close enough (near distance required).
Voiced commands are just sounded commands ,depends on squad distance and on combat or non combat situation.
Main rule is simple ,squad farther means you get more loud or little bit angry sounds and if you are in combat then even more loud and more angry sounds.
For more informations and how exactly these changes works read Detailed description ,text file inside of archive.
Installation:
Unpack archive ,there will be 2 folders ,that one named "Only voiced commads" is for those ones who want only sounded commands without anything else. Second folder named "Voiced actor expanded" contains addon itself ,EN and RU both languages ,you only need pick that one what you prefer.
I recommend using MO2.
Both languages comming with fomod installer ,so it's pretty simple. All you need is mod organizer and follow instructions. In the end as last step there is option to install sound patch for BHS.
BHS have its own sounds for limb effects and if you have these installed ,you can replace it by this patch.
It's not a big deal ,just similar sounds but with voice of USEC3/BEAR2 but be aware ,if you will be badly hurt and
with broken limbs simultaneosly you can get hurt/pain sounds from both mods ,so sometimes it could seem like you are overwhelmed by pain sounds ,but not much and it's not that bad. I tested it little bit and it's like character just "cry" little bit more time to time.
For me personally i like it ,but if you don't ,just reinstall BHS and pick option limb effects without sounds.
BE CAREFULL ,IF YOU WANT BHS LIMB SOUNDS PATCHED THEN FILES FROM THIS PATCH MUST REWRITE/OVERWRITE FILES FROM BHS.
It means ,in MO2 just put this addon below BHS ,not above.
For manual install (HIGHLY NOT RECOMMENDED AND ONLY AT YOUR OWN RISK)
Just drag and drop gamedata folders to your Anomaly install folder.
1. Main mod folder is "00 Voiced actor expanded" ,it's base frame without optional features.
2. If you want some of optional features ,there are folders starts as "01" and named by them.
3. If you chose Voiced commands and Interactive comments or Random shouts together you need self-patches ,they are in "02 Patches folder". Pick appropriate one (or both ,if you chose all 3 optionals).
4. Patch for BHS is separate as well as option to pick Only voiced commands (read above)
IMPORTANT NOTE: If you have some previous version of Voiced actor rather delete it to avoid any conflicts
or missunderstanding. Some file names was change (also in script) to better understanding ,for example kill
confirms are now not like "kill_confirm_l1_<number>" but instead "kill_confirm_state1_<number>" and also you don't need ui_addon_companion_quick_menu.script because commands was pinned into axr_companions.script.
Conclusion:
If you want do some edit ,upgrade ,update ,new sound pack etc. simply put just anything with this mod ,go for it ,i'll be only glad if someone will find this useful ,but give some credits to Ayykyu and Grok ,this whole thing was possible only thanks to them.
Note : In archive you can find "Sound pack guide" text file ,it's detailed explanation of what is what (you know ,meaning of sound files and when they are used etc.) and in the end there are some tips how to change some values in scripts ,like chance to call or volume of sounds and of course where you should look for change hotkeys.
Known issues:
Sometimes can be played sound stopped by other sound with higher priority ,for example by command (it's more important give proper order than yell on enemies ,simple logic) or by pain sound (you know ,you wouldn't continue speak if someone will kick you right to the bal.ls ,right? :D).
But it's how it should to be ,commands have highest priority ,just like it would be in real and pain sounds too , it means these sounds can and will interrupt any other sound.
Other thing that is not issue actually ,but it might seem so is that sometimes you don't get on key press comments ,especially if you want call out comment right after another sound ,or if some other sound is currently playing. That's because each sound have cooldown and if this cooldown is not expired yet ,another sound can't be called. This simple rule is to ensure that sounds will not overlay each other and it applies for every sound except mentioned commands and pain sounds.
Last strange thing what could happen is that you can get comment or command like you would be in combat ,but you are not. This strange thing happens time to time with mutants. It's probably because of mutant targeting system and it's most likely engine issue so i can't do much about it and actually i don't know what's going on. I had this strange "encounter" when i was in Agroprom and between military base and factory my character gave commands like if i would be in fight but i wasn't.In the same time i heard shooting from inside of factory area and when i arrived there to look what's going on ,i found fresh mutant corpse killed by another stalker lay on the ground. Meanwhile these strange "in combat commands" stopped right after shooting stopped ,that's why i think it's related to mutant targeting system and because of there was no other enemy ,no stalkers ,no mutants ,just nothing ,only this one single mutant.
Average
9.739 votes submitted.
Hah! Just last night i was trying to do "Voiced Clear Sky Actor".
At least i have better information on this now. . .
Inside of scripts you can find notes what is what ,Ayykyu did pretty outstanding work and i added notes with capslock turned on about changes so you can easily recognize what was changed or added and to axr_companions.script i also added notes ,so hopefully it will make little bit easier for you ,good luck.
does the voice actor companions work?
edit: it works but no RU voice, not a fan of EN voice :\
edit2: bind key conflict with BAS quick melee attack, i think better create a binding key script so most user can adjust to their likings
Im not a fan of english voice too ,but my knowlegde of RU is poor ,hopefully some one with better knowledge will create RU sound pack.
Im not using BAS at all ,too much problems with that mod ,but you can change keys ,inside of archive is text file Sound pack guide and at start of the last part is explained how to change keys and where to look for them.
Here:
-for random shouts - go to gamedata/scripts and open random_shouts.script ,in third line - "if ( key == DIK_keys["DIK_G"] ) then" you need change that "G"
-for interactive comments - go to gamedata/scripts and open ayykyu_voiced_actor.script ,roll down and look for line 514 - "if ( key == DIK_keys["DIK_V"] ) then"
(above is note "--HERE IN BELOW LINE YOU CAN CHANGE INTERACTIVE BUTTON FOR WHATEVER YOU WANT ,DEFAULT IS V") ,you need change that "V"
how about adapt an addons that other already created and make it compatible with these, maybe that would make it easier
you know ,i'm not very skilled scripter and i don't want breake somethintg else ,so i rather chose manual hotkey instead of stick to the keybinds ... some addons are using keybinds as well as base game use it ,there is only few free possibilities in base game keybinds (i think it's about 5-6 options) so best option by my opinion is manual choice instead of preset for keybinds
If I may ask, does your mod finally have the voice commands actually sound off?
Such as "Fire at will", "stay far" and etc?
Because the first voiced mod you linked up there (i am using it in my merc playthrough) doesn't say anything. All that soubds off is what the actor says when you bring the command menu up, but when i click a command they are mute. Does your mod fix the muted commands?
Yes ,it has. Quick commands ,command wheel and also via dialog menu commands works. You know ,it's funny that this same problem was actually main reason what forced me to do something like this.
First idea when i started was only add sounds for commands ,only later i decided expand and add also some other things. :D
Awesome, thank you for responding! Do i need to start a new game?
not at all ,it has no effect on saves or so ,you can put it in game any time you want and continue as normal :)
Awesome! This sounds like a great mod, thank you for answering.
Anytime :) i hope you'll enjoy it :)
Man after giving your mod a good try I conclude that I love itttt, amazing job! Not only that you include the guide to make our own audio packs, just 10/10
thanks :) hopefully someone will use it for create ukrainian or at least russian voice pack ,all and all ,english is good for mercenaries or unisg but for other factions it's not very fit.
Да... Конечно что USEC в зоне это прикольно ) Классный addons )
thanks :) and you have right ,EFT in overall have many awesome stuff ,i only wish i would better in RU because that BEAR voice is awesome. Like ,he say one word and you know you have a problem already :D
The mod works well, but if you put interactive commands (I forgot what they are called), then the game does not work. Without this, everything is ok!
Try it now ,it should work correctly now.
btw. i deleted our yesterday's discussion ,i enjoyed it but we got far away from addon itself and pretty much spammed it here :D
OK, thanks! And I am glad that we had a pleasant conversation!
me too :)
Expression : <no expression>
Function : CScriptEngine::lua_error
File : ..\xrServerEntities\script_engine.cpp
Line : 191
Description : fatal error
Arguments : LUA error: ...1 v2/mod organizer 2/..\gamedata\scripts\axr_main.script:232: table index is nil
stack trace:
Like many other I got this error.
The funny part is that if I install the normal version without any optional stuff I get this error but when I install the addon without or with optional stuff and on top of that one or both patches the game does not crash.
Edit:
The only difference is in the "ayykyu_voiced_actor.script" and I do not know why it works with patch and not without it.
Edit Edit:
I do not know if it should be this way but with only "interactive comments" optional installed my guy comments on nearly every death of an enemy on his own.
I'll look at it ,probably i forgot something in base version.
About that kill comments ,it shouldn't be every but if you are on high combat intensity it's pretty often and also chance to get comment after kill is higher for stalkers than mutants.
One more thing ,if you could post stack traceback section of log ,it is few lines above Expression line.
Okay I fought against ~10 Stalkers and the 80% mark checks out.
__THE ERROR__
~ STACK TRACEBACK:
... axr_main.script (line: 229) in function 'callback_set'
... _g.script (line: 105) in function 'RegisterScriptCallback'
... ayykyu_voiced_actor.script (line: 474) in function 'on_game_start'
... axr_main.script (line: 292) in function 'on_game_start'
... _g.script (line: 83) in function <... _g.script:74>
~ ------------------------------------------------------------------------
! [LUA] SCRIPT RUNTIME ERROR
! [LUA] ...1 v2/mod organizer 2/..\gamedata\scripts\axr_main.script:232: table index is nil
! [SCRIPT ERROR]: ...1 v2/mod organizer 2/..\gamedata\scripts\axr_main.script:232: table index is nil
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ...1 v2/mod organizer 2/..\gamedata\scripts\axr_main.script:232: table index is nil
stack trace:
OK thanks ,you have this newest version right?
If you are in fight with multiple enemies you can get on highest combat intestity pretty quick.
If you don't like it ,you can lower that chance number ,inside sound pack guide in last part you can find how to do it ,but i can do it for you if you don't know how.
Actually no, I installed it yesterday and reinstalled the same version today but with other options and now I see it went from vers. 5 to 7.
I will install the newest version and test it right away!
Okay tested it with the setup which crashed and it works now. nevermind me :D
ooohh ,so now it works with this newest update? :)
Yeah it does.
With the newest one I can install any version and the game does not crash and the mod funcions.
Nice ,i'm glad :) i hope you'll enjoy it :)
Thank you for the Mod! I will for sure enjoy shouting at my companions and call random stalker I kill naughty stuff :)
does this mod need any other mod to work?
Not at all ,but be carefull with addons which are changing axr_companions.script ,there is not many of them ,but there are some and if you have some of them it will need compatibility patch for sure.
Thanks
Mod work!
so everything is fixed i suppose ,hm ... maybe it's time to start find out how could i create proper RU sound pack
will we have ru version some day?
that's for sure but it will take time ,you know ,i'm slav too but i'm not very good in ru ,i need listen very carefully and probably repeatedly several times to one sound line to correctly understand what is true meaning and english translations are not very good sometimes ,for example один готов ,in my language "jeden hotovy" it's translated by many as "one down" but it is "one done" ,meaning is almost the same but not the same or for example famous "пиздец" is exchanged many times for "sh.it" but it's derived from pizda and we slavs know what pizda means :D and with more words and more complicated expressions it is little bit harder to understand correctly ,but it will be done one day for sure ,i already started collecting sounds from EFT (Bear2 Mikhail voice) for that.
This comment is currently awaiting admin approval, join now to view.
There are sounds in this addon
Moddb.com
NEW! a muffled sound that is used when you put on a helmet or disguise;
NEW! sound signals of hunger and thirst;
NEW! added sound variations to avoid duplicate strings;
Do you have them in your addon? I don't know which one to choose
I focused on bring much more variety to different combat situations and non combat situations as well so this addon is more extended i think ,if you'll look at size there is wrote 7,6 mb and in this addon just base frame have more than 8-9 mb and with optional features more than 18mb ,but this one don't have sound signals of hunger and thirst and muffled sounds .
I'll look at it and then i'll can tell what exactly is different.
OK i looked at it and it's just base ayykyu's frame with added thirst ,hunger and sleepiness sounds and added muffled sounds if you have helmet putted on (similar to limb effect sounds from BHS when you have helmet but these sounds are not different from those without helmet ,only muffled) and some sounds are tweaked probably via Audacity ,but that's all. On other hand this addon is expanded version ,like i wrote in description ,with added many conditionals to call out different sounds depends on enemies distance ,companions distance and combat ,or non combat situations and with new optional features and of course quite tweaked (i used Audacity for that).
Simply put main difference is that with this addon you don't have muffled ,thirst, hunger and sleepiness sounds ,but you have many other different sounds in different situations ,variety is just much bigger.
But i have to admit that idea with thirst ,hunger and sleepiness is pretty good and i even didn't think about it actually. Muffled sounds on other hand are another case. I don't like them ,although it looks with them little bit more realistic ,but it's only illusion for me and reason is simple ,if you put full face helmet and you'll try speak to someone ,he will hear you only in few meters distance ,so to make it realistic ,it would have to be done through radio ,all sounds addressed to companions which is pretty quite amount and that would be little bit boring. Another problem with muffled sounds is that you have to make the same sounds ,only muffled ,what will increase size by a lot ,pretty much almost doubles size of addon.
Thanks for the quick response! I will try your addon and write here if I notice any problems.
OK ,well if you'll have some another ideas just let me now ,you know ,that thirst ,hunger and sleepines it's pretty good idea ,i missed it actually and now i'm thinking about make update for it.
That would be great since it seems to me like it is immersive, if you want to do this it would be great
yeah ,it is immersive ,that's for sure and it's seems like easy stuff ,only few lines need to be added to the script and sounds for that are in base Anomaly game already (if i remember it correctly) so i'll make it for sure
OK ,i added sounds for thirst ,hunger and sleepines ,it will repeat once per few dozens seconds ,depends on how much you'll be hungry ,thirsty or sleepy.
And if you playing without UI and you will install interactive comments or random shouts ,you can call out one of these sounds by call out interactive comment or random shout ,right after that shout or comment of your health/energy status (or mumble) you get also thirst ,hunger or sleepiness sound once so if you just need actualization and you don't want wait when script do it by itself ,this is the way.
Yes, great, thanks, I'll try it soon, but as I understand it, your addon is very stable, so there won't be any problems
yeah ,it should be ok ,on start there was few strange interferes with some other addons ,but it's already fixed. Last thing what i fixed/tweaked was cooldowns of hurt and exhausted sounds in RU version today ,because i tested it in my gameplay and sometimes it seemed to me like little bit too much.
Now I can insult my enemies, thanks for sharing it is great addon
you're welcome ,i'm jus glad you like it :)
I was testing the addon for a few days and is WOW! . comment on everything he does and what happens is very cool.
Enjoy :)