• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(17856)

General
Jun 26, 2003
2.473
0
Visit site
I don't know how to fix this...
i scripted a few events surrounding Cartier's expeditions...made some new leaders representing each of his voyages. Made some events to link 'em. They work perfectly BUUUUT...

when the dislpay comes up for the event history, all it shows is: EVENTHIST800051

gives me the choices fine but there's no description. This happens for all three of my events. Here is an example of my first one...

In my major_fra.txt event file i have this description line:

desc = "EVENTHIST800053"

800053 is the id # for my event and the action names come up perfect....

in my text.csv excel file i have in the 10522 row:

EVENTHIST800051;Cartier, with his expedition of two ships...How shall Cartier proceed?;;;;;;;;;;10522

Why won't it put my damn history in?! I am missing something obviously just don't know what.
 
Well it looks like your EVENTHIST# in the event is trying to pull a different HISHIST# in the text file. You know of course, that you can also you just write out the event text in the event desc.

example: desc = "Cartier, with his expedition of two ships...How shall Cartier proceed?"
 
yeah i tried to do that but the description was too long so the game would never load up...this of course could've been the problem with placing it in text.csv aswell HOWEVER when i ran a tiny amount of text in a little test event history like so...

in my text.csv file in the same excel row 10522:

EVENTHIST_TEST800051;test bla bla bla;;;;;;;;;;10522

and in my event script....

in my major_fra.txt file:

name = "A Brave New World"
desc = "EVENTHIST_TEST800051"

basically it seems like there's nothing that's linking my desc command to the text.csv file ...whatever i place within the quotation marks comes up literally as the event history description itself! i.e while i'm playing the game, testing my events, the name of the display comes up perfect "A Brave New World" but the actual historical description part comes up and says "EVENTHIST_TEST800051". I realize that in part, whatever you place between quotation marks is supposed to come out literally on the screen but looking back through all of strategy first's built in events they've all got something like:

desc = "EVENTHISTXXXX" and a corresponding entry in text.csv

so i'm still stuck.
 
What are you using to add the line to text.csv?

Just use a text editor - using an excel application can muck it up. Also, make sure you're adding the line before the two EOF lines at the bottom.
 
man i thought that was gonna do it for sure...i had the EVENTHIST lines in my text.csv file after the EOF lines.

So i did what you suggested and i get the same result. ::(

As far as the text.csv file is concerned, the excel format is the format that paradox ships it in is it not? Are you saying i should convert it into a text file? It doesn't sound right to me, just based on the fact that after each entry in that file, there's:

;;;;;;;;;;xxxx where xxxx corresponds to the cell row #...

perhaps that's coincidence?

what is it in the event line beginning: desc = "...." that tells the game to look in the text.csv file anyways?

Other than that, i have a few spaces in between the last paradox entry and my entries. My entries are now followed by the 2 EOF entries. It's as if there's no connection between the event script command "desc = etc" and the corresponding entry in the text.csv file.
 
".csv" stands for "comma seperated values". Well something like that anyway. It's a version of an ASCII format, and is by no means a MS format. Excel obviously reads in comma seperated values, but it is an ASCII format.

I think you can use excel as long as you save as a text file, but I'm pretty sure it's still very dicey. Use a text editor.
 
woah...

ok, so i opened in a text editor and i can see your point. One thing is a little confusing though...looking through all the events, i see that a lot of them have quotation marks before the title and description. e.g.

"EVENTHIST3821;""The Marathas under...

i didn't put those quotation marks in... it seems most of them don't start with quotation marks, but some of them do! Furthermore, some events are repeated. Such as the one above.

I started deleting the quotation marks at the very beginning of those text lines then i realized that some of them are repeated many times so i'm thinking i should reload the original up cause i probably just screwed alot of things up.

What are the quotation marks for?