Left 4 Dead 2

Left 4 Dead 2

ion's Vocalizer
Dovahnaut May 8, 2024 @ 11:09am
Quick question regarding vox scripts
Apologies if this is the wrong place to ask, you seem very knowledgeable about vox scripting and I thought I'd ask here.


I've made a few modifications to your vox (for private use, I'm not uploading it as my own or anything), and they all work perfectly fine barring a few specific lines, one example being Ellis' smell lines ("Smells nice though, don't it?", "I don't know, I kinda like that smell." etc).

As far as I can tell, the vox should be playing these correctly, as those example lines are, again as far as I can tell, already defined in the base game_sounds_mechanic.txt, which if I'm not mistaken is what dictates what lines are playable?

Here's the code in my imt_mechanic.txt, am I missing anything here?

Response iMT_SmellsNiceMechanic { scene "scenes/Mechanic/World110.vcd" //I don't know. I kinda like that smell. (What's that smell?) scene "scenes/Mechanic/World112.vcd" //I don't know. Smells nice though don't it. (What's that smell?) scene "scenes/Mechanic/World113.vcd" //I don't know. Smells nice though don't it. (What's that smell?) } Rule iMT_SmellsNiceMechanic { criteria iMT_SmellsNice IsMechanic Response iMT_SmellsNiceMechanic }

Thank you for your time.
< >
Showing 1-2 of 2 comments
ion  [developer] May 8, 2024 @ 12:04pm 
You used undefined criterion "iMT_SmellsNice". Put this in imt_criteria.txt:

Criterion "iMT_SmellsNice" "Concept" "iMT_SmellsNice" required
Last edited by ion; May 8, 2024 @ 12:04pm
Dovahnaut May 8, 2024 @ 2:52pm 
Worked perfectly, thank you for your help!
< >
Showing 1-2 of 2 comments
Per page: 1530 50