Talk:List of L4D2 Instructor Messages

From Valve Developer Community
Jump to: navigation, search

Custom instructor messages

(L4D2) I have been using env_instructor_hint until now but I noticed that these hints show up for infected players too. As far as I know there is no option to choose the team. In Valve's maps, Info game event proxy is used, and the ones I've tested do only display for survivors. So I have searched in the game files (vpk's) and found the following file: scripts/instructor_lessons.txt, which contains these hints. They have multiple settings, one of them is the setting "team" "2" (survivors) or "3" (infected). This is exactly what I need. I have tried adding new hints, but the engine doesn't display any hint, not even a console error. I've also tried packing the files into a vpk addon, but no luck. Does anyone know if this is possible to do? Or maybe this was not intended and env_instructor_hint just needs an update to add a team setting? Thanks in advance! --StephenB 13:17, 21 October 2012 (PDT)