Closed SuperMario20 closed 2 years ago
Already found a way. In all source games there's this thing called response system. It allows to play VCD based on criteria met.
Scripts related in this system are in scripts/talker in any source game.
Example: TF2 Scout's response script
Right now I'm porting this program to c++, so this needs to wait. Thanks for your concern tho.
Entrypoint for those scripts is always scripts/talker/response_rules.txt file.
There's not much in the code actually. And in fact I handle those already. it's in hardcoded_entries.h file.
thanks
How's it going so far?
Finished up scene dumping. Now it will correctly decompile via test program. Soon I'll get map parser logic implemented. Bulk of will be in my valve-bsp-parser fork. Once done, I will add that as a submodule and extract necessary information from it.
Cool!
I've noticed that games that don't have the scenes in the maps and are only in the code (TF2 etc.) will output some jumbled up vcd names when you decompile the scenes.image and error when rebuilt into scenes.image. Could you find a way in the future to get it working for games without scenes in the maps?