• Hello game master! Welcome to our growing community. Please take a moment to Register (top right button, see how: Slides).

    If you use Campaign Logger, you can use the same login details - we've linked the app to this forum for secure and easy single sign-on for you.

    And please drop by the Introductions thread and say hi.

Should the header tags work in a generator

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
I tried
== {b|Unit name} ==

no joy. What is the syntax?
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
Code:
== Unit name ==

With nothing else on the same line. So do something like this:
Code:
\r\n==== Districts ====\r\n{district list}
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
{
"name": "UnitsFull",
"entries": [
"=={b|Unit name:} {UnitName}==\r{b|Unit type:} {UnitDescription} {b|Strength:} {Strength} \n{b|Competency:} {Competency} {b|Morale: } {Morale} \n{b|Unit Passions:} {Passion} \n{UnitCommander}{MissileWeapons} "
]
},
Did not work
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
Did not work

You must also correct the heading syntax. Instead of
Code:
==Headline==
use
Code:
== Headline ==

And is the UnitsFull table guaranteed to begin a new line?
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
I tried earlier both formats. yes it is supposed to be. at least visibly it is.
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
Even when I force it with \r - no luck

"\r== {b|Unit name:} {UnitName} ==\r{b|Unit type:} {UnitDescription} {b|Strength:} {Strength} \n{b|Competency:} {Competency} {b|Morale: } {Morale} \n{b|Unit Passions:} {Passion} \n{UnitCommander}{MissileWeapons} "
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
"\r\n== {b|Unit name:} {UnitName} ==\r\n{b|Unit type:} {UnitDescription} {b|Strength:} {Strength} \n{b|Competency:} {Competency} {b|Morale: } {Morale} \n{b|Unit Passions:} {Passion} \n{UnitCommander}{MissileWeapons} "

no luck
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
"\r\n==== {b|Unit name:} {UnitName} ====\r\n{b|Unit type:} {UnitDescription} {b|Strength:} {Strength} \n{b|Competency:} {Competency} {b|Morale: } {Morale} \n{b|Unit Passions:} {Passion} \n{UnitCommander}{MissileWeapons} "
Tried this as well.. Hmmm. interesting.
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
the only thing that will work is below. If there is anything else here it will not work in logger window either. This is sort of limiting...
==== Unit name: {UnitName} ====
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
sure. but not being able to have anything else on the generator string or log entry is kind of limiting. Could we make this kind of formatting the same than others - (can mix on same line)
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
The example I posted above is a table entry from a working generator. You can have more than just a heading in a table entry, as long as the heading is alone on a separate line in the output.
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
Use this resultPattern with the default generator on the generator testbed and it works fine (replaced the table calls from your latest sample with existing tables):
Code:
  "resultPattern": "\r\n==== {b|Unit name:} {lastname} ====\r\n{b|Unit type:} {lastname} {b|Strength:} {lastname} \n{b|Competency:} {lastname} {b|Morale: } {lastname} \n{b|Unit Passions:} {lastname} \n{lastname}{lastname}",

Unit name: von Sachsen
Unit type: Sumpton Strength: Michaels
Competency: Jarvis Morale: von Hannover
Unit Passions: von Hannover
of Wessexvon Hannover
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
Will try. Mine was not resultpattern:

but just a line output
 
Top