Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miscellaneous changes I'd been sitting on #109

Merged
merged 13 commits into from
Mar 1, 2023
1 change: 1 addition & 0 deletions _main.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ Version "+{~{LDR_PATH}/dist/VERSION}
# wmllint: directory spellings Gawen Ruvio Vattin Yahyazad Akladian Akladians Darknite Darknites Grekulak Huon Ryedric Deorien Gallorae Hoyre
# wmllint: directory spellings Raedwood Caerwyn Orannon Guilcorta Okladia Okladian Carrenemoe Carrenemoes Cryne Buffin mixling Gaeltin Hyer
# wmllint: directory spellings Saoren Graeme Borraine Gwidle Easkladia Mithrandil Saorduc Oyre Mathauri Bontom Skagrrak Gauri Mavourneen
# wmllint: directory spellings Lorin Vakladia
Binary file added images/portraits/boy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portraits/young-205.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/projectiles/pick-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/projectiles/pick-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/projectiles/pick-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/projectiles/pick-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/humans/rancher-attack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/humans/rancher-defend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/humans/rancher-moving.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/humans/rancher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-defend1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-defend2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-bob1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-bob2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-bob3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-bob4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-bob5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-bob6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-run1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-run2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-run3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-run4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-run5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-ne-run6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-se-bob1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/units/saurians/youths/devotee-se-bob2.png
Binary file added images/units/saurians/youths/devotee-se-bob3.png
Binary file added images/units/saurians/youths/devotee-se-bob4.png
Binary file added images/units/saurians/youths/devotee-se-bob5.png
Binary file added images/units/saurians/youths/devotee-se-bob6.png
Binary file added images/units/saurians/youths/devotee-se-magic1.png
Binary file added images/units/saurians/youths/devotee-se-magic2.png
Binary file added images/units/saurians/youths/devotee-se-melee1.png
Binary file added images/units/saurians/youths/devotee-se-melee2.png
Binary file added images/units/saurians/youths/devotee-se-run1.png
Binary file added images/units/saurians/youths/devotee-se-run2.png
Binary file added images/units/saurians/youths/devotee-se-run3.png
Binary file added images/units/saurians/youths/devotee-se-run4.png
Binary file added images/units/saurians/youths/devotee-se-run5.png
Binary file added images/units/saurians/youths/devotee-se-run6.png
Binary file added images/units/saurians/youths/devotee.png
Binary file added images/units/saurians/youths/young-defend2.png
Binary file added images/units/saurians/youths/young-melee1.png
Binary file added images/units/saurians/youths/young-melee2.png
Binary file added images/units/saurians/youths/young-melee3.png
Binary file added images/units/saurians/youths/young-melee4.png
Binary file added images/units/saurians/youths/young-ne-bob1.png
Binary file added images/units/saurians/youths/young-ne-bob2.png
Binary file added images/units/saurians/youths/young-ne-bob3.png
Binary file added images/units/saurians/youths/young-ne-bob4.png
Binary file added images/units/saurians/youths/young-ne-bob5.png
Binary file added images/units/saurians/youths/young-ne-bob6.png
Binary file added images/units/saurians/youths/young-ne-run1.png
Binary file added images/units/saurians/youths/young-ne-run2.png
Binary file added images/units/saurians/youths/young-ne-run3.png
Binary file added images/units/saurians/youths/young-ne-run4.png
Binary file added images/units/saurians/youths/young-ne-run5.png
Binary file added images/units/saurians/youths/young-ne-run6.png
Binary file added images/units/saurians/youths/young-se-bob1.png
Binary file added images/units/saurians/youths/young-se-bob2.png
Binary file added images/units/saurians/youths/young-se-bob3.png
Binary file added images/units/saurians/youths/young-se-bob4.png
Binary file added images/units/saurians/youths/young-se-bob5.png
Binary file added images/units/saurians/youths/young-se-bob6.png
Binary file added images/units/saurians/youths/young-se-run1.png
Binary file added images/units/saurians/youths/young-se-run2.png
Binary file added images/units/saurians/youths/young-se-run3.png
Binary file added images/units/saurians/youths/young-se-run4.png
Binary file added images/units/saurians/youths/young-se-run5.png
Binary file added images/units/saurians/youths/young-se-run6.png
Binary file added images/units/saurians/youths/young-throw3.png
Binary file added images/units/saurians/youths/young-throw4.png
Binary file added images/units/saurians/youths/young-throw5.png
Binary file added images/units/saurians/youths/young.png
2 changes: 2 additions & 0 deletions lua/ano_wml_tags.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- (stub file that I may possibly put stuff in in the future)

