Log in

View Full Version : export_descr_advice.txt and on-demand script



jazz_chow
12-10-2009, 08:43
Hi, All,

I have a question regarding to make on-demand script with the export_descr_advice.txt file.

For EB1.2, export_descr_advice.txt has been modified and many advice threads that were in original vanillia version were removed. So if I want to add an on-demand script, e.g. increase population of Rome by clicking on the help button on the top-right corner of faction information screen,

1. do I need to add the advice threads in vanilla export_descr_advice.txt back to the EB export_descr_advice.txt?

2. do I also need to add the vanilla lines related to the advice threads I use in export_descr_advice.txt back to the export_advice.txt file in data/text/ folder?

Jarardo has done something similar to what I am asking at the following link:
https://forums.totalwar.org/vb/showthread.php?t=80763

In his modified export_descr_advice.txt file, the Help_UI_Panel_Diplomacy_Early_Advice_Thread he added was not in EB's v1.2 export_descr_advice.txt file. I am not sure if his way of creating on-demand script could answer to my questions posted above.

thanks.

:help:

Cute Wolf
12-10-2009, 09:34
actually, you can just add your needed line in generic script.txt, and then execute it using F1

jazz_chow
12-10-2009, 11:16
thanks Cute_Wolf. So if I add a line like "add_money seleucid 1000" to the generic script when playing as Romani, when I hit the F1 key, I get extra 1000 denari. When I press F1 again, I get another 1000 denari. Am I getting your points right?

Cute Wolf
12-10-2009, 11:27
yeah, if that was just an example, it works just like that.

but I think if you just want to have some money, you could just directly wrote it on the console (press `) the script is best used to doing some console command that unable to be executed in standard console, such as "control (faction internal name)", or else...

Hax
12-10-2009, 11:49
You press F1 and then the "show_me_how" button.

Paltmull
12-10-2009, 14:38
You press F1 and then the "show_me_how" button.

Isn't it "F1, questionmark button, and then the 'show_me_how' button"?

("questionmark button" being the button in the top left corner of the window that appears when you press F1)

Hax
12-10-2009, 20:18
Yes, Paltmull is right :bow:

jazz_chow
12-11-2009, 04:12
Isn't it "F1, questionmark button, and then the 'show_me_how' button"?

("questionmark button" being the button in the top left corner of the window that appears when you press F1)

Yap.