Topic: "Northmen" Tribe Page
GunChleoc |
Posted at: 2017-08-19, 14:42
I have played the scenario, and here's my thoughts on what can be improved to make it better. The story line is fine Adjust the header text colors for the speakers, some of them are a bit glaring Waiting for materials after the brick production:
Enhance Food Economy: The instructions where to build the bee keeper should be included in the objective text as well. BTW you can distinguish between the objective texts in the story message window and the objectives window - have a look at the 1st tutorial to see how it's done. It takes a lot of Sentinels to reach the gold. Unlock a medium-sized military building. It would also help to have the headquarters a bit more to the North-East. Also, the "Expand further" objective seems a bit pointless to the player at the time, since most of the island seems to be already discovered to get at the gold. So, I recommend:
Training soldiers: The objective window does not include the instructions on what to build. Placing the L10 soldier in a militarysite complicates things, why not add the warehouses and the headquarters to the list to check? "Fur Clothes" are causing grammar problems with the production site strings, because it's a plural. How about renaming them to "Fur Garment"? You could eventually unlock the charcoal kiln. No need to have scenario instructions for it though. Defeat the enemy: It takes ages to reach the enemy, maybe start the scenario more towards the middle of the island (I know you won't want to change the shape of the island, since this is authentic Langeneß) and have the necessary mountain resources there? Part of the problem might be though that the AI productivity goes down after a while and it didn't expand at all. It's still a long chain of military sites though, which isn't that interesting to build. Weaving Mill and Shipyard aren't unlocked when the island floods. Also, the island floods too fast, so there will be no time to finish building a ship. Edited: 2017-08-19, 14:46
Busy indexing nil values Top Quote |
Nordfriese Topic Opener |
Posted at: 2017-08-19, 16:54
Thanks for your feedback! I changed the message headers´ colours to green for the chieftain, light blue for the advisor, dark red for the enemy. The clay pit instruction now advises to build some sentinels. After the brick economy is done, the scenario waits until no rations are left in the warehouse and at least one mine is out of rations. This is when the advisor reports about the hungry miners. I added the hint to build the bee-keeper near a berry farm to the objective. Which gold mountain are you referring to? There are two – one that triggered the expand objective, one further west, northeast of the iron mountains. I intended for the gold mine to be placed on the western one, but I found that it can be overlooked if sentinels are placed only near the southern shore. I removed the gold mine from the objective. The charcoal kiln is unlocked at this point. As soon as the mining objective is done, the chieftain demands to start recruiting soldiers now. When that is done, he orders further expansion and says it gives more space for farms and it might be good to recruit more reindeer. I renamed the fur clothes to fur garment. When the enemy is sighted, soldier training is demanded. The objective contains a list of the required new buildings; the soldier may be sent to a warehouse now. The problem with the long expansion chain is AI-related. I intended for it to expand much faster than it does and even added precautions in the code in case it reached the second gold mountain first. It will get much more generous starting conditions, perhaps that will make the expansion and fighting more interesting. If that doesn´t work, I might even build some free outposts for the AI after the enemy is sighted to force it to be a more interesting opponent. I think the problem with weaving mill and shipyard was that the map was for some reason not tagged as seafaring. I´m testing the scenario with the changes now, then I´ll upload it… Top Quote |
GunChleoc |
Posted at: 2017-08-19, 21:23
The test for seafaring checks if there are at least 2 port spaces, I think. So, there are 2 solutions to the problem:
Busy indexing nil values Top Quote |
Nordfriese Topic Opener |
Posted at: 2017-08-21, 18:00
I now pushed a new revision with the changes to the scenario. I solved the seafaring problem by adding a second port space under the player´s headquarters. I tested it (with some cheating, to make it faster) and adjusted the flood speed so it is now actually possible to win, provided one is very quick building the seafaring buildings. The enemy is much stronger now, I gave him lots of building materials, so his speed of expansion was just fine, he appeared at my border five minutes after the defeat-the-enemy objective was unlocked. Instead of 100 rookies, I gave him 50 soldiers with maximum attack and 150 with maximum health+defence. I haven´t played a full battle yet, but as the AI can´t train or recruit soldiers, this should be doable. There is one spot of bother. The stormflood consumes lots of memory; the further it progresses, the more memory is flooded. In the end, it sometimes gets so bad that Widelands no longer responds and I have to force-close it. I´m unable to find the reason for this… Top Quote |
GunChleoc |
Posted at: 2017-08-21, 18:32
Looks like this bug: https://bugs.launchpad.net/widelands/+bug/1651591 Busy indexing nil values Top Quote |
Nordfriese Topic Opener |
Posted at: 2017-08-23, 14:26
I´m trying to script another feature for this scenario: I want the island to have a special terrain, since the northern frisian islands have salt meadows with completely different plants than on the mainland. At first, I tried setting the parameters of the terrain types in the script, but Widelands complained that they are read-only. So I added a script that defines a new terrain type and sets all normal land fields to salt meadow:
The result is always a crash due to a "Gleitkomma-Ausnahme" with no further information. gdb points to this line in terrain_description.cc:
Since the crash is always the same independent of whether I run the function before everything else or during the game, I guess the problem might be the texture image path. I tried setting "textures = {"world/terrains/pics/summer/steppe_barren_00.png" }" as a test, but the same exception occurred. I hope there is an easy fix for this, as this would make it possible for me to place the scenario in the real geographical context. This is not really necessary but would be a very nice addition. What am I doing wrong? Top Quote |
GunChleoc |
Posted at: 2017-08-23, 16:21
The world isn't moddable via scenario scripting - you'll have to add the new terrain to I have some ideas on how to get real mods going, but that will still take a while - I have too many open branches already. Edited: 2017-08-23, 16:21
Busy indexing nil values Top Quote |
Nordfriese Topic Opener |
Posted at: 2017-08-23, 18:15
I don´t think new terrains should be added to the entire game for a not-even-that-important improvement to a scenario. I deleted the code from the campaign and won´t use custom world additions. It wouldn´t have been a very accurate representation of the salt meadows anyway, as the terrain parameters have nothing like "saltiness". Top Quote |
GunChleoc |
Posted at: 2017-08-23, 18:22
Terrain properties only affect tree growth anyway, so you might use a terrain that has less trees and still looks a bit lush if we have one. Or come up with an eyecandy immovable to place on them - that would have to become part of the default immovables too though. Busy indexing nil values Top Quote |
king_of_nowhere |
Posted at: 2017-08-24, 00:33
there are a few immovables that cannot be removed and can look a bit like salt. some of the "ruins" type. I used it extensively in the dolomites map to force roads to follow the valleys Top Quote |