19 changes: 19 additions & 0 deletions macros/ano_macros.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1038,5 +1038,24 @@
"+{_NOTES_TEXT}
#enddef

# originally copied (and renamed) from "Across The Ocean":
#define ANO_MOVING_ANIM_DIRECTIONAL_6_FRAME BASE_IMAGE_NAME
[movement_anim]
start_time=0
[if]
direction=s,se,sw
[frame]
image={BASE_IMAGE_NAME}-se-run[1~6].png:100
[/frame]
[/if]
[else]
direction=n,ne,nw
[frame]
image={BASE_IMAGE_NAME}-ne-run[1~6].png:100
[/frame]
[/else]
[/movement_anim]
#enddef

# For the AI controller:
{./ai}
6 changes: 6 additions & 0 deletions scenarios/04_Battle_of_Barnon.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@
[endlevel]
result=victory
bonus=no
carryover_percentage=100
next_scenario=05_Unexpected_Guests
linger_mode=no
[/endlevel]
Expand All @@ -579,6 +580,7 @@
[endlevel]
result=victory
bonus=no
carryover_percentage=100
next_scenario=05_The_Swamp_Things
linger_mode=no
[/endlevel]
Expand Down Expand Up @@ -1302,6 +1304,7 @@
[endlevel]
result=victory
bonus=no
carryover_percentage=100
next_scenario=05_Unexpected_Guests
linger_mode=no
[/endlevel]
Expand All @@ -1310,6 +1313,7 @@
[endlevel]
result=victory
bonus=no
carryover_percentage=100
next_scenario=05_The_Swamp_Things
linger_mode=no
[/endlevel]
Expand Down Expand Up @@ -1506,6 +1510,7 @@
[endlevel]
result=victory
bonus=no
carryover_percentage=100
next_scenario=05_Unexpected_Guests
linger_mode=no
[/endlevel]
Expand All @@ -1514,6 +1519,7 @@
[endlevel]
result=victory
bonus=no
carryover_percentage=100
next_scenario=05_The_Swamp_Things
linger_mode=no
[/endlevel]
Expand Down
14 changes: 6 additions & 8 deletions scenarios/05_The_Swamp_Things.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@
{GOLD4 100 110 120 130}
{INCOME4 1 2 3 4}
team_name=bad
recruit=Saurian Skirmisher,Saurian Augur,Saurian Oracle
recruit=Saurian Skirmisher,Saurian Augur,Saurian Oracle,Saurian Devotee,Young Saurian
[ai]
recruitment_pattern=scout,archer,healer
recruitment_more={ON_DIFFICULTY4 "0" "0,1" "1" "1,2"}
grouping=defensive
{QUANTITY4 aggression 0.1 0.2 0.3 0.4}
{QUANTITY4 caution 0.9 0.8 0.7 0.6}
Expand All @@ -75,9 +76,7 @@
support_villages=yes
[/ai]
[/side]
#ifdef EASY
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Saurian Oracle" 1}
#endif
{LIMIT_CONTEMPORANEOUS_RECRUITS 2 "Saurian Oracle" {ON_DIFFICULTY4 1 2 3 4}}
[side]
type=Saurian Ambusher
id=Ssumar
Expand All @@ -87,9 +86,10 @@
{GOLD4 100 110 120 130}
{INCOME4 1 2 3 4}
team_name=bad
recruit=Saurian Skirmisher,Saurian Augur,Saurian Soothsayer
recruit=Saurian Skirmisher,Saurian Augur,Saurian Soothsayer,Saurian Devotee,Young Saurian
[ai]
recruitment_pattern=scout,scout,healer
recruitment_more={ON_DIFFICULTY4 "0" "0,1" "1" "1,2"}
grouping=offensive
{QUANTITY4 aggression 0.4 0.5 0.6 0.7}
{QUANTITY4 caution 0.3 0.2 0.1 0.0}
Expand All @@ -100,9 +100,7 @@
support_villages=no
[/ai]
[/side]
#ifdef EASY
{LIMIT_CONTEMPORANEOUS_RECRUITS 3 "Saurian Soothsayer" 1}
#endif
{LIMIT_CONTEMPORANEOUS_RECRUITS 3 "Saurian Soothsayer" {ON_DIFFICULTY4 1 2 3 4}}
[event]
name=prestart
# no need to RECALL Reme Carrenemoe here because we use unstore_unit to get him later
Expand Down
2 changes: 2 additions & 0 deletions scenarios/06_Separation.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
[if]
{CONDITION ano_orcs_in_hills equals yes}
[then]
#po: note that "found" and "found out" have different meanings; "found out about" means more like "learned about",
#po: and can cover both hearing about, and witnessing firsthand.
{MSG_Lorin _"And what about that Orcish army we found out about? We should stick together!"}
{MSG_Reme _"I have already told you. There is no WE. Neither of us can do anything about those Orcs."}
[/then]
Expand Down
4 changes: 2 additions & 2 deletions scenarios/07_Ally_From_the_Past.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
y=18
facing=se
[modifications]
{TRAIT_LOYAL}
{TRAIT_LOYAL OVERLAY=""}
#ifdef EASY
{TRAIT_RESILIENT}
#endif
Expand Down Expand Up @@ -123,7 +123,7 @@
{TRAIT_DIM}
#else
{TRAIT_STRONG}
{TRAIT_LOYAL}
{TRAIT_LOYAL OVERLAY=""}
#endif
[/modifications]
[unit]
Expand Down
29 changes: 27 additions & 2 deletions scenarios/08_Outlaw_Base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
map_data="{~add-ons/A_New_Order/maps/OutlawBase.map}"
# This can be increased to {36 34 32 30} if this turns out to still not be enough:
{TURNS4 35 33 31 29}
{INTRO_AND_SCENARIO_MUSIC loyalists.ogg gameplay06.ogg}
{INTRO_AND_SCENARIO_MUSIC loyalists.ogg battle/gameplay06.ogg}
{EXTRA_SCENARIO_MUSIC old_english_march.ogg}
{EXTRA_SCENARIO_MUSIC strings_wings_and_things.ogg}
{EXTRA_SCENARIO_MUSIC breaking_the_chains.ogg}
Expand Down Expand Up @@ -262,7 +262,7 @@
{IF ano_roe_tmp greater_than_equal_to 1}
[gold]
side=2
amount=$ano_roe_tmp
amount="$(min($turn_number|, $ano_roe_tmp|))"
[/gold]
{END_IF_WITHOUT_ELSE}
#endif
Expand Down Expand Up @@ -408,6 +408,31 @@
[/if]
[/event]

[event]
name=recruit
first_time_only=yes
[filter]
side=1
type=Peasant
[/filter]
{MSG_unit _"Oh, there is a horse in this village. I can ride it!"}
[transform_unit]
id=$unit.id
transform_to=Rancher
[/transform_unit]
[heal_unit]
[filter]
id=$unit.id
[/filter]
moves=full
restore_attacks=yes
[/heal_unit]
{MSG_unit _"...see?"}
{MSG_Gawen _"You look different now."}
{MSG_unit _"It's amazing the effect that getting on horseback can have on one's appearance, isn't it?"}
{MSG_Gawen _"Indeed."}
[/event]

[event]
name=victory
[if]
Expand Down
2 changes: 1 addition & 1 deletion scenarios/09_Hired_Swords.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@
[/variable]
[then]
{MSG_unit _"What a fighter! I would willingly fight for someone like her..."}
{MSG_Lorin _"I am no necromancer; I use only for living warriors, not the dead!"}
{MSG_Lorin _"I am no necromancer; I have use only for living warriors, not the dead!"}
{MSG_Yahyazad _"They seem to have come to respect you now. Strange."}
[/then]
[/if]
Expand Down
Loading