UtBS: Fix some TODOs
This commit is contained in:
parent
9f1fa791df
commit
d477f1590c
4 changed files with 79 additions and 59 deletions
|
@ -54,11 +54,8 @@
|
|||
controller=ai
|
||||
{GOLD 125 150 175}
|
||||
{INCOME 15 18 21}
|
||||
#ifdef HARD
|
||||
recruit=Deathblade,Revenant,Bone Shooter,Skeleton Rider
|
||||
#else
|
||||
|
||||
recruit=Skeleton,Skeleton Archer,Skeleton Rider
|
||||
#endif
|
||||
|
||||
[ai]
|
||||
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.9}
|
||||
|
@ -113,11 +110,8 @@
|
|||
controller=ai
|
||||
{GOLD 125 150 175}
|
||||
{INCOME 15 18 21}
|
||||
#ifdef HARD
|
||||
recruit=Blood Bat,Necrophage,Wraith,Soulless
|
||||
#else
|
||||
|
||||
recruit=Vampire Bat,Ghoul,Ghost,Walking Corpse
|
||||
#endif
|
||||
|
||||
[ai]
|
||||
{AI_SIMPLE_ALWAYS_ASPECT aggression 0.9}
|
||||
|
@ -617,13 +611,12 @@
|
|||
# Instead with providing AI with higher lvl units on medium
|
||||
# and hard give it highly experienced lvl1's
|
||||
|
||||
#ifdef NORMAL
|
||||
#ifndef EASY
|
||||
# Change the difficulty increase model from having computer
|
||||
# recruit some lvl2 and 3 units outright to advancing or
|
||||
# half-advancing recruited lvl 1. At the same time, guarantees
|
||||
# broader spectrum of opposing units, as AI advancement is random.
|
||||
# Internal variables : $factor
|
||||
# TODO: Should this happen on HARD too (would need to change recruit list to match)
|
||||
[event]
|
||||
name=recruit
|
||||
first_time_only=no
|
||||
|
@ -631,15 +624,13 @@
|
|||
side=2,3,4
|
||||
[/filter]
|
||||
|
||||
{VARIABLE factor $unit.max_experience}
|
||||
{VARIABLE_OP factor multiply 0.5}
|
||||
{VARIABLE_OP factor round 0}
|
||||
{RANDOM $factor..$unit.max_experience}
|
||||
{VARIABLE min_experience "$(floor($unit.max_experience * {ON_DIFFICULTY 0 0.5 0.75}))"}
|
||||
{RANDOM "$min_experience..$($unit.max_experience - 1)"}
|
||||
{VARIABLE unit.experience $random}
|
||||
[unstore_unit]
|
||||
variable=unit
|
||||
[/unstore_unit]
|
||||
{CLEAR_VARIABLE factor}
|
||||
{CLEAR_VARIABLE min_experience,random}
|
||||
[/event]
|
||||
#endif
|
||||
|
||||
|
|
|
@ -270,19 +270,6 @@
|
|||
[ai]
|
||||
aggression=0.90
|
||||
caution=0.10
|
||||
|
||||
#ifdef WIP
|
||||
# TODO: make assassin attack Kaleh more than other units
|
||||
# This goal doesn't have that effect
|
||||
|
||||
[goal]
|
||||
name=target
|
||||
[criteria]
|
||||
id=Kaleh
|
||||
[/criteria]
|
||||
value=20
|
||||
[/goal]
|
||||
#endif
|
||||
[/ai]
|
||||
[/side]
|
||||
|
||||
|
@ -2088,6 +2075,19 @@
|
|||
[/modifications]
|
||||
[/unit]
|
||||
|
||||
[micro_ai]
|
||||
side=7
|
||||
ai_type=assassin
|
||||
action=add
|
||||
|
||||
[filter]
|
||||
id=Cloaked Figure
|
||||
[/filter]
|
||||
[filter_second]
|
||||
id=Kaleh
|
||||
[/filter_second]
|
||||
[/micro_ai]
|
||||
|
||||
[message]
|
||||
speaker=Cloaked Figure
|
||||
image=portraits/cloaked.png
|
||||
|
@ -2120,11 +2120,9 @@
|
|||
{ALLY_REINFORCEMENTS}
|
||||
[/event]
|
||||
|
||||
#TODO 23 turns after the player entered the big cave?
|
||||
#isn't that a little too long?
|
||||
[set_variable]
|
||||
name=assassin_turn
|
||||
rand=13..23
|
||||
rand=13..18
|
||||
[/set_variable]
|
||||
[event]
|
||||
name="turn $($turn_number|+$assassin_turn|)"
|
||||
|
@ -2563,6 +2561,12 @@
|
|||
fire_event=no
|
||||
[/kill]
|
||||
|
||||
[micro_ai]
|
||||
side=7
|
||||
ai_type=assassin
|
||||
action=delete
|
||||
[/micro_ai]
|
||||
|
||||
[message]
|
||||
speaker=Kaleh
|
||||
message= _ "Where did he go? How does he disappear like that? And what in Uria’s name was he ranting about? Whoever that is is starting to make me get edgy."
|
||||
|
|
|
@ -139,17 +139,6 @@
|
|||
[ai]
|
||||
aggression=0.90
|
||||
caution=0.10
|
||||
#ifdef WIP
|
||||
# TODO: Make them attack Kaleh more
|
||||
# This goal doesn't have that effec
|
||||
[goal]
|
||||
name=target
|
||||
[criteria]
|
||||
id=Kaleh
|
||||
[/criteria]
|
||||
value=20
|
||||
[/goal]
|
||||
#endif
|
||||
[/ai]
|
||||
[/side]
|
||||
|
||||
|
@ -260,6 +249,25 @@
|
|||
|
||||
{INCREASE_RECRUIT_COSTS 1}
|
||||
|
||||
# Try simulating tentacles preferring Kaleh as a target.
|
||||
# No more than 2 tentacles should focus him, the others
|
||||
# will choose other victims.
|
||||
[micro_ai]
|
||||
side=5
|
||||
ai_type=simple_attack
|
||||
action=add
|
||||
|
||||
[filter_second]
|
||||
id=Kaleh
|
||||
[not]
|
||||
[filter_adjacent]
|
||||
side=5
|
||||
count=3-6
|
||||
[/filter_adjacent]
|
||||
[/not]
|
||||
[/filter_second]
|
||||
[/micro_ai]
|
||||
|
||||
#secret tomb furnishings
|
||||
{PLACE_IMAGE items/rune-violet2.png 45 21}
|
||||
{PLACE_IMAGE items/coffin-closed.png 49 24}
|
||||
|
@ -1733,6 +1741,12 @@
|
|||
[event]
|
||||
name=victory
|
||||
|
||||
[micro_ai]
|
||||
side=5
|
||||
ai_type=simple_attack
|
||||
action=delete
|
||||
[/micro_ai]
|
||||
|
||||
{CLEAR_VARIABLE tentacle_count}
|
||||
[/event]
|
||||
|
||||
|
|
|
@ -1706,18 +1706,37 @@
|
|||
speaker=Tanstafaal
|
||||
message= _ "Behold, our goddess has returned to us. All bow down to Eloh, our savior!"
|
||||
[/message]
|
||||
#TODO: add better role-based speaker selection
|
||||
[message]
|
||||
|
||||
[role]
|
||||
type_adv_tree=Quenoth Mystic
|
||||
side=1
|
||||
[not]
|
||||
id=Zhul
|
||||
[/not]
|
||||
role=mystic_speaker
|
||||
[/role]
|
||||
[role]
|
||||
type_adv_tree=Quenoth Fighter
|
||||
side=1
|
||||
role=fighter_speaker
|
||||
[/role]
|
||||
[role]
|
||||
type_adv_tree=Quenoth Scout
|
||||
side=1
|
||||
role=scout_speaker
|
||||
[/role]
|
||||
[role]
|
||||
type_adv_tree=Tauroch Rider
|
||||
side=1
|
||||
role=rider_speaker
|
||||
[/role]
|
||||
|
||||
[message]
|
||||
role=mystic_speaker
|
||||
message= _ "The Goddess!"
|
||||
[/message]
|
||||
[message]
|
||||
type_adv_tree=Quenoth Fighter
|
||||
side=1
|
||||
role=fighter_speaker
|
||||
message= _ "Forgive me my sins!"
|
||||
[/message]
|
||||
[message]
|
||||
|
@ -1733,21 +1752,15 @@
|
|||
message= _ "I come to you with dire news: one of you has betrayed me, and is a traitor to your cause."
|
||||
[/message]
|
||||
[message]
|
||||
type_adv_tree=Quenoth Mystic
|
||||
[not]
|
||||
id=Zhul
|
||||
[/not]
|
||||
side=1
|
||||
role=mystic_speaker
|
||||
message= _ "What?"
|
||||
[/message]
|
||||
[message]
|
||||
type_adv_tree=Quenoth Scout
|
||||
side=1
|
||||
role=scout_speaker
|
||||
message= _ "No!"
|
||||
[/message]
|
||||
[message]
|
||||
type_adv_tree=Tauroch Rider
|
||||
side=1
|
||||
role=rider_speaker
|
||||
message= _ "Who?"
|
||||
[/message]
|
||||
[message]
|
||||
|
@ -1777,8 +1790,7 @@
|
|||
message= _ "Wait, my people, do not be deceived. This thing that appears by Tanstafaal’s side is not our god. I too was fooled at first, but I have come to realize by her actions that she is an impostor. When she appeared to me the night before Garak died, she told me to kill all that lived under the mountains, even the dwarves who ended up helping us. Likewise when we escaped from the caves, she appeared to me again, and told me to bow down to the humans, else she would destroy me. Never has Eloh threatened one of us or dictated our actions."
|
||||
[/message]
|
||||
[message]
|
||||
type_adv_tree=Quenoth Fighter,Quenoth Scout
|
||||
side=1
|
||||
role=fighter_speaker
|
||||
message= _ "Why should we trust you? We have not heard Eloh’s words directly. Only now that you have led us into this folly has Eloh appeared to us."
|
||||
[/message]
|
||||
[message]
|
||||
|
@ -1792,8 +1804,7 @@
|
|||
message= _ "Wait, my people, do not be deceived. This thing that appears by Tanstafaal’s side is not our god. I too was fooled at first, but I have come to realize by her actions that she is an impostor. When she appeared to me the night before Garak died, she told me to kill all that lived under the mountains, even the trolls who ended up helping us. Likewise when we escaped from the caves, she appeared to me again, and told me to bow down to the humans, else she would destroy me. Never has Eloh threatened one of us or dictated our actions."
|
||||
[/message]
|
||||
[message]
|
||||
type_adv_tree=Quenoth Fighter,Quenoth Scout
|
||||
side=1
|
||||
role=fighter_speaker
|
||||
message= _ "Why should we trust you? We have not heard these words directly. Only now that you have led us into this folly has she appeared to us."
|
||||
[/message]
|
||||
[message]
|
||||
|
|
Loading…
Add table
Reference in a new issue