Description problems
Moderators: rbodleyscott, Slitherine Core, Gothic Labs
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Description problems
I'm trying to recreate the battle of Petrovaradin, the last great victory of the Prince Eugene of Savoy, and the scenario seems working well.
Here's a shot of the battlefield:
What's not working properly is the description of the battle, as you can see from the following screenshots taken when I try to launch the battle
If it can be useful this is the content of the Data/UI/scenui_Petrovaradin_1716.TXT. Maybe someone could explain me what's happening ...
[#START]
ANIM BOUNCE SCENUI_Petrovaradin_1716title 0 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716texta 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716texta 40 50 250 1
ANIM BOUNCE SCENUI_Petrovaradin_1716texta 40 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716textb 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716textb 80 670 312 1
ANIM BOUNCE SCENUI_Petrovaradin_1716textb 80 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716textc 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716textc 120 70 374 1
ANIM BOUNCE SCENUI_Petrovaradin_1716textc 120 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716textd 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716textd 160 690 436 1
ANIM BOUNCE SCENUI_Petrovaradin_1716textd 160 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716texte 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716texte 200 90 498 1
ANIM BOUNCE SCENUI_Petrovaradin_1716texte 200 1000 1000 10
[SCENUI_Petrovaradin_1716]
type display
level 3
[SCENUI_Petrovaradin_1716title]
type text
x 150
y 125
width 300
height 30
string IDS_SCENARIO_Petrovaradin_1716
textleft 160
textwidth 280
texttop 130
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716texta]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716textb]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716_b
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716textc]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716_c
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716textd]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716_d
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716texte]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716_e
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
Here's a shot of the battlefield:
What's not working properly is the description of the battle, as you can see from the following screenshots taken when I try to launch the battle
If it can be useful this is the content of the Data/UI/scenui_Petrovaradin_1716.TXT. Maybe someone could explain me what's happening ...
[#START]
ANIM BOUNCE SCENUI_Petrovaradin_1716title 0 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716texta 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716texta 40 50 250 1
ANIM BOUNCE SCENUI_Petrovaradin_1716texta 40 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716textb 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716textb 80 670 312 1
ANIM BOUNCE SCENUI_Petrovaradin_1716textb 80 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716textc 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716textc 120 70 374 1
ANIM BOUNCE SCENUI_Petrovaradin_1716textc 120 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716textd 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716textd 160 690 436 1
ANIM BOUNCE SCENUI_Petrovaradin_1716textd 160 1000 1000 10
ANIM PLACE SCENUI_Petrovaradin_1716texte 0 1024 1024
ANIM MOVE SCENUI_Petrovaradin_1716texte 200 90 498 1
ANIM BOUNCE SCENUI_Petrovaradin_1716texte 200 1000 1000 10
[SCENUI_Petrovaradin_1716]
type display
level 3
[SCENUI_Petrovaradin_1716title]
type text
x 150
y 125
width 300
height 30
string IDS_SCENARIO_Petrovaradin_1716
textleft 160
textwidth 280
texttop 130
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716texta]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716textb]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716_b
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716textc]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716_c
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716textd]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716_d
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
[SCENUI_Petrovaradin_1716texte]
type text
x 1024
y 1024
width 300
height 30
string IDS_SCENARIO_DESC_Petrovaradin_1716_e
textleft 1034
textwidth 280
texttop 1029
textheight 20
font TooltipFont
colour FFFFFFFF
file text_window.dds
Rescale
windowedback 10
Last edited by Lysimachos on Tue Jul 20, 2021 7:46 pm, edited 2 times in total.
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
This is the first screen:
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
And this is the second, showing only the first period and not the other four ...
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
This is the content of the Text9.TXT
IDS_AUTO_MARKER_0,"Petrovaradin",
IDS_AUTO_MARKER_1,"Danube",
IDS_AUTO_MARKER_2,"Ottoman Camp",
IDS_SCENARIO_PETROVARADIN 1716,"Petrovaradin 1716",
IDS_SCENARIO_DESC_PETROVARADIN 1716,"The battle of Petrovaradin took place the 5th of August 1716, during the Austro-Turkish war.",
IDS_SCENARIO_DESC_PETROVARADIN 1716_B,"The Ottomans, led by the Grand Vizier Damad Alì Pasha, attempted to conquer the Austrian fortress on the Danube with an army of 150.000 men.",
IDS_SCENARIO_DESC_PETROVARADIN 1716_C,"Prince Eugene of Savoy rushed for rescue with 60.000 soldiers and immediately gave battle in fornt of the town, taking advantage of some previous entrnchments.",
IDS_SCENARIO_DESC_PETROVARADIN 1716_D,"While the Habsburg center was pushed back by the Janissaries, the cavalry on the left wing, led by Count Johann von Palffy, after driving from the field the Ottoman horses, threatened the Ottoman center from the rear",
IDS_SCENARIO_DESC_PETROVARADIN 1716_E,"After a bloody melee the Ottomans retreated leaving on the field 172 guns, 156 banners and 20.000 men, including the Grand Vizier Damad Alì Pasha, the governor of Anatolia, Turk Ahmed Pasha, and the governor of Adana, Husein Pasha.",
IDS_AUTO_MARKER_0,"Petrovaradin",
IDS_AUTO_MARKER_1,"Danube",
IDS_AUTO_MARKER_2,"Ottoman Camp",
IDS_SCENARIO_PETROVARADIN 1716,"Petrovaradin 1716",
IDS_SCENARIO_DESC_PETROVARADIN 1716,"The battle of Petrovaradin took place the 5th of August 1716, during the Austro-Turkish war.",
IDS_SCENARIO_DESC_PETROVARADIN 1716_B,"The Ottomans, led by the Grand Vizier Damad Alì Pasha, attempted to conquer the Austrian fortress on the Danube with an army of 150.000 men.",
IDS_SCENARIO_DESC_PETROVARADIN 1716_C,"Prince Eugene of Savoy rushed for rescue with 60.000 soldiers and immediately gave battle in fornt of the town, taking advantage of some previous entrnchments.",
IDS_SCENARIO_DESC_PETROVARADIN 1716_D,"While the Habsburg center was pushed back by the Janissaries, the cavalry on the left wing, led by Count Johann von Palffy, after driving from the field the Ottoman horses, threatened the Ottoman center from the rear",
IDS_SCENARIO_DESC_PETROVARADIN 1716_E,"After a bloody melee the Ottomans retreated leaving on the field 172 guns, 156 banners and 20.000 men, including the Grand Vizier Damad Alì Pasha, the governor of Anatolia, Turk Ahmed Pasha, and the governor of Adana, Husein Pasha.",
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
Re: Description problems
I am not sure that it will help, but you have a little different scenario name in scenui_Petrovaradin_1716.TXT and Text9.TXT:
Petrovaradin_1716 and PETROVARADIN 1716 - "_" is absent in the 2nd name.
Nice scenario!
Petrovaradin_1716 and PETROVARADIN 1716 - "_" is absent in the 2nd name.
Nice scenario!
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
What is baffling is that in the first screen appears the description of the Thirty Years War module, though slightly dislocated to the top.
A mistery ...
A mistery ...
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
Re: Description problems
Lysimachos, do not use these files from TYW module. It's better to use Paul's version from Leuze 1691 or his other battles.
I think you have excess files in your DATA/UI/ folder (next to scenui_Petrovaradin_1716.TXT)
I think you have excess files in your DATA/UI/ folder (next to scenui_Petrovaradin_1716.TXT)
Last edited by Cronos09 on Wed Jul 21, 2021 11:19 am, edited 1 time in total.
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
No, that's the only present file ..
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
Re: Description problems
Ok. What do you have in TEXT1.TXT? There should be
IDS_CAMPAIGN_NAME,"PETROVARADIN 1716 A.D.", I see it
IDS_CAMPAIGN_TEXT,"PETROVARADIN 1716 A.D.", instead of this I see the TYW description
IDS_CAMPAIGN_NAME,"PETROVARADIN 1716 A.D.", I see it
IDS_CAMPAIGN_TEXT,"PETROVARADIN 1716 A.D.", instead of this I see the TYW description
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
Finally it seems I was able to render a decent description of the battle, deleting the SCENUI_Petrovaradin_1716.txt
Now the only residual problem is given by the fact that I'm not able to rename the single units of the scenario.
This is the content of my TEXT1.TXT
IDS_CAMPAIGN_NAME,"Petrovaradin 1716 A.D.",
IDS_CAMPAIGN_TEXT,"The Austro-Turkish War was fought in 1716-1718 between the Habsburg Monarchy and the Ottoman Empire, which felt that the 1699 Treaty of Karlowitz wasn't an acceptable long-standing agreement.~At the beginning of the war the Ottomans attempted to conquer the Habsburg fortress of Petrovaradin with a huge host of 150.000, forcing Prince Eugene of Savoy to rush for rescue with a much smaller army.",
IDS_SCENARIO_Petrovaradin_1716,"Petrovaradin 1716",
IDS_UNITNAME29,"von Wurttemberg's Infantry",
IDS_UNITINFO29,"von Wurttemberg's Infantry",
IDS_UNITNAME30,"von Wurttemberg's Infantry",
IDS_UNITINFO30,"von Wurttemberg's Infantry",
IDS_UNITNAME31,"von Wurttemberg's Infantry",
IDS_UNITINFO31,"von Wurttemberg's Infantry",
IDS_UNITNAME32,"von Wurttemberg's Infantry",
IDS_UNITINFO32,"von Wurttemberg's Infantry",
Is there something wrong in it?
Now the only residual problem is given by the fact that I'm not able to rename the single units of the scenario.
This is the content of my TEXT1.TXT
IDS_CAMPAIGN_NAME,"Petrovaradin 1716 A.D.",
IDS_CAMPAIGN_TEXT,"The Austro-Turkish War was fought in 1716-1718 between the Habsburg Monarchy and the Ottoman Empire, which felt that the 1699 Treaty of Karlowitz wasn't an acceptable long-standing agreement.~At the beginning of the war the Ottomans attempted to conquer the Habsburg fortress of Petrovaradin with a huge host of 150.000, forcing Prince Eugene of Savoy to rush for rescue with a much smaller army.",
IDS_SCENARIO_Petrovaradin_1716,"Petrovaradin 1716",
IDS_UNITNAME29,"von Wurttemberg's Infantry",
IDS_UNITINFO29,"von Wurttemberg's Infantry",
IDS_UNITNAME30,"von Wurttemberg's Infantry",
IDS_UNITINFO30,"von Wurttemberg's Infantry",
IDS_UNITNAME31,"von Wurttemberg's Infantry",
IDS_UNITINFO31,"von Wurttemberg's Infantry",
IDS_UNITNAME32,"von Wurttemberg's Infantry",
IDS_UNITINFO32,"von Wurttemberg's Infantry",
Is there something wrong in it?
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
This is the actual first screen:
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
And this is the second one:
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
Not just on the side of the map but it's the best I was able to do ...
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
Re: Description problems
Lysimachos, did you have the string IDS_SCENARIO_Petrovaradin_1716,"Petrovaradin 1716", in your TEXT1.TXT, when there was SCENUI_Petrovaradin_1716.txt in the module? It shouldn't be there and perhaps it caused the problem. EDIT probably not. Send me TEXT1.TXT, TEXT9.TXT and SCENUI_Petrovaradin_1716.txt.
And what does it mean that you cannot rename the units? Are your changes not saved in the text file?
And what does it mean that you cannot rename the units? Are your changes not saved in the text file?
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
Sorry but it seems the system doesn't allow me to attach a .txt file to the message ...
Regarding the problem of renaming the units I tried to do it by inserting the following lines in TEXT1.TXT
IDS_UNITNAME29,"von Wurttemberg's Infantry",
IDS_UNITINFO29,"von Wurttemberg's Infantry",
IDS_UNITNAME30,"von Wurttemberg's Infantry",
IDS_UNITINFO30,"von Wurttemberg's Infantry",
IDS_UNITNAME31,"von Wurttemberg's Infantry",
IDS_UNITINFO31,"von Wurttemberg's Infantry",
IDS_UNITNAME32,"von Wurttemberg's Infantry",
IDS_UNITINFO32,"von Wurttemberg's Infantry",
but then, when I start the battle, the units anyway maintain their original names.
Regarding the problem of renaming the units I tried to do it by inserting the following lines in TEXT1.TXT
IDS_UNITNAME29,"von Wurttemberg's Infantry",
IDS_UNITINFO29,"von Wurttemberg's Infantry",
IDS_UNITNAME30,"von Wurttemberg's Infantry",
IDS_UNITINFO30,"von Wurttemberg's Infantry",
IDS_UNITNAME31,"von Wurttemberg's Infantry",
IDS_UNITINFO31,"von Wurttemberg's Infantry",
IDS_UNITNAME32,"von Wurttemberg's Infantry",
IDS_UNITINFO32,"von Wurttemberg's Infantry",
but then, when I start the battle, the units anyway maintain their original names.
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
That's interesting. In fact I haven't a SQUADS.csv file in my folder.About the unit names - check that ID 29, 30, 31, 32 are present in SQUADS.csv and they are not duplicated in the text file.
Should I copy it from the one present in Slitherine/Pike and Shot Campaigns/ Data?
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
I tried again to obtain what you were able to achieve but with no avail.
Probably I'm making some unnoticed mistake ...
If you are so kind to have a look at the files here is the link where they can be downloaded:
https://www.mediafire.com/folder/ffle05 ... RADIN_1716
Thank's a lot for your precious help!
Probably I'm making some unnoticed mistake ...
If you are so kind to have a look at the files here is the link where they can be downloaded:
https://www.mediafire.com/folder/ffle05 ... RADIN_1716
Thank's a lot for your precious help!
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)
Re: Description problems
Lysimachos, I wrote in my first message that there was a mismatch of your scenario names in the files:Lysimachos wrote: ↑Wed Jul 21, 2021 9:53 pm I tried again to obtain what you were able to achieve but with no avail.
Probably I'm making some unnoticed mistake ...
You needed to fix it. Type 'underscore' _ in Text9.TXT (IDS_SCENARIO_PETROVARADIN_1716, IDS_SCENARIO_DESC_PETROVARADIN_1716, IDS_SCENARIO_DESC_PETROVARADIN_1716_B etc) and it will work.
scenui_Petrovaradin_1716.TXT should be the same as you wrote it above.
Copy SQUADS.csv in your scenario folder. After this you can rename the units I think. I this case you can change the units parameters in your SQUAD file.
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Description problems
Thank's for the hints.
Now the problem is solved and I'm trying to rename units ...

Now the problem is solved and I'm trying to rename units ...
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)