We have a new Beta: v0.8.13 ("Troubling Times") !
Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.12.1) from Google, F-Droid, our server, or itch.io
Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.12.1) from Google, F-Droid, our server, or itch.io
Github Fork: Ranged Weapons, Monsters follow player and/or flee.
- Voom
- VIP
- Posts: 617
- Joined: Sat Dec 19, 2015 5:24 pm
- android_version: 7.0
- Location: Fort Lauderdale, FL
Re: Github Fork: Attacked Monsters Follow Player when he Flees, Mons Flee when low HP, Basic Ranged Attacks Support
Yes, I understand. That's good, long press will prevent the mistake of pressing the wrong tile.
Voom
-
- VIP
- Posts: 204
- Joined: Wed Dec 30, 2015 8:00 am
- android_version: 4.3
Re: Github Fork: Attacked Monsters Follow Player when he Flees, Mons Flee when low HP, Basic Ranged Attacks Support
I made edits to fleeing and ranged combat that will make everything much easier.Voom wrote:Yes, I understand. That's good, long press will prevent the mistake of pressing the wrong tile.
(Checkout the update log on first page for more info, or even download the modified game and try it)
2 new ranged weapons. Max weapon range now shows in item info.
Fleeing from combat works normally again (if no monsters in adjacent tile), and...
All monsters follow the player -- in real time -- after he flees combat.
(for a limited distance).
Can target monsters outside combat without the "aim" button.
But "safe aim" can still be used to select a target without accidentally moving.
There's an option to make aiming necessary so you always need to press "aim" to start ranged combat.
(This prevents accidentally attacking monsters while moving, but it is not necessary because you can flee on the first turn ad they will not follow)
Last edited by twirlimp on Mon Jan 04, 2016 6:56 pm, edited 1 time in total.
ideas plox
-
- VIP
- Posts: 204
- Joined: Wed Dec 30, 2015 8:00 am
- android_version: 4.3
Re: Github Fork: Attacked Monsters Follow Player when he Flees, Mons Flee when low HP, Basic Ranged Attacks Support
Code Changes of interest to content creators
1 new proeprty for items & weapons.
"increaseMaxRange"
"hpFleeThreshold", "lineOfSight", "rageMultiplier".
Fleeing currently only works outside combat.
Inside combat they just freeze and wait till they die/combat ends.
1 new proeprty for items & weapons.
"increaseMaxRange"
3 new properties for monsters.increaseMaxRange basically determines the range of the weapon.
Default is 0 which means it is a melee weapon and you can shoot adjacent tiles.
The new ranged weapons have range of +2, +4, and +4, with increasing accuracy debuffs to compensate.
"hpFleeThreshold", "lineOfSight", "rageMultiplier".
Notes. Following and line of sight work as expected, but fleeing not so much.Rage multiplier determines by how much they will follow player (outside combat).
0 means never follow,
1.0 means they follow by number of steps equal to distance when first attacked
(so if it moves in a straight line it will reach the player position at attack time),
2.0 means it will go double that distance, and so on.
Default in JSON data is now 1.0, so you should be pretty safe if you move just one square.
Line of sight determines whether they will try to move to engage player when attacked from afar.
0 means that they do not engage even when attacked with melee,
1 means they do not move in combat but will attack you if adjacent.
10 means they have line of sight of ten tiles.
Default in JSON data is now 200, which is more than 20 times the range of any bow so far.
HP threshold determines when they flee.
0 means they never flee,
1.0 mean they flee when combat starts (100%hp), 0.2 means they flee at 20% hp.
Default in JSON data is now 0.2
Fleeing currently only works outside combat.
Inside combat they just freeze and wait till they die/combat ends.
ideas plox
-
- VIP
- Posts: 204
- Joined: Wed Dec 30, 2015 8:00 am
- android_version: 4.3
Re: Github Fork: Ranged Weapons, Monsters follow player, Monsters flee at low HP.
So I was thinking of a solution for how to handle obstacles.
At first I thought of many complex work-arounds but eventually I decided on a fair compromise:
Ranged attacked should not be used to shoot if there is an unwalkable tile between you.
This is very fair since if it were melee combat, you wouldn't be able to attack either.
What are your thoughts?
At first I thought of many complex work-arounds but eventually I decided on a fair compromise:
Ranged attacked should not be used to shoot if there is an unwalkable tile between you.
This is very fair since if it were melee combat, you wouldn't be able to attack either.
What are your thoughts?
ideas plox
-
- VIP
- Posts: 573
- Joined: Sat Jun 21, 2014 4:00 am
- android_version: 9.0 - Pie
- Location: lodar's hideout
Re: Github Fork: Ranged Weapons, Monsters follow player, Monsters flee at low HP.
yeah, absolutely. considering the fact that AT is an old school type game, most peoples should not have any problem.twirlimp wrote:So I was thinking of a solution for how to handle obstacles.
At first I thought of many complex work-arounds but eventually I decided on a fair compromise:
Ranged attacked should not be used to shoot if there is an unwalkable tile between you.
This is very fair since if it were melee combat, you wouldn't be able to attack either.
What are your thoughts?
-
- VIP
- Posts: 204
- Joined: Wed Dec 30, 2015 8:00 am
- android_version: 4.3
Re: Github Fork: Ranged Weapons, Monsters follow player, Monsters flee at low HP.
Perfect XDace wrote:yeah, absolutely. considering the fact that AT is an old school type game, most peoples should not have any problem.twirlimp wrote:So I was thinking of a solution for how to handle obstacles.
At first I thought of many complex work-arounds but eventually I decided on a fair compromise:
Ranged attacked should not be used to shoot if there is an unwalkable tile between you.
This is very fair since if it were melee combat, you wouldn't be able to attack either.
What are your thoughts?
I'll try to submit this feature within a day.
Do you think bows should have criticals?
so far I gave them strong accuracy debuffs and was wondering if they're too weak how compared to weapons of their tier.
ideas plox
- Nut
- Posts: 1770
- Joined: Mon Oct 27, 2014 12:14 pm
- android_version: 8.0
- Location: Glade
Re: Github Fork: Ranged Weapons, Monsters follow player, Monsters flee at low HP.
I tried the apk - really nice piece of work!
- You are right, no need of ammunition is better for AT. It fits good like you have realized it.
- I also like that there is no need to go and gather all dropped items. First I thought it a bit strange, that all those dropped items fly automatically from afar to me, but otherwise I would be too lazy to gather it all and thus litter the Environment...
-
On the other hand it is not realistic not to be able to shoot e.g. across a river.
Some thoughts:So I also vote for using the walkable attribute as shooting-possible now.
- Bow with criticals - why not? Maybe a candidate for a new legendary item?
Just some more things:
1) In one aim mode, equipped with a bow, I could just pass through all monsters. (bug or a feature?
)
2) Now I'd like to switch weapon from bow to sword and back often. Maybe it is possible to change the inventary, so that new or unequipped items gets in first inventary position instead of last?
3) Should it be possible for foes to shoot arrows too?
By the way: Cleaning Gargoyles Cave is much faster now

