• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Coustom UI's

Started by Diggis, November 05, 2007, 10:57:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Diggis

Me again!

I have managed to create, and reference a custom UI into the game.  Yay.  I have a body of text that I have in the UI, but at the moment it is fixed.  I want it to say:

QuoteThis is the $lotname$. Plopping this has unhidden other lots in the set.

You can hide the icons again after bulldozing this lot and restarting the game.

Where $lotname$ is the name of the lot.  What string do I have to put in here to achieve this?  OR isn't there one?  ()what()

Andreas

As far as I know, there is no lot name variable in the game. Of course you can reference to an LTEXT file, but then you would have to create copies of the UI and include them in every MML file. The UI files itself are very small, so it's not a big deal, but of course, it requires some extra work that could be avoided.
Andreas

Diggis

Yeah thats what I was trying to avoid.  Barby thinks SG may have done it, so is looking into it for me, but not holding much hope.  My other thought was to get the UI to have a LUA script that says if lot is this (Need to find an identifier though) the display this ltext file. Any idea if that is possible?