尖叫受傷的Peds 2.0
模組介紹 作者原文
Screaming Injured Peds是一個劇本,讓所有的AI人在他們躺在地板上時開始尖叫,喊叫和咳嗽。
我很久以前就已經做過這個了,我首先將它介紹給了Accuracy Fix mod的更新,然後我就製作了一個新的mod來修改受傷,受損或躺在地板上的AI行爲。但是我忙於其他項目的ATM,所以這更像是對這個想法的預覽。當我發佈WIP項目時,有些人在論壇上要求它。
我們的想法是通過更多功能和更實際的東西來改進這一點,因此請記住,這更像是WIP項目/預覽。更準確地說,我想製作一個完整的腳本,當它們受到傷害時改變AI反應,這只是它的一部分。
腳本如何工作?它分析了該區域的所有peds,如果一個ped躺在地板上(遊戲稱之爲“受傷”),ped會收到播放隨機疼痛聲音的命令。實際上我只是包括燃燒和咳嗽SFX,但想法是包括更多。受此影響的peds應該有一個blip,一旦ped終於死亡(腳本停止工作)就會消失。
該腳本的第2版具有隨機化功能,可以隨機發出嘶嘶聲,咳嗽或無所事事(香草反應/ SFX),因此它們不會一直尖叫。版本1是沒有隨機化的原始版本。
你可以遵循這個技巧,避免在地板受傷幾秒鐘後peds自動死亡。如果他們很快就死了,你可能聽不到他們的尖叫聲。
這是一個.NET腳本,所以你需要ScriptHookV和ScriptHookV DotNet才能使你的遊戲正常運行。將DLL文件放在Grand Theft Auto V / scripts文件夾中。
更新日誌
v1:初始版本
v2:計時器包括:現在,每個ped將每5秒觸發一次我們可以稱之爲“尖叫事件”。這些事件將隨機讓吶喊,咳嗽或什麼也不做(受傷的peds的香草SFX)。每個活動都具有相同的可能性(每個活動33%)。在下一個版本中,我將包含一個INI文件,您可以在其中自定義所有內容。 Plz,讓我知道您對該系統的看法以及您認爲如何改進它。
Screaming Injured Peds is a script that makes all the AI peds to start screaming, shouting and coughing when they're lying on the floor.
I made this a long time ago and I first though about introducing it on a update of the Accuracy Fix mod, then I though about making a new mod that modifies the AI behaviour when injured, damaged or lying on the floor. But I'm busy ATM with other projects, so this is more like a preview of the idea. Some people asked for it on the forum, when I published the WIP project.
The idea is to improve this with more functions and stuff that make things more realistic, so keep in mind this is more like a WIP project/preview. More exactly, I want to make a complete script that changes the AI reactions when they get hurt, and this is just one part of it.
How does the script work? It analyzes all the peds on the area, if a ped is lying on the floor (what the game calls being "hurt") the ped receives the order to play a random pain sound. Actually I just included the burning and coughing SFX, but the idea is to include more. The peds affected by this should have a blip, which dissappears as soon as the ped finally dies (the script stop working on it).
Version 2 of the script features a randomization that makes the ped scream, cough or do nothing (the vanilla reaction/SFX) randomly, so they won't be screaming all the time. Version 1 is the original one which hasn't got that randomization.
You can follow this trick to avoiding peds automatically dying after a few seconds when they're injured on the floor. If they die soon enough, you might don't hear them screaming like it's intended.
This is a.NET script, so you need ScriptHookV and ScriptHookV DotNet in order to have this working on your game. Put the DLL file on Grand Theft Auto V/scripts folder.
Changelog
v1: initial release
v2: timers included: now, each ped will trigger what we can call "a screaming event" each 5 seconds. These events will randomly make the ped shout, cough or do nothing (the vanilla SFX for the injured peds). Each event have the same posibilities (33% for each one). On the next release, I'll include an INI file where you can customize everything. Plz, let me know what do you think about the system and how do you think it could be improved.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
- 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
- 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。
不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。