the engine was improved in many ways since development on Baldur's Gate II began: optional 800 x 600 resolution as well as the old 640 x 480 resolution. Drop-away side panels were implemented; and for spells and special effects, 3D support was added. Pathfinding had been improved in Tales of the Sword Coast (the Baldur's Gate expansion), and was improved further in Shadows of Amn through a feature called "bumping", which allowed a character to move another one out of the way if the path was blocked. Also, to aid pathfinding even more, paths in dungeons were widened, so that characters would get stuck less often. The interface was also refined a bit. To avoid some of the design mistakes made in Baldur's Gate, guidelines were drawn up for each department; the level designers had the longest set of guidelines. These lists continually changed and evolved as the development progressed. The main design guidelines for the entire project were that the players should feel like their actions have an effect on the game world, and good versus evil options should be available depending on which path the player takes. Guidelines for the story were to keep the focus on the player's character, keep the player updated on the activities of the game's villain, add a significant plot twist, and make the ending of the game open enough so that there would be room for more sequels. Environment guidelines were to break the game into chapters, make some locations key to the central plot, keep areas interesting and easy to quickly navigate, and showcase areas before they were available to explore to capture player interest. For the game systems, guidelines focused on character customization and a well-crafted reward system. The writing guidelines were concerned mainly with dialogue: limiting the number of sentences NPCs spoke at a time, keeping the number of player response choices at three as often as possible, avoiding profanity and accents, and having a small set of random dialogue for unimportant NPCs. Many early design decisions did not follow the guidelines, and programming constraints were not always followed by other departments, such as design and art, leading to slowdowns in some parts of the game that were difficult or impossible to fix. The process for creating levels was long and complicated. It began with the creation of a general layout of the area to be built by designers.