Left 4 Dead 2

Left 4 Dead 2

ion's Vocalizer
Dovahnaut 8. maj 2024 kl. 11:09
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.
< >
Viser 1-2 af 2 kommentarer
ion  [udvikler] 8. maj 2024 kl. 12:04 
You used undefined criterion "iMT_SmellsNice". Put this in imt_criteria.txt:

Criterion "iMT_SmellsNice" "Concept" "iMT_SmellsNice" required
Sidst redigeret af ion; 8. maj 2024 kl. 12:04
Dovahnaut 8. maj 2024 kl. 14:52 
Worked perfectly, thank you for your help!
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50