I'm intrigued by your questions Morrokain - would you mind posting your code and what you're trying to do? I'm interested because I have no idea how the token's work! I'm guessing you are making dialogs that address the player by name?
Certainly.
For now, just basic additions of fleet dialogue for faction patrol interactions of various kinds, and reputation description dialogue for the various reputation levels (friendly, welcoming). For the faction interactions, I am calling the variables mentioned in my post, $local.name and $local.rank to get the commander of the fleet the player is interaction with. The line in the rules.csv file, under the 'text' column after the 'script' column would read like this: (variable examples in bold for readability)
Spoiler
"You have been scanned and identified. The Order bears you no ill-will. Keep your distance."
OR
"Do you long for the phase dimension too?" $local.rank $local.name seems to drift for a moment, then recovers.
"Apologies, I... lost myself for a second. You have no idea what power you could wield, would you only submit..."
OR
"Greeting traveler! Dark Stars watch over you on your journey. Tell me, have you any intel on those Tachyon dogs?"
OR
"I have spent decades in the phase dimension, young one. Your proximity is of little concern to one such as I." $local.rank $local.name chuckles.
"Ah, I see you don't believe me. Trust me when I assure you my youthful appearance is a carefully fabricated veneer. Vanity? Maybe. But, one all life shares, yes?" $heOrShe smiles pointedly.
OR
"Lord Archeus shall make this sector His own! Those weak charlatans, foul pretenders all! They infest the Core Worlds with their blight and greed, damning those under their sanctuary in a useless struggle for domination."
"The Order must intervene to save what's left of humanity! Surely you must see this as well?"
You get the distinct impression that, despite the phrasing, the last statement was not really a question.
The other 'variables' you see there are actually tokens. They are defined in a separate file specifically to replace text for different contexts. They aren't used by the game's engine at all for calculation or comparisons (unlike normal variables called above) and are, by Alex's account, a hold-over from a time before you could actually call engine variables in text. That means they will likely be changed or removed later on down the line and should probably be avoided. Examples of tokens below (same line of code):
Spoiler
"You have been scanned and identified. The Order bears you no ill-will. Keep your distance."
OR
"Do you long for the phase dimension too?" $local.rank $local.name seems to drift for a moment, then recovers.
"Apologies, I... lost myself for a second. You have no idea what power you could wield, would you only submit..."
OR
"Greeting traveler! Dark Stars watch over you on your journey. Tell me, have you any intel on those Tachyon dogs?"
OR
"I have spent decades in the phase dimension, young one. Your proximity is of little concern to one such as I." $local.rank $local.name chuckles.
"Ah, I see you don't believe me. Trust me when I assure you my youthful appearance is a carefully fabricated veneer. Vanity? Maybe. But, one all life shares, yes?" $heOrShe smiles pointedly.
OR
"Lord Archeus shall make this sector His own! Those weak charlatans, foul pretenders all! They infest the Core Worlds with their blight and greed, damning those under their sanctuary in a useless struggle for domination."
"The Order must intervene to save what's left of humanity! Surely you must see this as well?"
You get the distinct impression that, despite the phrasing, the last statement was not really a question.
and another variable/token example: (variables in bold, tokens struck through)
Spoiler
"Always good to see a friendly face out here!" The $local.post 's smile falters for a second. "We lost another expedition to the Consortium the other day. Things are getting bad, $playerName ."
OR
"Burn bright, friend! The corps is dedicated to getting the gates operational again. We could use all the help we can get."
OR
"The other factions are so intent on destroying each other. Don't they see the toll their constant wars have had on the sector?"
"We are almost an extinct species now, holding a handful of worlds when we used to rule countless galaxies... and of those who remain, how many have lost their humanity fighting over the scraps?"
$local.rank $local.name briefly turns away from the screen for a moment. Then looks back at you. Expectant.
"Don't let this tired captain keep you, $playerName . What would you like to discuss?"
OR
"We must be the shining light in the darkness. The beacon of hope for those who still cling to the ideal of a peaceful future. The last remaining bastion of human collaboration and goodwill.. perhaps in the whole universe."
$local.rank $local.name shakes $hisOrHer head as if to clear way the thought, then smiles sheepishly.
"No pressure, right?"
OR
The $local.post looks up and &hisOrHer face lights up. "By the Domain, $playerName its good to see you!"
As you can see, tokens don't have a dot notation with a 'memory map reference'(correct terminology?) in front them.
Btw: $local.rank calls the string from the .faction file under "ranks" and $local.name is the interaction entity commander's name, not the entity's name itself. That I think would be $local.fleet but haven't tested that.
$local.post calls the string from the .faction file under "posts" that can also be custom defined.
Overkill probably, but here's a screenshot of the implementation of the examples: Hope this helped