Ranged units to shoot from distance of 2 or more hexes

It's not easy creating an entire faction or era. Post your work and collaborate in this forum.

Moderators: Forum Moderators, Developers

Post Reply
User avatar
Khadras
Posts: 31
Joined: July 23rd, 2011, 5:57 am
Location: Romania

Ranged units to shoot from distance of 2 or more hexes

Post by Khadras » July 27th, 2011, 12:22 pm

It will be possible that ranged units, like archers, to shoot from 2 hexes away? It would be nice to have archers to shoot from second line (2 or 3 hexes distance) and melee units attacking in front line.

User avatar
Crendgrim
Moderator Emeritus
Posts: 1328
Joined: October 15th, 2010, 10:39 am
Location: Germany

Re: Ranged units to shoot from distance of 2 or more hexes

Post by Crendgrim » July 27th, 2011, 12:50 pm

Not with the current state of the engine without much additional work (and context menu options).
You could for example use a context menu at the archer, and one in two or three hexes distance on each hex. The first would select the archer which is supposed to shoot, and the second the target. Then you'll have to manually execute the combat. This won't be usable by the AI, though — and I don't know whether this would really work (probably, but it's a ton of work).


Crend
UMC Story Images — Story images for your campaign!

Velensk
Multiplayer Contributor
Posts: 3988
Joined: January 24th, 2007, 12:56 am

Re: Ranged units to shoot from distance of 2 or more hexes

Post by Velensk » July 27th, 2011, 12:56 pm

There is an era which implemented code that would allow one to attack at a distance. I believe it was called the ranged era and it might still be around. That said it was somewhat clunky and not at all balanced.
"There are two kinds of old men in the world. The kind who didn't go to war and who say that they should have lived fast died young and left a handsome corpse and the old men who did go to war and who say that there is no such thing as a handsome corpse."

mich
Translator
Posts: 134
Joined: November 11th, 2008, 8:54 am
Location: Italy

Re: Ranged units to shoot from distance of 2 or more hexes

Post by mich » July 27th, 2011, 1:11 pm

Yes, as Velensk said, you can try the ranged era. You can find it in the add on server for wesnoth 1.8. At the moment I don't plan to port it to wesnoth 1.9/10, cause it's based on old code (wesnoth 1.4), and probably it's better to start again from scratch than to update the old code.
The era is not balanced at all, but that was not the purpose of the add on, at that time.

User avatar
Khadras
Posts: 31
Joined: July 23rd, 2011, 5:57 am
Location: Romania

Re: Ranged units to shoot from distance of 2 or more hexes

Post by Khadras » July 28th, 2011, 5:48 am

Thanks for the informations! I will study them.

The Great Rings
Posts: 738
Joined: January 26th, 2008, 10:39 pm
Location: On the front line of battle, defying hopeless odds

Re: Ranged units to shoot from distance of 2 or more hexes

Post by The Great Rings » July 30th, 2011, 10:42 pm

Modern Combat era also allows multi-hex ranged attacks, I believe.
"One man alone cannot fight the future"-
The X-files

"Send these foul beasts into the abyss"-Gandalf

User avatar
MattDakka
Posts: 145
Joined: April 9th, 2009, 1:45 pm
Location: Italy

Re: Ranged units to shoot from distance of 2 or more hexes

Post by MattDakka » July 30th, 2011, 11:28 pm

Yes it does, but not with as many units as Ranged Era.
Favourite Eras: Ageless Era; Eastern Europe at War.
Favourite MP Map: Creep War.

Post Reply