Page 1 of 1
First time trying to make a scenario: Errors
Posted: Sat Mar 25, 2023 11:00 pm
by SwifferDuster
Howdy, I'm trying out the editor from scratch for the first time, and I'm trying to make a map of my old hometown to play with some friends. It is nowhere near done, but I ran it to see what it would look like so far in-game and I got some errors. There were a few, but they said "Error in Check command in event # _ on line nr #_". I'm not sure how I got an error as I haven't done anything besides add terrain and roads, change the master file, and put an image overlay in to map it all out, but what does this mean/how do I check for it and fix it? I know some creators like Ernie are still active here if any of you have some helpful advice I would appreciate it kindly.
Re: First time trying to make a scenario: Errors
Posted: Sat Mar 25, 2023 11:14 pm
by ernieschwitz
When you import a masterfile, you also import all the event code in the masterfile.
This means that if it was a random game generator (for instance) that the code that is run just after the game has generated regimes, map and such, will run. Not all creators of random game generators have this in mind when making masterfiles, and thus errors can sneak their way into a scenario, based on that masterfile.
The error thus is in the event code, and the event number is displayed, as well as the line in that event.
Without knowing what masterfile you imported it will be hard to help you. So, which one have you imported

Re: First time trying to make a scenario: Errors
Posted: Sun Mar 26, 2023 1:12 am
by SwifferDuster
ernieschwitz wrote: Sat Mar 25, 2023 11:14 pm
When you import a masterfile, you also import all the event code in the masterfile.
This means that if it was a random game generator (for instance) that the code that is run just after the game has generated regimes, map and such, will run. Not all creators of random game generators have this in mind when making masterfiles, and thus errors can sneak their way into a scenario, based on that masterfile.
The error thus is in the event code, and the event number is displayed, as well as the line in that event.
Without knowing what masterfile you imported it will be hard to help you. So, which one have you imported
Thank you!!! I imported RisingDawn.at2, however, I tried running it with the classic.at2 and anewdawn3.at2 and got less errors than when running with the rising dawn. I chose rising dawn though because I thought it was the newest one with the Pheonix update. I started blank in the editor and then changed the classic.at2 file to the RisingDawn.at2.
Re: First time trying to make a scenario: Errors
Posted: Sun Mar 26, 2023 9:02 pm
by SwifferDuster
Update: I have figured out the error is in the event code, but not sure what to do as to fix/understand it. The errors are on event #46 (initial regime settings) lines #19 and #26 and on event #107 (Raw Production) lines #10 and #11. I am wondering if these errors are because I have done any work to set the regimes besides, importing the RisingDawn.at masterfile and the people, and haven't placed any raw or oil on the map yet.
Re: First time trying to make a scenario: Errors
Posted: Sun Mar 26, 2023 9:32 pm
by ernieschwitz
I have asked Ormand if he wants to help you out. If you don't hear from him soonish, write here, and I'll take a look and fix. I think the event code of the RisingDawn masterfile might be a bit too much to master when making your first scenario
In other words, one of the two of us will help you out

Re: First time trying to make a scenario: Errors
Posted: Mon Mar 27, 2023 1:36 am
by Ormand
I am not in great position to help much right now as I am about to go on a trip and I am up to my neck in many things, including another project. I am not exactly, sure what you have done, so the only hope is for you to send me what you have, and what you do, I presume start the game. Email it to
atg@vrdesigns.net. That masterfile has a fair amount in it, and probably more than you need for starters. One thing to do is to set all the events to No Check. This keeps them from executing. But, keep in mind that you need to examine what is in the events and whether you want them or not. It also depends on whether you will be wanting to use officers. Along those lines it is VERY important to keep in mind that officers get feats that run events. And these events are specified in stringlist ID61, although the text overwrites the 3rd column, which is where they are. This means that the events associated with these feats must have this event number (there is a way around this, but that is a little more advanced. And, you have to figure out the various events with officers. I strongly suggest taking it slow, basically stripping things out and then adding them back in. But, the easy way to do that is to disable some events and then see what works and doesn't as you get more experience.
Re: First time trying to make a scenario: Errors
Posted: Mon Mar 27, 2023 2:47 am
by SwifferDuster
Ormand wrote: Mon Mar 27, 2023 1:36 am
I am not in great position to help much right now as I am about to go on a trip and I am up to my neck in many things, including another project. I am not exactly, sure what you have done, so the only hope is for you to send me what you have, and what you do, I presume start the game. Email it to
atg@vrdesigns.net. That masterfile has a fair amount in it, and probably more than you need for starters. One thing to do is to set all the events to No Check. This keeps them from executing. But, keep in mind that you need to examine what is in the events and whether you want them or not. It also depends on whether you will be wanting to use officers. Along those lines it is VERY important to keep in mind that officers get feats that run events. And these events are specified in stringlist ID61, although the text overwrites the 3rd column, which is where they are. This means that the events associated with these feats must have this event number (there is a way around this, but that is a little more advanced. And, you have to figure out the various events with officers. I strongly suggest taking it slow, basically stripping things out and then adding them back in. But, the easy way to do that is to disable some events and then see what works and doesn't as you get more experience.
Thank you guys so much for your help! I actually wasn't trying to mess with the code at all and I hadn't even touched it, nor was I really creating much of a scenario right now. I was really only hoping to create a very large map with all the mechanics that come in the Rising Dawn games I randomly generate when I play solo (I.e. TOE and Officers). I was hoping that I could simply load the masterfile, create the map, then add the cities/VPs based for the regimes my friends and I decided we wanted to play later. So basically, I just wanted to create a custom map I could play a Phoenix Rising Dawn game on. I am thinking of eventually flushing out a more sophisticated scenario when I get more experienced, but for now it is definitely beyond my skill level.