Left 4 Dead 2

Left 4 Dead 2

ion's Vocalizer
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.
< >
Näytetään 1-2 / 2 kommentista
ion  [kehittäjä] 8.5.2024 klo 12.04 
You used undefined criterion "iMT_SmellsNice". Put this in imt_criteria.txt:

Criterion "iMT_SmellsNice" "Concept" "iMT_SmellsNice" required
Viimeisin muokkaaja on ion; 8.5.2024 klo 12.04
Worked perfectly, thank you for your help!
< >
Näytetään 1-2 / 2 kommentista
Sivua kohden: 1530 50