- You are right, no need of ammunition is better for AT. It fits good like you have realized it.
- I also like that there is no need to go and gather all dropped items. First I thought it a bit strange, that all those dropped items fly automatically from afar to me, but otherwise I would be too lazy to gather it all and thus litter the Environment...
-
I think it is fair indeed, and does not give too many disadvantages to foes.Ranged attacked should not be used to shoot if there is an unwalkable tile between you.
This is very fair since if it were melee combat, you wouldn't be able to attack either.
On the other hand it is not realistic not to be able to shoot e.g. across a river.
Some thoughts:
- Bow with criticals - why not? Maybe a candidate for a new legendary item?
Just some more things:
1) In one aim mode, equipped with a bow, I could just pass through all monsters. (bug or a feature?

2) Now I'd like to switch weapon from bow to sword and back often. Maybe it is possible to change the inventary, so that new or unequipped items gets in first inventary position instead of last?
3) Should it be possible for foes to shoot arrows too?
By the way: Cleaning Gargoyles Cave is much faster now

Nut
-
- VIP
- Posts: 573
- Joined: Sat Jun 21, 2014 4:00 am
- android_version: 9.0 - Pie
- Location: lodar's hideout
Re: Github Fork: Ranged Weapons, Monsters follow player, Monsters flee at low HP.
since bows can be used to aim different body parts like neck, head, forehead, arms, legs etc., so, IMO instead of having critical chance we can have an accuracy chance which will give extra damage when arrows hits vulnerable parts enemies.twirlimp wrote:Perfect XDace wrote:yeah, absolutely. considering the fact that AT is an old school type game, most peoples should not have any problem.twirlimp wrote:So I was thinking of a solution for how to handle obstacles.
At first I thought of many complex work-arounds but eventually I decided on a fair compromise:
Ranged attacked should not be used to shoot if there is an unwalkable tile between you.
This is very fair since if it were melee combat, you wouldn't be able to attack either.
What are your thoughts?
I'll try to submit this feature within a day.
Do you think bows should have criticals?
so far I gave them strong accuracy debuffs and was wondering if they're too weak how compared to weapons of their tier.
-
- VIP
- Posts: 204
- Joined: Wed Dec 30, 2015 8:00 am
- android_version: 4.3
Re: Github Fork: Ranged Weapons, Monsters follow player, Monsters flee at low HP.
Actually this can be done to all weapons. All we have to do is replace the "critical hit" message with "you hit the face! critical!".ace wrote:since bows can be used to aim different body parts like neck, head, forehead, arms, legs etc., so, IMO instead of having critical chance we can have an accuracy chance which will give extra damage when arrows hits vulnerable parts enemies.twirlimp wrote:Perfect XDace wrote:
yeah, absolutely. considering the fact that AT is an old school type game, most peoples should not have any problem.
I'll try to submit this feature within a day.
Do you think bows should have criticals?
so far I gave them strong accuracy debuffs and was wondering if they're too weak how compared to weapons of their tier.
And face/neck/heart could depend on the critical damage.
ideas plox
-
- VIP
- Posts: 573
- Joined: Sat Jun 21, 2014 4:00 am
- android_version: 9.0 - Pie
- Location: lodar's hideout
Re: Github Fork: Ranged Weapons, Monsters follow player, Monsters flee at low HP.
not exactly. since a person with only bow will have to greatly depend on the accuracy, bcz if an arrow hits armor or non-vulnerable part of enemy then it is surely an advantage for enemies. but in melee combat you know where exactly you have to swing your sword but what matters here is how fast and hard you hit a spot on your enemy that is you do a critical attack.twirlimp wrote:
Actually this can be done to all weapons. All we have to do is replace the "critical hit" message with "you hit the face! critical!".
And face/neck/heart could depend on the critical damage.