Sure you can, as long as it’s a C++ struct.
c++ struct… I suppose it will be fixed data. There’s no blueprint structure type?
Same here. I would like to buy your plug-in, but… I will not, if I wont be able to do everything in blueprints.
Hi. Are there any plans for native support for FPS/Third person template ?
Thank you so much for a quick response! I followed the FAQ tutorial to a T - but got stuck on step 5 - specifically - I cannot find how to implement “On Key Down” or “On Key Up” - in purple. Any chance we could get a quick video tutorial of this? I think it could help a lot of people =D Thank you so much! -
You can override functions like this:
https://i.gyazo./0cdf19ef16887bf04e70a6b25125550b.jpg
The plugin works with any UE4 project. If you have a concrete implementation in mind, feel free to ask.
Events/conditions logic is done in blueprints. Only fields are done in C++, which doesn’t require any C++ knowledge: you don’t need to actually write code, you just copy & paste a couple of fields, guided by a video/text tutorial.
Thak you for your answer!
But to do that I have to convert my project to C++ one and I dont want to do that, I want it to be blueprint project. Is there any way around that? Or maybe some update in the future? Then I will just wait for it
It’s highly recommended to use C++ events/conditions with Dialogue Plugin unless you have a specific reason not to. It’s the only way to easily use all of the native UE4 classes as well as your game’s classes in events/conditions. It doesn’t mean you have to convert all of your blueprint classes to C++ (for example you can use AActor in fields instead of your game blueprint actor classes) so your project will still be a 99% blueprint project.
Theoretically, you could add events/conditions in another C++ project and then copy & paste the compiled Binaries of Dialogue Plugin to your project, but I don’t recommend that. Also, this way you will be able to use only native UE4 classes and not your game’s classes.
I swear on the soul of my father, Domingo Montoya, I will never going to use native UE4 classes.
If there are not technical reasson, I dont know why you dont can let me us a blueprint version. At last put a tutorial.
I don’t think you understood my post - events and conditions in Dialogue Plugin are meant to be used just like described in the user guide and video tutorial - first you edit Dialogue.h to add the fields and then you add the logic in blueprints. There’s no way to do it strictly in blueprints (for technical reasons).
ops :o Sorry you start the post with “It’s** highly recommended to use C++ events/conditions with Dialogue Plugin unless you have a specific reason not to**.” it confuses me.
Yes, checking the docs look easy add the variables in c++, my problems with c++ is more a principle related. After two years of blueprints, having to write code it seems medioval as punched cards.
Please forgive me if this has been asked and answered… Let’s say I would like to modify a reputation variable based on several choices during the dialog process. Would that be an event / condition? Already purchased and I’ve not had a single look into it, so apologies for not reading all of the docs yet. Just need a yes or no.
Also, another person put out dialog plugin that also uses different cameras, is that possible? Thanks for all your work!
teak
Sure, it’s an event.
Sure, you can tweak the UMG widget to center the camera on the person who’s currently speaking.
If you need help with that, don’t hesitate to ask.
Perfect, thanks… Apologies for the noob question, I should have researched first…! But, I will admit, knowing up front that it does do this makes me at least feel better. <smiles>
teak
hi,
very usefull plugin. works fine for me, but is there anywhere a overview how the variable types are called in c++? i especialy search for actor class refference.
thanks
Depends on what you want to do with that.
If you want to spawn an Actor of a certain class, you can use the following:
[FONT=Courier New]TSubclassOf<AActor> ActorToSpawn;
Or if you want to kill a certain character, you could use the tag system.
Hi,
Is there a way to grey out dialog line that do not fulfill conditions instead of not showing it?
Sure, it can be done by modifying the UMG widget. If you need help with that, don’t hesitate to ask.
Hey there. I’m really interested in your plugin mainly because another plugin hasn’t been updated since 4.11 and I REALLY want to take advantage of 4.12. Found this baby and saw how…evolved it is compared to the other one. I have a couple of questions though.
-
How acceptable is this plugin for a primarily blueprint project? I’d rather stick to blueprints, to save time and money for the project.
-
I see that when you put a player choice node, it allows you to click on it, but goes right into the reply from the NPC. Can you make it so the player’s dialogue is spoken when clicked on the choice? My character is fully realized and I don’t want him to be a mute.
-
Is there any hope for Articy:draft integration in the future?
-
Is there a plan to export import dialogue text into CSV/XML and/or offer Localization features?
-
Last, I made my own node that handles my own bank of Global Variables. Both Get and Set. Is it possible to change how conditions are handled, therefore utilizing my own bank to handle condition checks?
Thanks for your time! Much appreciated. I look forward to diving into this excellent plugin.
Wait a minute I’m doing a dialog game, does this mean Unreal can handle environment variables for flags? Have a look at this script because I use truckloads of environment Variables flags in my own Dialog but this is not written for the Unreal Engine but written as a windows console script. to allow me to test all the dialog branches and storyline events out in my game.
But my game has got over 20,000 lines of interweaving text dialog, In order for it to work, I had to first define a huge amount of environment variable tags (flags) first. (over two thousand flags to keep track of everything, this includes keeping track of entities, loot drops and so on) I don’t think Blueprints alone can handle tens of thousands of lines of dialog and thousands of tags. You would need a tag string text file database.
if %vypercaptain% EQU 1 goto vypertour1
if %snohatch% EQU 1 echo. Jones: Commander, we have a problem down here in the brig with the Snowhatch.
if %snohatch% EQU 1 echo.
if %snohatch% EQU 1 echo. Commander: What is the trouble?
if %snohatch% EQU 1 echo.
if %snohatch% EQU 1 echo. Jones: Well sir, its changed color.
if %snohatch% EQU 1 echo.
if %snohatch% EQU 1 echo. Commander: Oh? I better come take a look and see for myself.
if %snohatch% EQU 1 if %loana% EQU 1 echo. Loana: Sounds like trouble.
if %snohatch% EQU 1 echo.
if %snohatch% EQU 1 echo.
if %snohatch% EQU 1 echo. A) Visit the brig
if %snohatch% EQU 1 echo.
if %snohatch% EQU 1 set /p x1=
rem if %snohatch% EQU 1 if %x1%==a goto REM NOT YET
echo.
if %tesscredits% GTR 600000 echo. You have enough credits to buy the Mark III Scanner.
echo.
if %goofaceslip% EQU 1 goto medgoo
rem = If Party has all 10 plants, jump to Medical Bay to Doctor Thompson Poison Plant Storyline Script
if %poisonbatch% EQU 1 goto docpoisonplant
if %rosednasample% EQU 1 goto docrose
if %stinkyvinus% EQU 1 goto vinus2
if %kartifact% EQU 1 goto kreomvin
if %debriscourse% EQU 1 goto debrisjh
if %stormtell% EQU 1 goto exitthestation
if %stormtell% EQU 0 echo.
if %nc7shipreport% EQU 1 goto bridgereporteng
cls
echo.
if %droidmemup% EQU 1 goto compucore
if %hospvendes% EQU 1 echo. Skinar: Whew that was close Commander, they nearly succeeded in jaming the signal
if %hospvendes% EQU 1 echo. A second longer and I would not have been able to transport you outta there in time.
if %hospvendes% EQU 1 echo.
if %hospvendes% EQU 1 echo. Commander: Worry about that later right now, work on clearing the docking codes so we can
if %hospvendes% EQU 1 echo. launch the ship and get the hell outta here. I’m going to the Infirmary to
if %hospvendes% EQU 1 echo. give her the medical supplies.
if %hospvendes% EQU 1 pause && goto medoc
if %hurtleonix% EQU 1 echo. Skinar: Go see the doctor
if %hurtleonix% EQU 1 echo. she has the Leonix under observation.
if %hurtleonix% EQU 1 echo.
if %secureguard% EQU 1 echo. There’s a security guard standing nearby watching you. . .
if %malpractice% EQU 1 if %secureguard% EQU 1 echo. Storm: Why did you have to mess with the hospital for, this security guy gives me the creeps.
if %malpractice% EQU 1 if %secureguard% EQU 1 sound play Storm1142.wav
if %medy% EQU 1 echo. You have a new message.
if %loana% EQU 1 if %vinusdone% EQU 1 echo. Jones: You have some messages, Commander.
rem – If Loana Party Member is dead —
if %loanadead% EQU echo. Jones: Commander, Central wants to speak to you you in the Vidcom Room. && bg sleep 4000 && echo. Comander: I’ll get right on it && bg sleep 4000 && goto vidcom
rem – If Vinus is destroyed ----
if %vplanetwarn% EQU 1 echo. Jones; Commander, Central wants to talk to you right now on Vidcom, it’s urgent. && bg sleep 3000 && goto vidcom2
echo.
Rem – If Kreom Artifact has been found ----
if %kreomfind% EQU 1 echo. Storm: I know where the Telos System is. Let me see the Galaxymap. && sound play Storm121.wav && bg sleep 5000
if %kreomfind% EQU 1 echo.
set /a rprogress=%rprogress%+2
if %rprogress% GTR 10 set rprogress=10
echo. Research Progress: %rprogress% of 10
echo.
Rem – If you found The Slipstream device and Rex is in the Party.
if %spacefold% EQU 1 if %rex% EQU 1 echo. Titan Suns Rex: So what do you guys what to show me that’s so important?
if %spacefold% EQU 1 if %rex% EQU 1 echo.
I have 10 party members in my game but this script shows all the different events happening at different stages of the game with different party members or events happening in one location, the main bridge which get triggered off at different times depending on the players progress in the game. So the dialog at the moment won’t make much sense because its triggering off from other dozens of events elsewhere
in the script.
I don’t know how to write my script into Unreal Blueprint Format or C++
And I also use random counters as well in some of the dialog so NPC’s can choose to respond back differently.
set /a spin=%random% %%4+1
if %spin% EQU 1 echo. Ensign Peters; Commander, Admiral Odys is back again, he says he has
if %spin% EQU 1 echo. found your mission briefing.
if %spin% EQU 2 echo. Ensign Peters: Commander, you can’t just leave the Admiral sitting there.
if %spin% EQU 3 echo. Ensign Peters: You are required to talk with him now.
if %spin% EQU 4 echo. Ensign Peters: I will leave it in your hands.