ORIGINAL: Shannon V. OKeets
ORIGINAL: Froonp
Yes, but Vermork for example, is not associated with any hex (in the TERR file). It is only appearing on the map thanks to the NAM file. So, in the case of those kind of cosmetic names, would your 'cookies' system work ?
I haven't looked at that code in a while (over a year ago) but I was under the impression that the TER.CSV should contain the index into the NAM.CSV file to make the linkage. I am pretty sure it is essential for displaying the name of the hex as part of the map header screen (there's a little panel that displays the name of the hex under the cursor).
You're right, but see below.
To answer your question directly, the index into the NAM file should be included in the TER file for the corresponding hex number (coordinates Column, Row) in order for the text description for the hex to appear. If someone is going to the effort to create a write up for a hex, then adding the NAM index for the hex in the TER file should be a minor additional task.
Yes, but the problem is that nearly each time that I had added a label for a blank end of rail, I also have put a "none" entry linked to the hex (TER file) so that the railway ends at the place I want it to end (either to give it the right shape, or to make it end at the correct place in relation with a river or a lake or a coastline). As there is no city nor port usually in those hexes, I'm obliged to put "none" entries there. So it is that "none" entry that is referenced in the TER file, and I can't reference another.
Except if you change the TER fils structure so that multiple entries from the NAM files can be refered to herein.
For example, for Namsos, I have created an entry for the Namsos label itself (NAM file, #3455, hex 30,39) so that it appear on the map, and I have also created an entry for a "none" label (NAM file, #2968, hex 30,39) linked to hex 30,39 (TER file) so that the railway goes into position 9 of the hex (near the coast, where Namsos is supposed to be). So, I can't link Namsos entry (#3455) to the same hex.