Today I took a look at adding events to a save game. Its impossible to do it directly since EU2 expects a file name after event = ".
In an attempt to get around this, I thought that maybe I could put a file on the web and access it using the file name:
//www-personal.umich.edu/~jacobsp/test.txt
in a line that looks like:
event = "//www-personal.umich.edu/~jacobsp/test.txt"
But alas, EU2 is unable to access the file test.txt at that location. If this was possible, it would effectively allow you to put events into a web location, and people could play your game by accessing the events over the net. I was encouraged by the fact that EU2 paused for a long time, probably waiting for a timeout before announcing that the file could not be found. It may be a question of having too slow a web server.
Does anyone know enough about how EU2 loads the event files to make this system work? Or is this so absurd that we should wait for Johan and co. to implement save game events properly?
In an attempt to get around this, I thought that maybe I could put a file on the web and access it using the file name:
//www-personal.umich.edu/~jacobsp/test.txt
in a line that looks like:
event = "//www-personal.umich.edu/~jacobsp/test.txt"
But alas, EU2 is unable to access the file test.txt at that location. If this was possible, it would effectively allow you to put events into a web location, and people could play your game by accessing the events over the net. I was encouraged by the fact that EU2 paused for a long time, probably waiting for a timeout before announcing that the file could not be found. It may be a question of having too slow a web server.
Does anyone know enough about how EU2 loads the event files to make this system work? Or is this so absurd that we should wait for Johan and co. to implement save game events properly?