Has someone any idea on the script checking the placement of the province? I would like to make for some of units a condition enabled recruiting them on the border only.
Last edited by attyla; October 06, 2010 at 01:21 PM.
You can do it but it would require extremely heavy scripting. Basically you'd need to check every settlement every time a settlement changed hands (or at least every turn end) and if it was adjacent to a foreign owned settlement then activate a counter which you use in EDB for border region recruitment. Assuming that you are using the full 200 regions (199 as settlements) and each border 5 others you are looking at a lot of conditionals (at least 500 or so) to make it work.
Under the patronage of Roman_Man#3, Patron of Ishan Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein
Attyla small steps at a time bro.
Check the TWC university and look for GED scripting classes there it will help in learning the basics on how to make scripts.
Identical Threads merged
i'll checked it. Thaks for your help
May i ask you onother question?
I forget where can i change an account of move points on the battlefieldstrat map. I can remember, that it is descr_battle_map_movement_modifiers.txt, but if i remember it well - it is not enough.
__________________________________________________________________
I forget where can i change an account of motions points of units on the strategic map. I can remember, that it is descr_battle_map_movement_modifiers.txt, but if i remember it well - it is not enough.
So how to change motions points of units on the stategic map?
Last edited by Ishan; October 07, 2010 at 12:34 PM.
Reason: double post & corrected
"If ye love wealth greater than liberty,
the tranquility of servitude greater than
the animating contest for freedom, go
home from us in peace. We seek not
your counsel, nor your arms. Crouch
down and lick the hand that feeds you,
and may posterity forget that ye were
our countrymen."
And wow to open this*.xml file? Is it normal text file or something spetial?
Another problem...
I have a problem with correct descr_character file. When i'm copying it into my folder game, i always have a black screen when i want to start the campaign.
What could be wrong?
Ishan
I'm sorry for my mistake. I've wrong described what i want to know in this thread.
Last edited by attyla; October 07, 2010 at 02:26 PM.
And wow to open this*.xml file? Is it normal text file or something spetial?
Another problem...
I have a problem with correct descr_character file. When i'm copying it into my folder game, i always have a black screen when i want to start the campaign.
What could be wrong?
As Squid already said that u can use any text editing program and i presume u use notepad so that will do well.
And about the descr_character.txt file post your log so that we can trace out a few errors that might be causing it.
it's my mistake. I've uploaded the wrong file first and i can't remove it. So i've uploaded the properly file names log1.7z
There you are:
p.s
i have the same problem with descr_campaign_db.xml. It looks like if this barekingdoms wouldn't accepted this 2-3 files (i've tryed the same with descr_campaign_ai_db.xml and with all of them)
Last edited by Ishan; October 08, 2010 at 01:40 AM.
Reason: Removed bad attachment
it's my mistake. I've uploaded the wrong file first and i can't remove it. So i've uploaded the properly file names log1.7z
There you are:
p.s
i have the same problem with descr_campaign_db.xml. It looks like if this barekingdoms wouldn't accepted this 2-3 files (i've tryed the same with descr_campaign_ai_db.xml and with all of them)
Firstly i removed your attachment that was wrong as you said.
For removing attachments u can always press "Edit Post" and after that "Go Advanced".
After that under the post their will be a button for manage attachments click it and then a new window will pop up and then scroll down and click remove attachment which u don't want.
Now on to your problem in game. Barekingdoms has nothing wrong in it trust me, i use it and have been using it like for 2 years or so and i haven't seen any error that might give problems later on in modding.
I check ed your log and it has dozen of errors:-
Errors in descr_strat.txt file pretty much as it says so nothing to tell how to fix it.
Spoiler Alert, click show to read:
07:58:26.843 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1659, column 1
The castle core building level should be EQUAL the settlement level!
07:58:26.843 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1674, column 1
The castle core building level should be EQUAL the settlement level!
07:58:26.859 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1674, column 1
The castle core building level should be EQUAL the settlement level!
07:58:26.859 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1783, column 1
The castle core building level should be EQUAL the settlement level!
07:58:26.859 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 1783, column 1
The castle core building level should be EQUAL the settlement level!
07:58:27.031 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 2775, column 12
You have chosen an invalid tile(311, 245) for the settlement of Kraków.
07:58:27.140 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 3965, column 12
You have chosen an invalid tile(306, 269) for the settlement of Ciechanów.
07:58:27.156 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 4660, column 12
You have chosen an invalid tile(206, 204) for the settlement of Lyon.
The blue ones doesn't give u a crash but it's vital that u fix it as well.
Now in EDA:-
Spoiler Alert, click show to read:
07:57:40.156 [script.err] [error] Script Error in data/export_descr_ancillaries.txt, at line 3176, column 43
Building level name catapult_range not found as a level in building database
07:57:40.156 [script.err] [error] Script Error in data/export_descr_ancillaries.txt, at line 3426, column 43
Building level name catapult_range not found as a level in building database
07:57:40.156 [script.err] [error] Script Error in data/export_descr_ancillaries.txt, at line 3444, column 45
Building level name siege_works not found as a level in building database
07:57:40.156 [script.err] [error] Script Error in data/export_descr_ancillaries.txt, at line 4908, column 45
Building level name c_gunsmith not found as a level in building database
EDCT:-
Spoiler Alert, click show to read:
07:57:39.968 [script.err] [error] Script Error in data/export_descr_character_traits.txt, at line 11633, column 42
Building level name siege_works not found as a level in building database
EDB:-
Spoiler Alert, click show to read:
07:57:35.218 [script.err] [error] Script Error in mods/Bare_Kingdoms/data/export_descr_buildings.txt, at line 4083, column 127
unit(Aztec Warriors) does not match up to the ownership for faction(byzantium)
^Check this unit in EDU and either add Byzantium in it or remove it from EDB.
Just open the file in whatever text editing program you're using for modding.
Under the patronage of Roman_Man#3, Patron of Ishan Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein