Log in

View Full Version : Problem with a Provincial campaign



Patrizius
08-05-2008, 16:54
i have setted up a provincial campaign as here:

descr_strat:

campaign Italica
options bi
playable
romans_julii
gauls
greek_cities
carthage
macedon
romans_brutii
romans_scipii
end
unlockable
end
nonplayable
britons
slave
end

start_date -530 summer
end_date -230 summer

marian_reforms_disabled
rebelling_characters_active
night_battles_enabled
brigand_spawn_value 4
pirate_spawn_value 4

in a directory called "Italica_Campaign"
but for strange reason it says it can't find the region names.Ot's strange because it seems like it can't read the file in the text directory cause if i put those lines in the imperial_campiagn one(the file in in text directory) it works :inquisitive:i have tried to move the regions to see if it was a specific one but it says always the same

Thor the Bassist
08-05-2008, 17:50
You have to put the region and settlement names in "italica_campaign_regions_and_settlement_names.txt" in your text folder.

Patrizius
08-05-2008, 17:59
i have done it :P .You misanderstand XD

Darkvicer98
08-05-2008, 20:22
Hmm. Could you be a bit more detailed. What files have you modded or added?

Patrizius
08-05-2008, 20:31
i have done nothing,this is the bad thing.It seems like it can't read the file.He has always worked well.

A note:If i delete the file italica_campaign_regions_and_settlement_names.txt in the text folder and i add the strings in it to the imperial camapign one it works well(seems it will search for that one in the case) so i'm pretty sure it's a problem with that file (italica_campaign_regions_and_settlement_names.txt).


EDITED:I remember now i have touched the descr_strat.txt to insert new units to the armies.But if i do as i say above it works so it can't be a problem there

Thor the Bassist
08-05-2008, 21:03
Change your txt file name to italica_regions_and_settlement_names.txt or change the name of your campaign within the descr_strat.txt - its currently just italica. I assume this is a provincial campaign and you haven't changed any base files.


i have done it :P .You misanderstand XD

Not really your question is badly laid out and confusing to read - you need to put code tags around the extract to keep the text formatting for example. You say you've done nothing but you've created a whole new campaign. This is totally illogical so I assumed you might not have put the regions file in the text directory.

Makanyane
08-06-2008, 07:00
Note you quite often get formatting / save type problems if you write that /text file from scratch (which results in game not reading it).

File must start with ¬ on the top line like original one does.

Easiest way to make sure you get a working version I found was to copy and paste the imperial_campaign_... one at folder level, re-name 'copy_of_imperial_campaign_.... to suit your campaign name and then change the text within that to suit your new regions.

Patrizius
08-06-2008, 09:55
sorry if someone felt offended by me answer.It was not my intention ;).
Anyway i think it's the problem mankaniane says as i m sure it can't read that file ;)

Thor the Bassist
08-06-2008, 10:56
Sorry I over-reacted a bit.

Can you post up the files in code brackets so we can have a look at them.

Patrizius
08-06-2008, 18:02
i don't know how to put the spoilers XD.Someone explain please

Patrizius
08-06-2008, 18:48
ok i relaised the problem is the text formattation.I tried writing a parser to see what cames out and it was clear that they(imperial and mine) use VERY different formattations.I will write a program tomorrow to solve this problem one time for all ;).i'll Upload it as i finish and it will convert from ONLY TEXT to the rome format

Thor the Bassist
08-06-2008, 21:19
To post in code tags put [ C O D E ] <your code> [ / C O D E ] without the spaces

=
<your code>

This keeps formatting such as tabs and spaces.

Patrizius
08-07-2008, 01:47
i solved XD.I have had to open the file with a hexadecimal editor to discover what was wrong.The first line MUST be totally equal to the one of the imperial campaign one to prevent those bugs(or it can cause bugs at random).You should make sure (with an hexadecimal editor) that the first 6 chracater are the same(as the first one seems to be used to indicate the codification(Rome uses UNICODE anyway ;) )).At the end you should not put more than one new line on the bottom of the file as it seems to cause problems ;).

Hope this will help someone to get over the problem