Left 4 Dead 2

Left 4 Dead 2

[No Mercy] Outro Voicelines Restoration [VScript]
 This topic has been pinned, so it's probably important
Nescius 8 Mar, 2024 @ 3:04am
script
This is relatively simple to do with vscript no need for lmp file that might conflict. Converted the lmp changes to vscript.
To use just put it to director_base_addon.nut and it's done

if(Director.GetMapName() != "c8m5_rooftop") { return; } local finale = Entities.FindByClassname(null, "trigger_finale"); if(finale == null) { return; } DoEntFire("!self", "AddOutput", "EscapeVehicleLeaving npc_finale_flyout_relay,Trigger,,0.5", 0, null, finale); SpawnEntityGroupFromTable({ [0] = { logic_relay = { "origin" : "6128.6 8036.1 5760.16" "targetname" : "npc_finale_flyout_relay" "StartDisabled" : "0" "spawnflags" : "0" connections = { OnTrigger = { [0] = "pilot_flyout01,PlaySound,,0.000,-1", [1] = "pilot_flyout02,PlaySound,,3.001,-1", [2] = "pilot_flyout03,PlaySound,,5.585,-1", [3] = "pilot_flyout04,PickRandomShuffle,,8.184,-1", [4] = "helicopter_takeoff_relay,Disable,,0,-1", [5] = "pilot_flyout05,PlaySound,,12.996,-1", [6] = "pilot_flyout06,PlaySound,,19.349,-1", [7] = "pilot_flyout07,PickRandomShuffle,,22.138,-1" } } } }, [1] = { logic_case = { "origin" : "8271.82 9330.19 6276.05" "targetname" : "pilot_flyout04" "OnCase01" : "pilot_flyout04_1,PlaySound,,0,-1" "OnCase02" : "pilot_flyout04_2,PlaySound,,0,-1" } }, [2] = { logic_case = { "origin" : "8325.53 9026.41 6276.05" "targetname" : "pilot_flyout07" "OnCase01" : "pilot_flyout07_1,PlaySound,,0,-1" "OnCase02" : "pilot_flyout07_2,PlaySound,,0,-1" } }, [3] = { ambient_generic = { "origin" : "5960 7808 6224" "targetname" : "pilot_flyout01" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_01a" "health" : "20" } }, [4] = { ambient_generic = { "origin" : "5960 7808 6240" "targetname" : "pilot_flyout02" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_01b" "health" : "20" } }, [5] = { ambient_generic = { "origin" : "5960 7808 6256" "targetname" : "pilot_flyout03" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_01c" "health" : "20" } }, [6] = { ambient_generic = { "origin" : "5960 7824 6368" "targetname" : "pilot_flyout04_1" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_07" "health" : "20" } }, [7] = { ambient_generic = { "origin" : "5960 7808 6272" "targetname" : "pilot_flyout04_2" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_02" "health" : "20" } }, [8] = { ambient_generic = { "origin" : "8582.12 8684.66 6317.66" "targetname" : "pilot_flyout05" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_03" "health" : "20" } }, [9] = { ambient_generic = { "origin" : "8652.57 8786.89 6599.81" "targetname" : "pilot_flyout06" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_08" "health" : "20" } }, [10] = { ambient_generic = { "origin" : "5960 7808 6320" "targetname" : "pilot_flyout07_1" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_04" "health" : "20" } }, [11] = { ambient_generic = { "origin" : "5960 7808 6336" "targetname" : "pilot_flyout07_2" "spawnflags" : "48" "SourceEntityName" : "wink" "radius" : "5250" "pitchstart" : "100" "pitch" : "100" "message" : "npc.ChopperPilot_hospital_finale_flyout_05" "health" : "20" } } });
Last edited by Nescius; 8 Mar, 2024 @ 7:01am
< >
Showing 1-2 of 2 comments
NB  [developer] 8 Mar, 2024 @ 9:21am 
cool
Hey I’m a small Hammer editor and I have a addon idea that I think you could help with by making a vscript similar to this, so if you’re interested let me know :p
< >
Showing 1-2 of 2 comments
Per page: 1530 50