aahz88 7 Posted April 11, 2020 Dialogue and Barter - RPG scripts for NPCs This dialogue system is an adapted version of Dwringer’s ASINC system. Dwringer did all the hard work, I just added/removed a few functions. http://www.armaholic.com/page.php?id=24870&highlight=DIALOGUE I don't have permission from Dwringer to release the dialogue system yet. Dialogue video Branching dialogue trees in the style of RPGs like Fallout NV. Up to 5 player responses. Conditional responses: for the player response to be available, a condition must be met. Ex. Player ismedic or is dressed as a journalist. Execute code or script on player response. Fast workflow. Write your dialogue in a CSV editor like google sheets/excel/Ron’s CSV Editor, then run my python script to reformat it. Example CSV file: Barter video Barter system: Includes different styles: barter, pawnshop, cash only (NPC won't buy your crap). Each type of NPC can have different priorities affecting how much they will pay and what they will buy. Ex: Refugee wants food, a journalist wants documents and information, a NATO soldier wants toilet paper and magazines. Each type of NPC will buy and sell only some kinds of items. Eg: A Refugee isn't going to buy your C4, not even for 1 euro. Can draw inventory from synced objects inventory and the NPC inventory. Easy to deploy script. Lock Containers: Also includes a Container Locking system to prevent players from just stealing from the NPC. Problems/bugs. Dialogue: Right now you need to preload all the dialogue files. Not hard but it would be better to just load every file in the folder automatically. Barter: Backpacks don’t show up in the inventory for some reason. Loading large inventories is pretty slow due to my poor item classifier. Prices are set by class ie. AssaultRifle, SniperRifle, ect. I would prefer a look up system that could read a prices list in csv or equivalent. Since I’m on COVID-19 lock down I may as well work on this. I will release this asap. 6 1 Share this post Link to post Share on other sites
Grumpy Old Man 3549 Posted April 11, 2020 Looks nice, not the kind of RPG script you'd usually expect around here. Spoiler Neat that you added a way to write lines for it in .csv format and convert it via python script. I'm sure lots of mission makers will benefit from this, especially with those kind of features (integrated script execution depending on answer in .csv, nice). Cheers 3 Share this post Link to post Share on other sites
aahz88 7 Posted April 12, 2020 @Grumpy Old Man Thanks! I don't know the rules in this community. I see that I need permission from Dwringer because I used their code but what if they don't reply after a few days? Can I release the scripts? Thanks Share this post Link to post Share on other sites
RCA3 593 Posted April 12, 2020 (edited) Armaholic page says: Quote License: You may freely use these files in your own missions, but only if public attribution of the source is included. You may freely modify the files under the same conditions. Do whatever you want for private use. ...for the legal experts to explain. Edit: <self-retracted> Edited April 12, 2020 by RCA3 This could be seen as bordering forum rules. 1 Share this post Link to post Share on other sites
honger 117 Posted October 19, 2021 Hey @aahz88, I guess I should be awarded with a gold shovel for digging so deep, but was this script ever released or do you have plans on doing that? I'm looking for some similar scripts for my campaign and sadly, apart from your project, there's only one system available (and paid ;-;). Share this post Link to post Share on other sites
Alsius 0 Posted November 4, 2021 I'm also interested in this. I'm on the brink of doing my own simple dialog and shop system, but I'd rather not re-invent the wheel. Share this post Link to post Share on other sites
pognivet 151 Posted September 14, 2022 can you reupload this since armaholic is dead? i'd like to give it a try. thanks. 1 Share this post Link to post Share on other sites
Blitz Blinds 0 Posted April 2, 2023 Amazing content, hopefully this can get reuploaded. Share this post Link to post Share on other sites