Posted April 04, 2013
Use this program for dat files: https://www.allegro.cc/depot/Grabber/
Export:
1. File -> Load -> .dat -> OK.
2. Choose object.
3. Object -> Export -> where -> OK.
Import:
1. File -> Load -> .dat -> OK.
(2.) This step only for adding new data. Skip for replacing. Object -> New -> Bitmap for images / Other - OGG sound files.
3. choose object
4. Object -> Grab -> select -> OK.
5. File -> Save -> if in this file, then OK.
Inner_build.var
1 Shop (0 - usual, 1 - limited amount of preset items, 2 - limited amount of random items of Param2 level)
2 Library
3 Changes growth rate in demesne by Param 1, in all provinces by Param2.
4 Garrison Param1 - tier, Param2 - amount.
5 Income Param1 gold, Param2 crystals
6 Access to mercenaries of level Param 1
7 Cheaper resurrection and ritual cost by Param1 %
8 Access to unit Param1. If Param2>0 - place unit in the end of list in garrison.
9 Increases income from resource Param1 by Param2
10 Increases hero mobility in demesne by Param1
11 Grants access to outer building Param1. If Param2>0 - gives Param2 schematics
12 Changes mood by Param1 in demesne, by Param2 in all provinces.
13 Decreases hire cost by Param1 %
14 Increases income from land type Param1 by Param2. (Param1=0 - any, 8 - coastal)
15 Grants access to province guard Param1. If Param2>0 - gives Param2 contracts
16 Decreases inner building cost by Param1 %
17 Decreases resource cost by Param1 %.
18 Decreases wages to units by Param1 %.
19 Changes province guard's morale by Param1
20 Increases recruit exp by Param 1
21 Increases recuperation of troops by Param1 % per turn
22 Increases total income by Param1 %.
23 Decreases unrest rate in demesne by Param1, in all provinces by Param2
24 Lets you sell units to mercenary guild and decreases mercenary change time
25 Increases exploration by Param1 %.
26 Shows hidden resources on land type Param1.
27 grants access to ritual Param1
28 Decreases wages to garrisoned units by Param1 %.
29 Changes opponent's income by Param1.
30 Increases strength of garrison towers by Param1 and durability by Param2.
31 Lets you use eggs-like items of Param1 type. Param2 must be >0.
32 Grants interest Param1 %
33 Decreases gold losses from robbers by Param1*10 %
34 Lets you transmute gold into crystals and vice versa
35 Improves wall durability by Param1.
36 Adds Param1 towers.
37 Increases mobility of your heroes by Param1.
38 Increases good event chance and decreases bad event chance by Param1%.
39 Lets you hire Param1 additional guards per turn
40 Lets you build Param1 additional outer buildings per turn
41 Changes income from trophies and pillaging by Param1.
42 Increases siege stat of your heroes by Param1.
43 Improves diplomatic relations with other masters by Param1.
44 Shipyard Param1.
45 Changes possibility of event Param1 by Param2%
46 Changes karma by Param1
47 Need alliance with race Param1
48 will activate event Param1 after Param2 turns
49 changes income from provinces with title race Param1 by Param2.
50 Adds site in demesne Param1 with Param2 level
51 changes corruption by Param1 %
52 Magic tower of Param1 type, shooting power Param2
53 Decreases ritual cooldown by Param1
54 Lets you cast additional Param1 rituals per turn
Defender.var
1 Changes income by Param 1 gold and Param2 crystals, %
2 Changes mood by Param 1
3 Decreases unrest rate
4 Decreases wage to garrisoned units by %
5 Information about surrounding (watchmen)
6 Increases recuperation of warriors in province by %
7 Increases income from resource Param1 by Param2 gold
8 Increases repair speed of forts by Param1%
9 Changes growth rate
10 Exist contract (Param1 = ShopLevel, Param2=Rarity)
11 Can't be scared (Param 1 must be> 0)
12 Can't be bribed (Param 1 must be> 0)
Ritual.var
1. Changes population mood by Param1. Param2 - increases in owned province and decreases in not owned
2. Changes growth rate by Param1.
3. Calls event Param1 in province.
5. Calls encounter encounter Param1 for hero.
6. Changes gold income by Param1 and crystals by Param2.
8. Heroes will skip turn and will get encounter snowstorm
12. Province will be blocked against opponent attacks and rituals
18. Can't cast in demesne
19. Can't cast in besieged province
20. Ritual's target - hero
22. Can't cast in province without available building slots
23. Can't cast in province with outer building Param1
24. Province must have population>0
25. Can't be casted in province with undismissable defender
Event.var
DialogParam means that there are %s and/or %d in dialogue and game will need to replace them.
%s - province name, %d - number from first effect
Indexes
1 Get Power+Random(Param1) gold.
If Param2=
___1, multiply by province level
___2, change total gold by Power+Random(Param1)%
2 Changes mood by Power
3 Changes population by Power+Random(Param1)%
4 Answer №Power will be available if Param1=
___1. Gold >= Param2
___2. Crystals >= Param2
___3. There are defender or hero in province[
5 Changes income by Power+Random(Param1)
6 Get Power+Random(Param1) crystals
If Param2=
___1, multiply by population level
___2 - change total crystals by Power+Random(Param1)%
7 Karma + Power+Random(Param1)
8 Prerequisites of happening in province
Power
___1 - population level >=Param1
___2 - explored=Param1
___3 - player's gold >=Param1
___4 - there is place for hidden site
___5 - mood <=Param1
___6 - mood >=Param1
___7 - population level <=Param1
___8 - there are at least Param1 free slots in treasure
___9 - player karma <=Param1
___10 - player karma >=Param1
___11 - only not in demesne
___12 - coastal only
___13 - only in province with title race Param1
___14 - There is hero in province (or defender, if Param1>0)
___15 - only in demesne
___16 - If province don't have resource
___17 - if province have place for site Param1 -1 open / Param1 1 hidden
___18 - if province don't have defender (Param1=0), If param1<>0, if province have defender Param1
___19 - if province have outer building Param1
___20 - if province have free building slot (demesne protected against this)
___21 - if province don't have outer building Param1
___22 - if corruption >= Param1 %
___23 - if player's crystals >=Param1
___24 - if player have access to resource Param1
___25 - if player don't have access to resource Param1
___26 - !campaign only! If Param1 in campaign=true, current turn >= Param2 (possibility=0 - always in demesne)
___27 - if province don't have hero
___28 - if province don't' have site Param1
___29 - if you have item Param1 in treasury
9 Generates new site Power. Param1>0 - hidden, Param1<0 - open. Param2=-1 no guards, 0-default, 1-protect.
10 changes total unrest by Power+Random(Param1)
11 calls event Power (If Param1>0 calls event Param1 if Random(100)>Param2 (Param1<0 - don't call))
12 Get Param1 schematics of outer building Power
13 Get Param1 scrolls of spell with index Power
14 Get random item with level Power, rarity >= Param1
15 Set attacker strength to Power.
16 Get Param1 items Power with Param2% durability
17 Set flag for event Power to Param1 + Random(Param2). (-1 enabled, 0 - disabled, Х>0 will happen in Х turn and will be disabled)
18 Set flag for event Power to Param1=
___0 random province(default),
___1 current province,
___2 demesne
19 Set defender Power, if Power=0 - dismiss guard
20 Destroy outer building Power
21 Build outer building Power
22 Change corruption by Power+Random(Param1)
23 change crystal income by Power+Random(Param1)
24 Destroy site Power in province
25 Destroy Power outer buildings in province
26 Change attitude to player in all provinces with title race Power by Param1.
27 Change cost for resource Power by Param1+Random(Param2)
28 will happen for each player, doesn't work currently.
29 Change health of hero and defenders in province by Power, if negative - will be decreased by resistance. Param1=0 - absolute, 1 - %, Param2=1 - only alive units
30 Change morale of hero and defenders by Power+Random(Power1). Param2>0 + to good units, - to evil, If Param2<0 -to good, + to evil, doesn't work on neutrals
31 Initiate rebellion
32 Repair/damage fortification by Power+Random(Param1)
33 set campaign flag Power to Param1
34 Add to player in campaign Power+Random(Param1) astral energy
35 grants access to building in campaign
36 add in garrison Param1(amount) units Power(type) with exp level from 0 to Param2
37 go to campaign event Power
38 gold loss can be decreased by special buildings
39 set province to neutral
40 get random item Power of level Param1, rarity >= Param2.
(1, 2, 9 melee weapons and shields, 3 bows, crossbows and arrows, 4 wands and spheres 5 Flags 6 light armor and belts 7 medium armor 8 heavy armor 10 spell scrolls 11 defender 12 schematic 13 ritual -1 cloth -2 jewellery )
41 Remove item Power from treasury
42 Get Param1 contracts with defender Power
Export:
1. File -> Load -> .dat -> OK.
2. Choose object.
3. Object -> Export -> where -> OK.
Import:
1. File -> Load -> .dat -> OK.
(2.) This step only for adding new data. Skip for replacing. Object -> New -> Bitmap for images / Other - OGG sound files.
3. choose object
4. Object -> Grab -> select -> OK.
5. File -> Save -> if in this file, then OK.
Inner_build.var
1 Shop (0 - usual, 1 - limited amount of preset items, 2 - limited amount of random items of Param2 level)
2 Library
3 Changes growth rate in demesne by Param 1, in all provinces by Param2.
4 Garrison Param1 - tier, Param2 - amount.
5 Income Param1 gold, Param2 crystals
6 Access to mercenaries of level Param 1
7 Cheaper resurrection and ritual cost by Param1 %
8 Access to unit Param1. If Param2>0 - place unit in the end of list in garrison.
9 Increases income from resource Param1 by Param2
10 Increases hero mobility in demesne by Param1
11 Grants access to outer building Param1. If Param2>0 - gives Param2 schematics
12 Changes mood by Param1 in demesne, by Param2 in all provinces.
13 Decreases hire cost by Param1 %
14 Increases income from land type Param1 by Param2. (Param1=0 - any, 8 - coastal)
15 Grants access to province guard Param1. If Param2>0 - gives Param2 contracts
16 Decreases inner building cost by Param1 %
17 Decreases resource cost by Param1 %.
18 Decreases wages to units by Param1 %.
19 Changes province guard's morale by Param1
20 Increases recruit exp by Param 1
21 Increases recuperation of troops by Param1 % per turn
22 Increases total income by Param1 %.
23 Decreases unrest rate in demesne by Param1, in all provinces by Param2
24 Lets you sell units to mercenary guild and decreases mercenary change time
25 Increases exploration by Param1 %.
26 Shows hidden resources on land type Param1.
27 grants access to ritual Param1
28 Decreases wages to garrisoned units by Param1 %.
29 Changes opponent's income by Param1.
30 Increases strength of garrison towers by Param1 and durability by Param2.
31 Lets you use eggs-like items of Param1 type. Param2 must be >0.
32 Grants interest Param1 %
33 Decreases gold losses from robbers by Param1*10 %
34 Lets you transmute gold into crystals and vice versa
35 Improves wall durability by Param1.
36 Adds Param1 towers.
37 Increases mobility of your heroes by Param1.
38 Increases good event chance and decreases bad event chance by Param1%.
39 Lets you hire Param1 additional guards per turn
40 Lets you build Param1 additional outer buildings per turn
41 Changes income from trophies and pillaging by Param1.
42 Increases siege stat of your heroes by Param1.
43 Improves diplomatic relations with other masters by Param1.
44 Shipyard Param1.
45 Changes possibility of event Param1 by Param2%
46 Changes karma by Param1
47 Need alliance with race Param1
48 will activate event Param1 after Param2 turns
49 changes income from provinces with title race Param1 by Param2.
50 Adds site in demesne Param1 with Param2 level
51 changes corruption by Param1 %
52 Magic tower of Param1 type, shooting power Param2
53 Decreases ritual cooldown by Param1
54 Lets you cast additional Param1 rituals per turn
Defender.var
1 Changes income by Param 1 gold and Param2 crystals, %
2 Changes mood by Param 1
3 Decreases unrest rate
4 Decreases wage to garrisoned units by %
5 Information about surrounding (watchmen)
6 Increases recuperation of warriors in province by %
7 Increases income from resource Param1 by Param2 gold
8 Increases repair speed of forts by Param1%
9 Changes growth rate
10 Exist contract (Param1 = ShopLevel, Param2=Rarity)
11 Can't be scared (Param 1 must be> 0)
12 Can't be bribed (Param 1 must be> 0)
Ritual.var
1. Changes population mood by Param1. Param2 - increases in owned province and decreases in not owned
2. Changes growth rate by Param1.
3. Calls event Param1 in province.
5. Calls encounter encounter Param1 for hero.
6. Changes gold income by Param1 and crystals by Param2.
8. Heroes will skip turn and will get encounter snowstorm
12. Province will be blocked against opponent attacks and rituals
18. Can't cast in demesne
19. Can't cast in besieged province
20. Ritual's target - hero
22. Can't cast in province without available building slots
23. Can't cast in province with outer building Param1
24. Province must have population>0
25. Can't be casted in province with undismissable defender
Event.var
DialogParam means that there are %s and/or %d in dialogue and game will need to replace them.
%s - province name, %d - number from first effect
Indexes
1 Get Power+Random(Param1) gold.
If Param2=
___1, multiply by province level
___2, change total gold by Power+Random(Param1)%
2 Changes mood by Power
3 Changes population by Power+Random(Param1)%
4 Answer №Power will be available if Param1=
___1. Gold >= Param2
___2. Crystals >= Param2
___3. There are defender or hero in province[
5 Changes income by Power+Random(Param1)
6 Get Power+Random(Param1) crystals
If Param2=
___1, multiply by population level
___2 - change total crystals by Power+Random(Param1)%
7 Karma + Power+Random(Param1)
8 Prerequisites of happening in province
Power
___1 - population level >=Param1
___2 - explored=Param1
___3 - player's gold >=Param1
___4 - there is place for hidden site
___5 - mood <=Param1
___6 - mood >=Param1
___7 - population level <=Param1
___8 - there are at least Param1 free slots in treasure
___9 - player karma <=Param1
___10 - player karma >=Param1
___11 - only not in demesne
___12 - coastal only
___13 - only in province with title race Param1
___14 - There is hero in province (or defender, if Param1>0)
___15 - only in demesne
___16 - If province don't have resource
___17 - if province have place for site Param1 -1 open / Param1 1 hidden
___18 - if province don't have defender (Param1=0), If param1<>0, if province have defender Param1
___19 - if province have outer building Param1
___20 - if province have free building slot (demesne protected against this)
___21 - if province don't have outer building Param1
___22 - if corruption >= Param1 %
___23 - if player's crystals >=Param1
___24 - if player have access to resource Param1
___25 - if player don't have access to resource Param1
___26 - !campaign only! If Param1 in campaign=true, current turn >= Param2 (possibility=0 - always in demesne)
___27 - if province don't have hero
___28 - if province don't' have site Param1
___29 - if you have item Param1 in treasury
9 Generates new site Power. Param1>0 - hidden, Param1<0 - open. Param2=-1 no guards, 0-default, 1-protect.
10 changes total unrest by Power+Random(Param1)
11 calls event Power (If Param1>0 calls event Param1 if Random(100)>Param2 (Param1<0 - don't call))
12 Get Param1 schematics of outer building Power
13 Get Param1 scrolls of spell with index Power
14 Get random item with level Power, rarity >= Param1
15 Set attacker strength to Power.
16 Get Param1 items Power with Param2% durability
17 Set flag for event Power to Param1 + Random(Param2). (-1 enabled, 0 - disabled, Х>0 will happen in Х turn and will be disabled)
18 Set flag for event Power to Param1=
___0 random province(default),
___1 current province,
___2 demesne
19 Set defender Power, if Power=0 - dismiss guard
20 Destroy outer building Power
21 Build outer building Power
22 Change corruption by Power+Random(Param1)
23 change crystal income by Power+Random(Param1)
24 Destroy site Power in province
25 Destroy Power outer buildings in province
26 Change attitude to player in all provinces with title race Power by Param1.
27 Change cost for resource Power by Param1+Random(Param2)
28 will happen for each player, doesn't work currently.
29 Change health of hero and defenders in province by Power, if negative - will be decreased by resistance. Param1=0 - absolute, 1 - %, Param2=1 - only alive units
30 Change morale of hero and defenders by Power+Random(Power1). Param2>0 + to good units, - to evil, If Param2<0 -to good, + to evil, doesn't work on neutrals
31 Initiate rebellion
32 Repair/damage fortification by Power+Random(Param1)
33 set campaign flag Power to Param1
34 Add to player in campaign Power+Random(Param1) astral energy
35 grants access to building in campaign
36 add in garrison Param1(amount) units Power(type) with exp level from 0 to Param2
37 go to campaign event Power
38 gold loss can be decreased by special buildings
39 set province to neutral
40 get random item Power of level Param1, rarity >= Param2.
(1, 2, 9 melee weapons and shields, 3 bows, crossbows and arrows, 4 wands and spheres 5 Flags 6 light armor and belts 7 medium armor 8 heavy armor 10 spell scrolls 11 defender 12 schematic 13 ritual -1 cloth -2 jewellery )
41 Remove item Power from treasury
42 Get Param1 contracts with defender Power
Post edited September 09, 2013 by Gremlion