VScript version of Modified The Parish: Refresh, experimental, ported from the Stripper version.
Works right out of the box.
It does not require Sourcemod, Metamod and Stripper:Source to be installed and -insecure startup option to be used, but it is designed for local/listen server(s).
* Because it is experimental, only c5m1 has been ported to VScript.
** Personally, I don't think it will be well received at Workshop, so I have no plans to port c5m2, c5m3, and c5m4.
This add-on proves that it is possible to port Stripper:Source configuration files to VScript, but there is a land of annoying bugs that take anywhere from a dozen to tens of hours to fix during the porting process, for example:
1) I didn't find any hammerid-related vanilla functions, so modifying a ladder so that it can be climbed by survivors requires local ladder_000 = Entities.FindByModel(...) get the ladder, ladder_000.Kill() delete the ladder, SpawnEntityFromTable("func_simpleladder", ...) recreate the ladder, EntFire(ladder_000, "addoutput","...") modify the properties of the ladder. In addition, there are some problems related to the loading order.
2) The process for fixing the L4D1 survivors' Intro Camera is different from Stripper, see Modified_The_Parish_c5m1_Camera.nut in the vpk.
3) Killing a vanilla func_nav_blocker with affectsFlow 1 and StartDisabled 0 (e.g. route_1_nav in c5m1) will cause problems with the initialization of navflow, resulting in the common not being spawned.
* In addition, other func_nav_blockers with affectsFlow 1 will also recalculate navflow, but this will not allow the common to be spawned correctly, instead if the recalculated navflow is normal, it will also cause navflow to not show the problematic 9999/-9999 navmesh areas.
* You can use nav_recompute_flow console command to reinitialize the navflow without problems so that the director will spawn common on the navmesh areas normally, but this command requires sv_cheats 1, which is simply not possible on a local/listen server.
* Alternatively, it is possible to trick the director into calculating navflow correctly by creating navmesh areas that are not subject to the above func_nav_blocker, and then manually disabling these fake navmesh areas with the func_nav_blocker to normalize navflow and common spawn.
It is highly recommended that server administrators use the Stripper:Source version, the VScript version is designed for local server(s).