Modbuddy and Quests

Konruy

Chieftain
Joined
Nov 12, 2014
Messages
2
A friend and I are working on a mod that will tweak some of the building quests. We figured out how to edit all the relevent .xml and .lua files to make it work and have tested it... Then we learned that we actually need to do it all in modbuddy to publish on steam. We have almost no idea how it works, and we're having a hard time finding any kind of tutorial for modding quests since Civ V and earlier didn't have any.

We imported the modified files we have into modbuddy. We did the Actions -> Add -> OnModActivated -> etc, with Playerperks.xml, TextInfos_Quests.xml, and TextInfosTraits.xml. Thing is, now we don't entirely know how to do the same with the BuildingChoiceTemplateQuest.lua file.

We got modbuddy to build us a mod that BE recognizes using those three xml files, but there is no actual change to the game when used. We're not entirely certain why.

Does anyone know how to mod quests and can help us out here?
 
It seems like Firaxis intended the quest system to be highly moddable but then never tested it. Using this mod will help. Your quest Lua files will need to be set VFS=true, [and I believe you must put them in the root folder of your mod].

You can either set that mod as a dependency or just include its version of QuestSystem.lua (also VFS=true).
 
[and I believe you must put them in the root folder of your mod].

I fixed this in the most recent version. You should be able to place it in any subfolder within your mod now.
 
It seems like Firaxis intended the quest system to be highly moddable but then never tested it. Using this mod will help. Your quest Lua files will need to be set VFS=true, [and I believe you must put them in the root folder of your mod].

You can either set that mod as a dependency or just include its version of QuestSystem.lua (also VFS=true).

Okay, well that's nice, but what does this mod do? How do we use it? What does it have to do with modbuddy?

We're starting from step zero here, and could really use a nice tutorial of some kind.
 
Okay, well that's nice, but what does this mod do? How do we use it? What does it have to do with modbuddy?

We're starting from step zero here, and could really use a nice tutorial of some kind.

As per the mod description, it provides a means for modders to insert their own scripts for Quests, Covert Ops, etc. without having to place them in the assets folder. It solves the issue you stated in the OP about your BuildingChoiceTemplateQuest.lua.

Now, as far as how to make BuildingChoiceTemplateQuest.lua actually do what you want it to do, for the time being you'll just need to study it and test some incremental changes. I don't know enough about the intricacies of the quest system yet to write a tutorial on it, personally, nor do I currently have the time to learn said intricacies or write a tutorial on them.
 
Back
Top Bottom