I'll do it myself if someone can teach me...

I want more Diplomacy flavor text. I want to create 3rd party interactions. Let me give you an example:

 

  • Drengin " We want you to tell  your buddy's the Altarians to stop (insert action here) or we will be closer to war with both of you."

Possible responses:

  • Get lost Lord Kona we value the Altarians more than YOU! ( Diplomacy hit with Drengin)
  • Sure thing Lord Kona, we don't like the Blue meanies anymore than we like the Yor! ( Diplomacy hit with Altarians immediately and a plus with Drengin)
  • How about you leave me alone or Ill declare war on you? (Major hit with Dregin, no effect on Altarians.)

 

As you can see I am requesting that the ai engage me with more diplomacy like things. "Hey help me wage war" or "Tell the Yor to stop entering my territory" or "If you don't get your allies out of my mining mine 102a space Ill declare war!"

 

All of these things make the Galaxy ALIVE to me. 

Can we do these 3 way interactions in mods or such and if so who would be willing to teach me? I have lots of ideas on flavor text. Brad's snarky responses are what I am aiming for. I should send you guys in the office there a couple gallons of Tequila and some Margarita mix....and limes....!

 

11,914 views 17 replies
Reply #1 Top

I'm all for an actual game editor that would be nice, but when I ask for one all they understand is a map editor, or they think modding is  the same thing. The problem is if you were allowed to insert random stuff the computer would not know what you are saying. That is why programming languages are so small. You would have to have a limited number of meanings you could assign to blanketed statements. All you could do here would have the same meaning for multiple statements. The problem is all you have here is a machine that can add all kinds of numbers, and compare them in it's simplest form. You could allow a rewrite of the current statements.

edit maybe with a grammar checker, dictionary, and a voice recognition software. You would have to set up responses, or actions for every possible combination of words in a language with a understanding of synonyms. You could use the rules of English, reading, and spelling taught in school. Since the average American has a sixth grade reading level it is probably advisable to use that as the cut off limit on rules. Even with this it would still be breakable.

Reply #2 Top

The flavor text file isn't currently moddable, as such. It does not support extending by adding additional files. This has been requested in the past but i don't think it has been added.

The only way to change it is to overwrite the original file entirely. This could be done, but it can't support any custom races.

When you do make a custom race, it falls back to "generic" flavor text. There is actually quite a bit of code in there to spice it up if you choose one of the standard races.

FlavorText.xml is the file in question, IIRC. It's easy to hack at.

Reply #3 Top

Also note that "flavor text" is exactly that. It carries no function. All flavor text must hang on existing diplomatic options. Adding additional diplomatic functionality must be done on the developer's end.

Reply #4 Top

Thanks for the update. 

 

I am a big fan of Stardock's 'Snarky Diplomacy' responses. Some of the ones from GCII are priceless!

Reply #5 Top

Quoting Larsenex, reply 4
I am a big fan of Stardock's 'Snarky Diplomacy' responses. Some of the ones from GCII are priceless!
End of Larsenex's quote

Same here, I really like the humor that is injected throughout the game.

Reply #6 Top

Update: It would appear that the 1.5 update adds support for modding the FlavorText.xml file. We can finally give our custom races some personality.

* NOT TESTED YET *

I would be interested in hearing from anyone how it works.

 

Reply #7 Top

I like the idea of more diplo choices and flavor text to go with them.  I am not sure about situational text per faction being responded to.  Given the wild number of factions I already have downloaded, that sounds like a lot of work.  It is going to have to accomodate generic or ideology based flavor text to cover various diplomatic responses.  Perhaps each faction could come with a set of possible responses the player could offer to standard diplo offers, like your Lord Kona examples,  That would definitely be a dev change, though.  Still, it would be a lot better than <InsertLeaderNameHere> type responses.

Reply #8 Top

Quoting Larsenex, reply 4

Thanks for the update. 

 

I am a big fan of Stardock's 'Snarky Diplomacy' responses. Some of the ones from GCII are priceless!
End of Larsenex's quote

 

