武装突袭3

武装突袭3

96 个评价
Hcoll NPC Dialog
2
2
   
奖励
收藏
已收藏
取消收藏
Data Type: Mod
Mod Type: Mechanics, Sound
文件大小
发表于
更新日期
3.273 MB
2022 年 10 月 16 日 上午 5:54
3 月 24 日 上午 10:56
22 项改动说明 ( 查看 )

订阅以下载
Hcoll NPC Dialog

描述
Hermit Collective NPC Dialog

This mod aims to make it easier to have NPCs communicate with players so you can more easily add a story to your OPs. It has the following features:

- Display text in a box at the bottom of the screen
- Set who receives the message based on side, distance from linked object/unit, or only specific players.
- Options for adding a mugshot/avatar image of the unit talking.
- Pre-made mugshots for most used factions, vanilla, GM, SOG, RHS, WW2, civillians, etc.
- Options for adding voice files for local sound that plays from "linked" object/unit.
- Options for adding voice files for radio sound that plays for all receivers.
- Can be linked via variable name to an NPC(unit) or object (like a radio).
- Animates the lips of linked npc.
- Includes a simple version with less features but also less hassle

Setup

Setup is pretty simple, just place the module down, sync it to a trigger, and configure the module settings. If you want the sound to come from a unit or object you will need to give them a variable name and then add that in the module settings.

Settings:
- Receivers: Who will receive this message - All players, players of a side, players in range etc. | simple version does not allow for custom array
- Speaker: OPTIONAL Variable name of the object/unit that the sound will come from
- Name speaker: The name that will be displayed with the text.
- Text: The text to be spoken/displayed
- Duration Multiplier: If duration is set to 0 the time the message is on screen is based on the character length, this multiplier can be used to change how much time every character adds. | Not available for simple version.
- Duration: How long the message is on the screen.
- Colour text: The hex value of the colour of the text that is "spoken". | Not available for simple version, is always white.
- Colour name: The hex value of the colour of the text that is "spoken". | In simple version a drop-down with 6 options.
- Mugshot path: The path to the image you want to use as a mugshot, make sure it's square and a .paa file (look for a tutorial on how to use custom images in arma). The mod comes with many pre-made mugshots, see below for list. | In simple version a drop-down with pre-mades
- Text Align: Set the outlining of the text. | Not available for simple version, is always center.
- Mugshot location: set if the image is left or right in the box, useful if you want to give the idea that 2 NPCs are talking to each other.
- Background path: the background image used, if you want to change it make your image 1024x128.
- Name local sound: Sound to be played from "linked" unit/object. | Not available for simple version.
- Name radio sound: Sound to be played to all receivers. | Not available for simple version.
- Dynamic play: When enabled the radio sound does not play for people within 25 meters of the "linked" unit/object.
- Play chatter: If you don't have sound files you might still want an audio queue for your players, this option will have the module play a random radio background sound with the message.

The new “Follow Up Prompt“ module works mostly like the main dialog module, but acts as a follow up line in the conversations or monologue. It is triggered by a synced main dialog module or another “Follow Up Prompt“ module. They do not do anything on there own and a main dialog module is needed to start the chain of dialog. You can chain “Follow Up Prompt“ module as much as you like, even mixing simple and normal versions.

The “Follow Up Prompt“ module has 2 unique attributes:
Condition - must be true for this follow up line to be triggered.
PassBy - If true this follow up line is simple skipped if the condition is not met, if false the entire conversation will end here if the condition is not met.
106 条留言
Infallible Kitten 10 月 24 日 上午 10:55 
@Ekho1226 I have the same issue, only way ive solved it is by setting up the trigger that has specific conditions that need to be met to show.
Ekho1226 10 月 23 日 下午 3:09 
Shot in the dark here but I'm having a problem where the prompts keep popping up each time a player joins the server (For instance their game crashes out and when they rejoin it plays all the played chats all over again all on top of each other for everyone) If someone might know how to fix this that'd be awesome :D
Firmament 9 月 17 日 上午 7:54 
Awesome mod and everything works fine with modules + triggers but, you know, somewhat I think it would be great if the condition string in a dialog module recognized custom boolean variables (true or false), much like any trigger would do.
By this I mean if I put some condition in there like 'oksomyguycantalk (set to true or false in another script), it just doesn't work (creates an error). And that's sad, because I think this minor feature would make the whole thing easier to use (requiring less synced modules), especially in complex conversations with various scripts involved.

P.S: I noticed that you can put some common variable as condition like 'alive myguy, but real custom ones as the one in example above just don't work.
[THC] Cunamo  [作者] 8 月 28 日 上午 9:10 
you would need a translucent PAA. As for the offset it could well be a resolution thing, Arma is a mess with resolutions internally, from my experience.
honger 8 月 27 日 上午 1:56 
Is there a way to disable the background entirely now, or do I have to add an empty PAA to the mission file?

Also I noticed that the UI is no longer in the centre but a bit offset to the right. I have to manually set the X to -0.1 for each module. Unless that's some resolution issue, I'm on a 2k screen currently.
[THC] Cunamo  [作者] 8 月 15 日 下午 2:50 
happy to hear it helps, let me know if you run into any issues
A Harmless Avacado 8 月 15 日 下午 2:42 
Thank you for making this, I was trying to do this myself but suck at scripting and I love you for making this, like-- a burning passion. Who ever you are.

(I haven't tried it yet but I will download your mod soon)
GOMZLIKE 8 月 12 日 下午 7:29 
[THC] Cunamo, it was skip waypoint in trigger. I got it.
[THC] Cunamo  [作者] 8 月 5 日 上午 2:10 
@GOMZLIKE you can try to ctrl-c the working setup, then open your mission and ctrl-v it in there. then something else in your mission is triggering the condition. What is the condition of the trigger?
GOMZLIKE 8 月 4 日 上午 7:36 
@ A. Ares, yes. The triggers are same.