Talk:Left 4 Dead 2/Docs/Mission Files
Jump to navigation
Jump to search
About Extra Strings
The missionfile example currently lists the a few strings that I don't know if they're truly stull used.
I made a test map to try and figure it out which are doing anything, and here's what I noticed:
- allow_cola 0: Does not stop weapon_cola_bottles from spawning cola.
- no_wpn_restore 0/1: No effect on whether my players respawn with weapons or not.
- allow_diesel: Dubious. My own edit of hard rain required a vscript to spawn and attach the models to the players in the first place.
- l4d2_names (in poster): No effect. What names to show depends on "survivor_set"
- character_order (in poster): Only orders character name by "slot", as name itself is picked by survivor_set. Slots are as such: Namvet/Gambler, Biker/Mechanic, Producer/Teenangst, Manager/Coach
- no_cs_weapons: Rather than swapping css weapons for a l4d2 counterpart, it simply deletes the weapon after spawn, leaving spawnpoints EMPTY. (Already updated main page to mention this)
Could anyone who knows a bit more about coding in l4d2 try to find out if they are actually used by anything at all?
--MrFunreal (talk) 08:53, 14 August 2026 (PDT)
- character_order is used with survivor_set to tell the game which survivor slot belongs to each position on the poster. For example, if survivor_set is set to 1 (L4D1 Survivors), and the poster positions are Francis, Louis, Zoey, Bill from left to right, the value would be "biker;manager;teengirl;namvet". This means position 1 is Biker (Francis), position 2 is Manager (Louis), position 3 is Teengirl (Zoey), and position 4 is Namvet (Bill). When players are playing or joining, their player names can then replace the survivor names on the poster, allowing you to see which player is playing as Francis, Louis, Zoey, or Bill. Same goes for L4D2. --N0one (talk) 15:08, 14 August 2026 (PDT)