Agreed. I`ve always been a fan of `flavour` texts. Anything that adds a bit of personality to the AI and makes me laugh or think, `How rude!`

Reply #9 Top

Based on my poor recollection, the basic way the file is laid out is this:

Each diplomatic action has a set of flavor texts.

Each flavor text entry can have a combination of situational qualifiers, such as "speaker more powerful", or "friendly with listener".

Each situation-specific action can be further subdivided by identifying the speaker or listener in particular. So you can say, "when speaking with Drengin and the Drengin are more powerful, say this". However, this requires you to be able to specifically identify the faction in question. This is easy with default races, but until now, was not easy with custom races because we could not include custom-race-specific text along with the race itself.

Each diplomatic action has at least one default text. Additional, apparently randomly selected, option can also be added so you don't get the same annoying line every time. Interestingly, most of the flavor text options in the file have only one entry (indicating a lack of time on the developer's part). There are a few additonal options spinkled in to flesh out some of the race relations lore of the game.

It would not take much for a modder to just add a ton of new variant options.

 

Reply #10 Top

Quoting leiavoia, reply 6

Update: It would appear that the 1.5 update adds support for modding the FlavorText.xml file. We can finally give our custom races some personality.

* NOT TESTED YET *

I would be interested in hearing from anyone how it works.

End of leiavoia's quote

So would I.

Unfortunately, I can't figure out how it's supposed to work. As far as I can tell, the FlavorText.xml hasn't changed at all, and there are no examples of how to insert flavor text anywhere. As far as I can tell, the only flavor text that's been added to the game since launch is Campaign and Mega Event flavor text, which isn't useful to people who want to make custom faction flavor text. Further, it seems that faction interaction text is still locked behind the flavor text's InternalName value, so we can't append anything. If anyone can find anything useful, please share.

Reply #11 Top

You would need to create a custom race in XML (as a mod, as opposed to in-game) in order to the use the InternalName tag.

I might try this over the weekend, because i already have a flavortext mod written, but until now unusable.

Reply #12 Top

Quoting admiralWillyWilber, reply 1

Since the average American has a sixth grade reading level it is probably advisable to use that as the cut off limit on rules.
End of admiralWillyWilber's quote

The Average GalCiv3 player reads at a 9th grade level and seven in ten Americans, if asked, will tell you that they are in favor of having the military bomb Agraba.

You could stretch it a little and use three syllable words, I'm sure.

 

MORE IMPORTANTLY, I vaguely remember discussion of, and an example of, flavor text modding from a dev stream sometime around the month before release, but I couldn't give you a date on that.

BTW, Merry Christmas and down with Agraba!

Reply #13 Top

Quoting leiavoia, reply 6

Update: It would appear that the 1.5 update adds support for modding the FlavorText.xml file. We can finally give our custom races some personality.

* NOT TESTED YET *

I would be interested in hearing from anyone how it works.

 
End of leiavoia's quote

 

I hope someone gets a chance to test this before I do, I'm not at a point in my own mod where I want to add flavortext yet but it would be a nice way to add a bit of polish and lore appropriate responses to my factions. :)

Reply #14 Top

I wish some disputes between factions could be handled by UP vote (thus forcing us to pick sides).  the way you vote would be remembered.  and you could bring up an issue to the UP for a vote (contested planet or whatever).  also wish there a way for factions to petition to get back into the UP after leaving it.

Reply #15 Top

Quoting leiavoia, reply 11

You would need to create a custom race in XML (as a mod, as opposed to in-game) in order to the use the InternalName tag.

I might try this over the weekend, because i already have a flavortext mod written, but until now unusable.
End of leiavoia's quote

The internal name of the faction isn't the problem. The problem is, the way the game defines each conversation type is by its internal name in the conversation XML. So, if you want the game to look for a First Contact conversation, it looks in the FlavorText.xml under <InternalName>FIRST_CONTACT_MAIN</InternalName> and sees what it can do. You can't make a mod that appends anything underneath an already-existing internal name. Thus, you can't use the append method to make custom conversations. You have to use a mod that replaces the entire file, and has your changes written in alongside the original text.

As far as I can tell, this hasn't changed. No dev has spoken up about how custom conversations are supposed to work now, so the change is ultimately meaningless. Even if we could, we don't know how.

Reply #16 Top

Vidz, 

 

I do not want to  remove any of the existing flavor text or files, but rather add to them. Instead of having say 20 different first contact dialogues you can pick from I would like 200. This same goes for diplomacy contact dialogues. 

 

Yes I know the Drengin eat lesser species......

 

Tell me about Torian Burgers with Chili! 

 

I want to hear that Altarians have developed a new tech and no they are not gonna share with us....

 

I want the Yor to tell me to stop wasting time resisting and just give up, cause you know they are like they Yor.....

Reply #17 Top

Well, I have that, and mine works. Are you getting any error messages when you try yours?