Thanks for passing meand sry for spamming the thread
Thanks for passing meand sry for spamming the thread
Proud patron of Wlesmana
Assyria Total War
Check update thread for new HQ models
My Workshop™
I am not realy sure if i am doing this the right way so pleas shower me with tips on how it should be.Where do i save this text file? So that i am able to test it ingame.
Code:; ;Campaign script ; money script monitor_event FactionTurnEnd FactionType england and FactionIsLocal console_command add_money england 30000 end_monitor monitor_event FactionTurnEnd FactionType england and FactionIsLocal Treasury< 60000 console_command add_money england -20000 end_monitor monitor_event ResourceIncome SettlementName London and BuildingType = barracks LosingMoney console_command add_money england - 2000 end_monitor monitor_event FactionTurnEnd FactionType england and FactionIsLocal Treasury< -500 console_command add_money england 20000 end_monitor ;keep script unfinished until last monitor termination wait_monitors end_script
Last edited by Hesus de bodemloze; June 20, 2009 at 10:08 AM.
Horum omnium fortissimi sunt Belgae :
Hesus 's Photo Gallery
The Writers Study|Ex-Global Moderator|Moderation Mentor| Ex - Librarian of the Scriptorium|PoTW|MAARC|ToTW
SPQR Forum Moderator
Thx for pointing this out, I'll change it.Originally Posted by Augustus Lucifer
So it must be like this:
Edit:Code:monitor_event BuildingCompleted SettlementName Vienna and FactionType hre and SettlementBuildingFinished = market console_command add_money hre, 2000 end_monitor
I just read the thread about "Course materials".
I wanted to get Notepad++ then and on the Website, I can download 2 Versions:
Binary files and Source files.
Do i need both?
I use Windows Vista.
Horum omnium fortissimi sunt Belgae :
Hesus 's Photo Gallery
The Writers Study|Ex-Global Moderator|Moderation Mentor| Ex - Librarian of the Scriptorium|PoTW|MAARC|ToTW
SPQR Forum Moderator
You want the latest binary files, which is an executable installer. Source files are because it is an open source project they give you the non-compiled files for developers to expand upon. And yes the modified code is correct.
1) The operators <, <=, >, >=, and == need to be separated by a space on either side from the condition and the integer. So Treasury< 60000 should be Treasury < 60000.
2) To my knowledge ResourceIncome is not an event, as it isn't listed in any of the DocuDemons.
3) There needs to be another and in front of every line besides the first that has an additional condition. The third line in each monitor is missing the leading and.
Last edited by Augustus Lucifer; June 20, 2009 at 10:12 AM.
House of Ward ~ Patron of Eothese, Mythic_Commodore, Wundai, & Saint Nicholas
Oke i tried some thing else.
Spoiler Alert, click show to read:
Last edited by Hesus de bodemloze; June 21, 2009 at 11:49 AM.
Horum omnium fortissimi sunt Belgae :
Hesus 's Photo Gallery
The Writers Study|Ex-Global Moderator|Moderation Mentor| Ex - Librarian of the Scriptorium|PoTW|MAARC|ToTW
SPQR Forum Moderator
Alright , looks well , except for 3 notes :
The script doesn't have a 'script' indicator at the top of the file .
Dunno if 'LosingMoney' is a condition .
And the money script stuff doesn't have a ";" in front of it . You have :
While it should beCode:;Campaign script ; money script
Code:;Campaign script ;money script
Sorry missed this one. It looks good except for the third one. The FactionNewCapital monitor only exports the faction, so it won't work with the TargetSettlementIsLocal condition. It is, to put it lightly, a useless event. It could be a wonderful event that lets you base things off what a faction's capital is, but no, it is very closed in terms of what you can use it for.
House of Ward ~ Patron of Eothese, Mythic_Commodore, Wundai, & Saint Nicholas
Spoiler Alert, click show to read:
Horum omnium fortissimi sunt Belgae :
Hesus 's Photo Gallery
The Writers Study|Ex-Global Moderator|Moderation Mentor| Ex - Librarian of the Scriptorium|PoTW|MAARC|ToTW
SPQR Forum Moderator
Attach the entire script as a text file please.
http://www.speedyshare.com/920653636.html you can download ist...
There is no end_script at the bottom of the file. Also put wait_monitors right above end_script.
Code:; ; Campaign script ; script monitor_event FactionTurnEnd FactionType england and FactionIsLocal and Treasury < 500 console_command add_money england, 3500 end_monitor monitor_event FactionTurnEnd FactionType england and FactionIsLocal and Treasury > 8000 console_command add_money england, -3000 end_monitor monitor_event FactionTurnEnd FactionType france and FactionIsLocal and Treasury < 1000 console_command add_money england, 2000 end_monitor monitor_event FactionTurnEnd FactionType france and FactionIsLocal and Treasury > 10000 console_command add_money england, -3000 end_monitor wait_monitors end_script
Here's my script.
Spoiler Alert, click show to read:
Last edited by Astaroth; June 20, 2009 at 04:15 PM.
I tested them and they all work I believe, unless one's not firing and I didn't notice somehow,
I was going to mess around some more with better conditions and events but i'm quite busy right now. Oh well I guess, twas' still incredibly interesting.Code:; ; Campaign script ; script monitor_event FactionTurnEnd FactionType england and FactionIsLocal and Treasury < 9000 console_command add_money england, 10000 end_monitor monitor_event FactionTurnEnd FactionType england and FactionIsLocal and FactionIncome <= 5000 console_command add_money england, 2000 end_monitor ;Tax on new merchants monitor_event AgentCreated FactionType england and AgentType = merchant console_command add_money england, 1000 end_monitor ;Church donations monitor_event FactionTurnEnd FactionType england and FactionIsLocal and Treasury > 10000 console_command add_money england, -1000 console_command add_money papel_states, 1000 end_monitor wait_monitors end_script![]()
I have made my test , but it didn´t work what is wrong with it?
I try to play with each one of them and non of them received any bonus.Code:; ; Campaign script ; script monitor_event FactionTurnEnd FactionType east_anglia and FactionIsLocal console_command add_money east_anglia, 15000 end_monitor monitor_event FactionTurnEnd FactionType northumbria and FactionIsLocal console_command add_money northumbria, 15000 end_monitor monitor_event FactionTurnEnd FactionType wessex and FactionIsLocal console_command add_money wessex, 20000 end_monitor monitor_event FactionTurnEnd FactionType gwynedd and FactionIsLocal console_command add_money gwynedd, 15000 end_monitor monitor_event FactionTurnEnd FactionType fortriu and FactionIsLocal console_command add_money fortriu, 15000 end_monitor monitor_event FactionTurnEnd FactionType mumhan and FactionIsLocal console_command add_money mumhan, 15000 end_monitor end_script