Arma 3
61 ratings
NPC Framework Script
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
File Size
Posted
Updated
116.120 KB
14 Feb @ 7:18am
17 Feb @ 2:17pm
4 Change Notes ( view )

Subscribe to download
NPC Framework Script

In 1 collection by Condasoft
Arma 3 Script Collection
24 items
Description
Now supports dedicated servers.

I wanted a dialogue framework, one with RPG mechanics, so I came up with some characters, and I think the results were pretty good.

It's not really important what the characters are saying; I made this as an example where Earth has been hit by a solar flare, resulting in a global power outage. What is important is that you can change the dialogue, animations, and actionable responses to suit your own needs. Obviously, yours and other Steam users' characters and dialogue will be different, so I just included several characters, all with varying ways of articulating and structuring the actual dialogue and actions within the script, hoping that it will be a "one size fits all" solution.

The dialogue scripts can be found in the init of each character. If you make a badass character with some unique dialogues or features, you can share them in the discussion section of this workshop item. I have included a template.

Just note there is a distance check, so if the dialogue messes up, you can just walk away and come back again to restart the dialogue. If anyone finds any problems, let me know, and I will try to fix them ASAP.

This script uses a unit's init in order to initialize it. To use it in your own mission, you need to place the composition in the editor using the custom composition system, which can be found in the right panel of the editor.

You are free to use, modify, and distribute this script for personal or non-commercial projects. However, you may not use it or parts of it in any monetized content without contacting me for permission first.

While not necessary I highly recommend using Notepad++ as it is a great tool for replacing dialogue in script. With its Find & Replace feature, you can quickly swap out dialogues for your own by pressing ctrl+F I also highly recommend installing the the sqf syntax highlighting language plugin as it makes the code easier to comprehend.

If for some reason you would like to support me patreon.com/CondaScripts
Popular Discussions View All (2)
0
17 Feb @ 5:40pm
READ ME FOR STEAM USERS
Condasoft
0
14 Feb @ 7:39am
Share your characters
Condasoft
4 Comments
Constantine Mason 11 hours ago 
Is there a script to be able to make them talk only once? without having to select an option to leave, because when I try to delete the dialogue options in the script, the game thinks that the player is still talking to the NPC so the player won't be able to talk to any other NPCs.
GhostRecon101BN 17 Feb @ 9:44pm 
im dumb so will be stickin to init. tysm sir
sherkaiser 17 Feb @ 4:46pm 
Oh where were you my whole life
Mag_Light 17 Feb @ 4:41pm 
oh man fallout servers are gonna go nuts