A few questions

Boxhead

New member
Joined
Mar 1, 2016
Messages
24
Hello
I nearly finished my landscape and now I have some questions for things I didn't figured out yet.
I just list them.
[list type=decimal]
[*]How do I lower the impressiveness of a town?
For example a town needs 13.000 points to be captured but I want to lower it to 4.000 points.
How do I do it?
I tried already to do that in the landscape editor but I only got it to a higher value.
[*]How do I make silver or golden scrolls?
[*]And lastly. How can I let the game load the next land?
For example from Land4 directly into Land5.
[/list]
I would be really grateful for any help.
 

Willy

Administrator
Elder
Joined
Jul 27, 2011
Messages
130
1. The impressiveness of a town can only be set through the landscape editor. There is no command in the scripting language to do this. I'm not sure how BW2 determines how much impressiveness you need to capture the town. You'll just have to experiment by setting the impressiveness value of the town or removing buildings. Sorry I can't be more helpful here.

2. The command to create a scroll is very strange.
Code:
Varaible= create highlight SCRIPT_HIGHLIGHT_INFO_SCRIPT_SILVER name "HELP_TEXT_MULTIPLAYER_TAUNTS_GA_20" remind "HELP_TEXT_CREATURE_CURRENT_SOURCE_09" at {Location}

3. There is a command to load a new map. Here it is:
Code:
load map "./Data\landscape\BW2\Land3545.bwe"
The bwe file must be the landscape you want to load.
 

Matt

Administrator
Staff member
Joined
Aug 28, 2005
Messages
199
There is a native function in the challenge language called SET_IMPRESSIVENESS_OVERRIDE with 3 arguments, I assume TownID & Impressiveness (not sure about the 3rd argument) - not sure how that translates into the scripting language, but there's definitely a function for it.
 

Boxhead

New member
Joined
Mar 1, 2016
Messages
24
Thanks for the help.
Sorry but I forgot about 3 things.
How can I let the game play dialogues?
And how can I check if a town is captured by the player?
For example: I want to let the game play a dialog if a town was captured by the player.
And how can I make quests like "conquer the land" or "collect 5.000 food"?

I hope I do not annoy you with these noob questions  :(
 

Willy

Administrator
Elder
Joined
Jul 27, 2011
Messages
130
I found it.
You you wish to override a towns impressiveness you can do it with this command:
Code:
enable town MyTown impressiveness override with 175000

The reason I could find it before was because I was looking for a set command.
 

Boxhead

New member
Joined
Mar 1, 2016
Messages
24
Yes, I already tried to use it like this
Code:
begin script ImpressivenessOverride
	town8 = get town with id 8
start
enable town town8 impressiveness override with 30000

end script ImpressivenessOverride
But all I got was a parse error.
 
Top