Started by Ranran(retired), March 14, 2022, 03:51:44 PM
0 Members and 1 Guest are viewing this topic.
Quote from: ACarlotti on March 10, 2019, 06:00:27 PMMy idea is to make the number of classes of accommodation in a vehicle completely independent of the number of wealth groups. Each portion of accommodation in a vehicle would have a suggested (default) wealth class assigned to it, and can be given a descriptive name in the pak file.James: This would be fully backwards compatible - in the event that default wealth classes aren't in listed in the pak file or dat file, the default will be set to be equal to the index of the accommodation (which is consistent with the current dat file format). If the dat file and/or pak file does not give a label for an accommodation section, then it can be named according to it's default wealth category (perhaps in a slightly different form to the wealth description to avoid the existing ambiguity), or can be left unspecified if it is the only (non-empty) section in the vehicle.I know what I intend to do here, and a lot of it involves reworking and fixing stuff I did last year, so I'll put this on my todo list and write it up when I have time.
Quote from: jamespetts on April 15, 2022, 09:29:10 AMHowever, I think that what you describe here does not have that difficulty. This appears to be related specifically to modifying the names of different accommodations in vehicles, if I have understood correctly?
QuoteOr did you intend this to have functionality beyond just names?
Quotewhat name is displayed if no translation text has been set?
Quote from: jamespetts on April 16, 2022, 05:41:35 PMIn relation to the translations, do I understand correctly that one only needs one translation of p_accommodation[n] (for each n) and m_accommodation[n] (for each n) in a pakset, rather than one per vehicle?