Log in

View Full Version : Problems with export_buildings(!)



Andreas
12-16-2005, 19:37
Yes, that is true... rpoblems with the text tags for buildings... I have been editing buildings for the wot mod for a week or something, and ina week moment I decide to replace the description for one of them. The code look like this:

{pedler} Peddler

{pedler_desc} DO NOT TRANSLATE! WARNING! This baseline description should never appear on screen! PEDLER

{pedler_desc_short} DO NOT TRANSLATE! WARNING! This baseline description should never appear on screen! PEDLER

{pedler_seafolk} Peddler

{pedler_seafolk_desc}
A peddler is a travelling trader, who only has a few wagons. Unlike the more common merchant, the peddler serves as a supplier of most house hold merchandise rather then specific goods, and therefore he is welcomed in smaller settlements where there might not be possible for everyday stores. On the other hand, the peddler's trade does not involve the more expensive materials, and he is not interested in buying from the inhabitants of the settlement, which means the he won't pay any taxes to the government. n\n\As this settlement expands, it will draw more profitable merchants.

{pedler_seafolk_desc_short}
A peddler is a travelling trader providing smaller towns with their household products. As this settlement expands, it will draw more profitable merchants.

¬--------------

{covered_market} Covered Market

{covered_market_desc} DO NOT TRANSLATE! WARNING! This baseline description should never appear on screen! MILITIA BARRACKS

{covered_market_desc_short} DO NOT TRANSLATE! WARNING! This baseline description should never appear on screen! MILITIA BARRACKS

{covered_market_vandals} Covered Market

{covered_market_vandals_desc}
A meeting hall gives older warriors somewhere to pass on their skills to the next generation of fighters. These warriors have chosen to defend their homes, loved ones and the tribe, but they may not be as 'professional' as paid soldiers. Their hall has some creature comforts and a plentiful supply of ale, but these men are here to learn the skills of war and defend their people, not just to enjoy themselves!\n\nThe meeting hall can be improved as the settlement grows.

{covered_market_vandals_desc_short}
A meeting hall gives older warriors a space to pass on their skills to the next generation of fighters. It can be improved when the settlement grows.

I can see the descriptions I just copied from the barrack, no problems there. What i cannot see is the new description I wrote my self, and I cannot find the problem! Any tips? Feels weird to have problems with this file:san_embarassed:

Red Harvest
12-16-2005, 20:04
Your spacing in the description line appears to be different. look at:
themselves!\n\nThe

It looks like you might need a space before \n
Also, are you sure an exclamation point is valid? It might not like that or the single quotation marks. I would start by keeping the text punctuation as simple as possible. You've changed too many things that might effect syntax to ID the problem easily.

Andreas
12-16-2005, 20:15
Yes maybe:) I will try that... Should have relized it I guess, but i was kinda tired of the programming related stuff when I wrote it (which was why I did it in the first place....)

Andreas
12-17-2005, 10:17
Nope, that didn't do the trick... or rather, you misinterprented my post (maybe I was vauge:)), and mixed up which was mine and which was vanilla. I took away the space befor my \n\n, but that didn't do it. It is very strange this, IMO.

Epistolary Richard
12-17-2005, 11:11
It could be that it's not recognising 'seafolk' as a valid culture or faction in tags such as {pedler_seafolk_desc_short}. Use the name of the faction that 'seafolk' are replacing (eg, britons).

Andreas
12-17-2005, 12:47
I have tried that too, and it recognize the culture at the later lines...

Epistolary Richard
12-17-2005, 15:23
You mean for the covered market? It would do, because vandals are a recognised faction in BI.

Andreas
12-17-2005, 16:19
No, the strange thing is that the name works(I have tried changing the no culture name to see if it is that name that is shown, and it isn't). This was my first idea from the start, that it didn't know the culture tag, but it does... It is just the description it wont show. And I have tried with vandals too, that was the first set up I had....