Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Excellent.
Wow, thanks!
Triggering only one type of callout instead of all toghether should resolve a big part of it...
About the 'low_health' function, i understand it's a base part of tfa vox so i'll come up with something else...
Anyway, thank you for your response
That's mostly an issue with how the code works. I could just change the code a little to make sure only one type of callout triggers at once. I can't do much about the low health as it's a base module.
Basically i intended to feature almost every damage type in a vox pack i'm making, and i noticed that for some reason, poison headcrabs are detected both as slash and poison damage when they hit you, that results in the poison damage vocalisation triggering but being cut away instantly by the slash damage type...
Also, since poison headcrabs instantly bring you to 1 HP, it also triggers the 'Low_Health' vocalisation, cutting the voicelines even more...
The feature you asked for is now included in my other addon.
If by sprinting you mean "out of breath from running" then that'd be rather easy to do.
Unless you somehow fixed the problem in which case good work!
The default HL2 sound for taking fire damage causes TFA-VOX sounds (using TFAVOX_GenerateSound) to cut out, but during testing I found out the sound.add method doesn't suffer this issue.
I have no idea why this is, and why fire damage is the only damage type with this issue. This is just a workaround to make sure the sound plays out fully, rather than cutting out halfway.
For every other type of damage, just copy-paste the example table and replace the prefix (shk) with any of the options listed below it.
Thanks!
I still believe it's something conflicting with the addon. With everything else uninstalled (and only the VOX base and pack installed) the addon runs without issue, meaning something else is the cause of the issue.
What that is, I honestly can't say. There could be a myriad of reasons for why this is happening, but as it is there isn't much I can do to help.
[TFA-VOX Extra Callouts - Damage Types] lua/tfa_vox/modules/paincallouts.lua:251: attempt to index field 'damage' (a nil value)
1. b - lua/tfa_vox/modules/paincallouts.lua:251
2. v - RunString(Ex):8
3. unknown - lua/includes/modules/hook.lua:96
That line of code retrieves the players character model, so that the appropriate VOX Pack can be triggered. I'm not sure how or why it would be causing errors.
I can only think of conflicting addons as the reason. I can't really fix this, as it isn't necessarily an issue with my addon.
1. b - lua/tfa_vox/modules/paincallouts.lua:175
2. v - RunString(Ex):8
3. Call - lua/includes/modules/hook.lua:96
4. TFAVOX_Init - lua/tfa_vox/framework/tfa_vox_global_functions.lua:364
5. v - lua/tfa_vox/framework/tfa_vox_base_hooks.lua:23
6. unknown - lua/includes/modules/hook.lua:96
I'm using NextKuromeThe76Soldier's vox reupload. Tried the legit one from yuranzz and nothing changed. Actually, with the legit one I got even more errors. I tried disabling all my vox packs and still get this error. I saw that you already answered to a similar error saying that it works on your end, I think that is a really common occurence with programming tho don't you think? "Works on my device" but not on someone else's for god knows why :D
PostEntityTakeDamage() [wiki.facepunch.com] triggers every time the player takes damage, then using IsDamageType() [wiki.facepunch.com] I can check which type of damage the player is taking.
After that, the code triggers the appropriate callout based on the type of damage the player has received.
Everything works perfectly for me so it's something on your end. There's not much I can do to help here.
If only the new damage types don't work then it might be a failed update. Otherwise the only options left are conflicting addons or a typo in the pack.
I did set the artificial delay to zero, set the chance for it to be played to 100% and yet it did not work. Only the triggers before the update functioned properly. I removed all the bodyhitgroup and generic triggers, on my second attempt, and still has the same effect.
@Sergeant Pan I did the classic uninstall-every-mod trick and it works with the bare essentials, I'll start combing through and find what breaks it.
The addon is working as intended on my end. The generic pain sounds might be because of the artificial delay preventing the sounds from triggering. It's an intentional mechanic to allow callouts from regular damage and this addon.
If you only want damage type callouts to trigger set artificial delay to 0 in the config menu.
I'm already using priority 5, but the cutoff still occurs. It seems all sounds made by the VOX are cut off by fire damage, but for whatever reason every other type of damage (radiation, acid, shock) doesn't have this issue.
Now I have to record voicelines for this, too.
Tom Aero 2's gonna be painful on my vocal chords this year 😅
to prevent cutting off with those i'd suggest putting a higher priority (third argument for TFAVOX_PlayVoicePriority), something between 5 to 9 (4 is pain sound, 10 is critical hit sound)
Downloaded the pack and everything works out of the box. Check your settings in the TFA-VOX GUI to make sure everything is enabled.
Rollermines trigger shkdamage, any source of fire triggers incdamage, antlion workers trigger acddamage.
I just tested the Suppressor pack on your workshop and the shkdamage callout works as intended.
The only other thing is if you're editing the pack in-game, you have to refresh the modules and the VOX pack (unless you're already doing that.)
If all else fails you could upload the file somewhere and I can take a look for myself.
https://imgur.com/a/tsZ02Ys
Here is an example from my TF2 pack. 'acddamage' is the one you should replicate.
I'm not seeing any errors on my end. Though from the error it seems as if the TFA-VOX Base didn't initialize properly, meaning the prerequisite variable was not created, resulting in the error. Try disabling some addons, it might be an unexpected conflict or something.
1. b - lua/tfa_vox/modules/paincallouts.lua:175
2. fn - RunString(Ex):8
3. Call - lua/ulib/shared/hook.lua:109
4. TFAVOX_Init - lua/tfa_vox/framework/tfa_vox_global_functions.lua:364
5. fn - lua/tfa_vox/framework/tfa_vox_base_hooks.lua:23
6. unknown - lua/ulib/shared/hook.lua:109
Been getting this after the recent update, when trying to change packs on models using the enhanced playermodel selector
Suggestions:
- trigger for dmg types like: crush, explosion and slash.
- grenade callouts for your other addon should trigger by simply having los with them (pinging them has to be pinpoint accurate and is annoying).
- trigger that just randomly plays at some point.