Left 4 Dead 2

Left 4 Dead 2

[No Mercy] Outro Voicelines Restoration [VScript]
 此主题已被置顶,因此可能具有重要性
Nescius 2024 年 3 月 8 日 上午 3:04
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" } } });
最后由 Nescius 编辑于; 2024 年 3 月 8 日 上午 7:01
< >
正在显示第 1 - 2 条,共 2 条留言
NB  [开发者] 2024 年 3 月 8 日 上午 9:21 
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
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50