The Great Events.....

Discuss maps, trains and other modding topics
Post Reply
snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

The Great Events.....

Post by snoopy55 » Fri Aug 15, 2008 3:52 pm

In testing a map a possible problem with the dratted Event XML came up. It was using the Original RRT_Events and seemed to crash because of it(still in test phase). I inserted a RRT_Events XML which only contained the three Global events (thanks be to Karsten).

Questions arise from this....the Original maps use map specific Event files, which contain only what Goods the map uses. I don't seem to recall anyone having problems with those maps. Is this what is needed in custom maps, Event XMLs with only the Goods in the map listed?

Next question... Would anyone find it useful to have Events Building Blocks for the Goods made up to be inserted if you put a certain Good into your map? A set for the Original Goods, and a set for each of the Mod Goods. It also might be interesting to see what kind of headlines and newspaper reports people can come up with for them, and add them into the BBs post so it can be edited to reflect them if the mapper wants.

Thoughts?
I'm correct 97% of the time..... who cares about the other 4%....

User avatar
karsten
Posts: 643
Joined: Sun Dec 17, 2006 8:49 pm

Re: The Great Events.....

Post by karsten » Fri Aug 15, 2008 5:16 pm

Answer to Q1: yes, that is what I call a compatible event file. It won't crash if you make sure that the goods in the event file and the goods in the map match and if you don't touch the other event XML.

This statement is true for stand-alone maps, and it is one of the main reasons they tend to be rock-stable (If some other component is not OK, it will tend to crash SMR on load, so the map-maker notices immediately that something needs to be fixed. There are exceptions to this, :roll: of course...).

For global-dependent maps, it gets much more complicated, involving time-stamps and stuff. You don't want to know ...

Of course, once you start manipulating the event XML, there is any number of ways you can crash SMR ... :lol:

Mapmakers who are interested in additional details can read them here.

User avatar
Lowell
Posts: 653
Joined: Sat Mar 24, 2007 2:14 am
Location: Georgia
Contact:

Re: The Great Events.....

Post by Lowell » Sun Aug 17, 2008 8:04 pm

Would anyone find it useful to have Events Building Blocks for the Goods made up to be inserted if you put a certain Good into your map?
Better be careful, Events can crash out a game map quicker than lightning. Some items must be made on the fly to a map...like events. With my new events file I make new game events for the game as new goods and services are presented in the map...on a per map basis.
Events would be on the advanced stage of map building I would say, even though they are simple to make-up.
The best bet for a new map maker to make new events is to tear appart a map that has new ones made. Experiment and read through the maps files carefully, then they will either "see" how they are made...or...not see, at which point they shouldn't go there.
With a new events file I also make a new Eras file as well. The eras file tells the game what city music group to play, plus era one to era two switches the old version trains to the new.

Post Reply