
Posts: 132
Joined: 03 Aug 2015, 09:12
KaM Skill Level: Skilled
Website: https://kp-wiki.org/
Location: the Netherlands
Knights Province - The Iron Wolf - Alpha testing map
Note by Krom: Map format can change a lot during development and maps may become incompatible in later releases of Knights Province!
The map is called "The Iron Wolf", this because I love that folk-lore.

Here one image of the mini-map ( To keep the full lay-out as a surprise ):

And here the image of Type 2:

Current version:
The Iron Wolf V1.0.16
The Iron Wolf Type 2 V1.0.1
Older versions:
The Iron Wolf V1.0.15
The Iron Wolf V1.0.12
To play the map:
- unzip the content into your KP maps directory ( EG: D:\kp2015-08-02-Alpha-1.04-r2257\maps )
- Start the game
- Click on "Single Player"
- Click on "Play Single Map"
- Select "The Iron Wolf".
- Select your preferred starting position, they are both rather equal
- Select your team color
- Click "Start Map".
- Code:
Version 1.0.16: 1> Added Dutch libx file to prepare for when KP supports it 2> minor edits in the script Version 1.0.15: 1> Improved script logic by adding Actions.HouseAllow(aPlayerIndex, aHouseType: Word; aAllowed: Boolean); and Actions.HouseUnlock(aPlayerIndex, aHouseType: Word); to dynamically enable specific houses upon finishing objectives 2> Switched from NotePad++ to RAD Studio XE6 to enhance layout from within Pascal IDE's ( NotePad++ has issues aligning words properly and refuses to fix this issue, has to do with their character spacing ) 3> Added the Fishery as second secondary objective, will be unlocked and allowed after completing Tavern objective 4> Tavern objective now only available after completing the school 5> Fixed the fog settings, now players will not be able to see the AI without using debug settings or using their scout 6> Added comments to most files 7> Switched from having to build one of every house in the objectives to one school, three stonecutters, three woodcutters, two sawmills, one fort, one tavern and one fishery Version 1.0.12: 1> Code readability 2> Speed of the code 3> Fort objective has been temporarily removed 4> Disabled all the buildings that are not meant to be used in this test-map ( For now. :wink: )
Try to avoid using the following methods until an official fix has been made:
- Action.OverlayText[Set, SetFormatted, Append, AppendFormatted, etc]
- PlanAdd[House, Road, etc]
- PlanAdd[Field, Winefield]
- PlanConnectRoad
- PlanRemove
There was an issue with libx files on my PC, it printed <$0> instead of the text, please do test and report your findings, this helps development more then one might think.

Note about the odd question-marks on-screen:
These are caused due to a unclear reason and will be looked at in time.
About the map:
There is a basics script including objectives, they are set for both player 1 and player 2.
Their goals are identical, the goals are:
There are just a few changes:
- Base 2 is set to the right side across the river next to base 1.
- This version is MP-compatible
- FOW has been removed to reveal other team, making it more competitive
- Forest at the new location of base 2 has been moved towards the upper-right of the spot to give more space for buildings
