Author Topic: Global Name Spoofing  (Read 753 times)

0 Members and 1 Guest are viewing this topic.

Offline Trivial Psychic

  • 212
  • Snoop Junkie
So a few times I've used combinations of 'Hide Ship Name' and 'Callsign' to allow one ship to appear with a different display name.  It's often useful in scenarios when, "Oh, here comes ship X.  It's friendly.  WAIT a MINUTE, that's not ship X, that's ship Y!  Its an enemy!  FIRE!"  Unfortunately, things like the escort list and the status of other ships related to it, (like if they're docked to it, or are given orders that pertain to it) will still display the REAL name, regardless of my use of flags.  Is there any way (short of LUA) to solve this?  If not, is such a change trivial enough for coders to implement a simple work-around, such as "when 'hide ship name' and 'callsign' are both enabled, use the 'callsign' name for all data pertaining to that ship that is displayed to the player."?

Or, to put it in FRED code:

when
-and
--is flag enabled
---hide-ship-name
--is flag enabled
---callsign
-escort name shows
--callsign
-docked-to name shows
--callsign
-orders for other ships regarding name show
--callsign
-any other places where the player might see this that I can't think about right now name show
--callsign

How does that sound?
The Trivial Psychic Strikes Again!

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Just my two cents here, perhaps all of this could be solved by adding a third and optional argument to the add-remove-escort SEXP.

Said extra argument would manage dynamically the name by which the ship should appear in the escort list itself.
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito
My interviews: [ 1 ] - [ 2 ] - [ 3 ]

 

Offline Novachen

  • 29
  • The one and only capella supernova
    • Twitter
There exists also a 'Display Name' ($Display Name in mission files) that was introduced for my localization effort and that was a desired feature to offer the possibility to translate ship names or the name of Waypoints properly.

But actually it should be possible to get this string to create a LUA-SEXP that enables the changing of the used Display Name during a mission.
« Last Edit: December 12, 2022, 05:04:09 am by Novachen »
Female FreeSpace 2 pilot since 1999.
Former Global moderator in the German FreeSpace Galaxy Forum.
Developer of NTP - A Multi-Language Translation Library Interface, which allows to play FreeSpace in YOUR Language.

Is one of my releases broken or not working? Please send a PM here, on Discord at @novachen or on Twitter @NovachenFS2, a public tweet or write a reply in my own release threads here on HLP, because these are the only threads i am still participating in.

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Just my two cents here, perhaps all of this could be solved by adding a third and optional argument to the add-remove-escort SEXP.

Said extra argument would manage dynamically the name by which the ship should appear in the escort list itself.

That might not solve the issue where other ships are interacting with it.  For example, if you order a ship to attack something that has the 'hide name+callsign' combination, its orders will still say that its attacking the true name of the ship, and not the one listed in callsign.
The Trivial Psychic Strikes Again!

 

Offline EatThePath

  • 28
  • Laser Lich
    • Twitter
that sounds like an engine oversight that should be fixed rather than worked around
Name your damn turrets and sounds! Numbers alone aren't helpful!
"if disco is dead then I am the laser lich"
"...[Warmachine] keeps changing as fast as EatThePath can force the engine to do his dark bidding..."

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Well, to be fair, I don't think that hide-name+callsign is something that was planned as a feature, it merely exploits 2 features together to achieve a result.  That said, I could see how the fact that a ship's hidden name still being seen in the referenced sources COULD be considered an oversight in itself.
The Trivial Psychic Strikes Again!

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
The ship's "display name" is supposed to be used whereever it is visible to the player.  That includes the escort list and the docking display.  So if the display name isn't being displayed, then that qualifies as a bug that should be fixed.