
Mission Editor(new mission crash)

Former Site Admin
Posts: 3814
Joined: 08 Jan 2009, 23:00
Location: California - Pacific Time (UTC -8/-7 Summer Time)
Re: Mission Editor(new mission crash)
When you say it "crashes" what kind of crash is it? Do you get an error message?
My best guess (at the moment) is that you gave your map the wrong name. I'm not sure what characters are allowed when giving your maps names, but just use letters to be safe. Also, there can't be any spaces. Therefore, "My First Map" should be: "myFirstMap" See?
That is with the MAP though. Not the mission. I am also under the assumption that you are using your own map.
Re: Mission Editor(new mission crash)

Former Site Admin
Posts: 3814
Joined: 08 Jan 2009, 23:00
Location: California - Pacific Time (UTC -8/-7 Summer Time)
Re: Mission Editor(new mission crash)

Former Site Admin
Posts: 3814
Joined: 08 Jan 2009, 23:00
Location: California - Pacific Time (UTC -8/-7 Summer Time)
Re: Mission Editor(new mission crash)
When you store your mission and map in the KaM folders, they must follow certain rules (Make you you make backups of the original game files, because some need to be replaced).
The mission file (made with Lewin's mission editor) must be stored as one of the original mission files that came with KaM. Thus, the name must be the exact same. Therefore, if you wanted to replace TSK mission one, you need to name your mission file as mission1.dat and place it in the mission folder. The map doesn't need to be the same. The mission file just needs to know which map to load. The names for your map don't matter as long as it doesn't have funky characters or spaces (yours is good right now). As a beginner, I always stored my maps in the smaps folder, which is found inside the mission folder.
If you have placed all these files like this, there shouldn't be any crashes due to file placement.
Have you followed these rules?
Re: Mission Editor(new mission crash)

Former Site Admin
Posts: 3814
Joined: 08 Jan 2009, 23:00
Location: California - Pacific Time (UTC -8/-7 Summer Time)
Re: Mission Editor(new mission crash)
Re: Mission Editor(new mission crash)

Former Site Admin
Posts: 3814
Joined: 08 Jan 2009, 23:00
Location: California - Pacific Time (UTC -8/-7 Summer Time)

Former Site Admin
Posts: 3814
Joined: 08 Jan 2009, 23:00
Location: California - Pacific Time (UTC -8/-7 Summer Time)
Re: Mission Editor(new mission crash)

Anyway, these problems need to be fixed:
1) Your goals are messed up. You have set it so you need to destroy player three's buildings and troops. Player three doesn't exist. Also, you have the lost condition to losing all of player two's important buildings. Obviously, you meant to set that to player 1.
2) When you place human-owned buildings on the map, you must set map revelers next to them so you can see them. It's hard to explain, but basically, you need to have the area around your village "pre-explored" at the start of the game, otherwise the village won't appear. This is only true for human players.
I fixed these issues and your mission worked for me. Good luck!
Re: Mission Editor(new mission crash)
Re: Mission Editor(new mission crash)


Former Site Admin
Posts: 3814
Joined: 08 Jan 2009, 23:00
Location: California - Pacific Time (UTC -8/-7 Summer Time)
Re: Mission Editor(new mission crash)
this is what I changed it to: (this is the very first line of code in the script) Obviously, if you set it to that path, the map name has to be save01.map and must be in the smaps folder.
And no problem! I enjoy helping. I still remember the night Lewin was sending me emails on how to get the missions to work. What a great day that was.
Who is online
Users browsing this forum: No registered users and 6 guests