Jump to content


Photo

Change of the archers range

archers; bow; range

  • Please log in to reply
3 replies to this topic

#1 nabilbek

nabilbek
  • New Members
  • 2 posts

Posted 03 June 2023 - 06:48 PM

Hello Guys,

 

I was really missing the old days of BFME 2 before the long archer range updates that came later, when I used to get archers on the upper level of the helm's deep and fire for miles away  <:)

is it possible that I edit this into Age of the ring? or any workaround?

 

The new helm's deep map is really amazing but the archer range is kinda underwhelming .... even from the movies, they were able to fire for a longer distance before the ramp leading to the main gate, but now we barely fire at couple of inches from the gate ...

 

Loving this mod

Wish this gets some attention  :mellowthumbsup:  



#2 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,438 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 10 June 2023 - 09:43 PM

It's possible, easy, but time-consuming if you want to change it for every archer unit there is.

 

In the folder AotR is installed, find this file:

\data\ini\weapon.ini

 

Open it with a text-editor, then find the weapon of the archer you want (Ctrl+F should let you search, in most cases).

Now, finding the ones you want to change can be a challenge, if you're not familiar with coding BFME, and even if you are. You see, There's over 2000 references to either AttackRange (a good thing to search for), which is the value that determines the attack range, which makes it take quite a while. AttackRange applies to all ranged weapons, so you'll have to sift through archers, spear-throwers, catapults and ranged magical abilites, and probably some I forget. It's tedious, to say the least, but quite possible. If you just want to play around with your favourite faction, you can search for the name of the units you want (ie., MirkwoodRanger), or logical clues like bow or archer. If you want to adjust all of them, searching AttackRange and changing them as you go is probably best. You can technically look through the entire file manually, but I think it's around 60-70k lines of code, so it will probably take a while...

 

If we use an example:

MirkwoodRangerBow has the range of exactly ELVEN_LORIENARCHER_ARCHER_RANGE. You can simply replace ELVEN_LORIENARCHER_ARCHER_RANGE with any number. However, if you want to know what the range actually is original (ie., what ELVEN_LORIENARCHER_ARCHER_RANGE is), you'll have to find it in either \data\ini\gamedata.ini (or \data\ini\default\water.ini). In gamedata.ini you can search for ELVEN_LORIENARCHER_ARCHER_RANGE and find that it's set to 350, so if you set the AttackRange in weapon.ini to 700 you know that it'll be twice the range. Don't change anything in gamedata.ini itself, that file is one of few that won't be read by the game when you play the mod, so any changes are ignored. Any changes you make to weapon.ini will work, however. So, you can safely set the AttackRange = 700, or any number of your choice.

 

I'd recommend making a copy of your installed AotR folder so you have a backup without having to redownload.


T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link


#3 nabilbek

nabilbek
  • New Members
  • 2 posts

Posted 17 June 2023 - 06:00 PM

it feels like earlier it was archers have normal range, but when elevated on walls they shoot for miles, which was logical and cool ... maybe there is an option for this?

 

Sounds very complicated what you said for a noob like me haha but I'll give it a try

Surprised I'm the only one missing this :(



#4 Lauri

Lauri

    Old man Lauri

  • Hosted
  • 10,438 posts
  • Location:Norway
  • Projects:The 4th Age
  •  The very worst T3A Team Chamber Member

Posted 26 June 2023 - 04:13 PM

That is still a feature in the game. Not sure what AotR has done with it, but if it was removed, you can add it back.

 

Though, again, it would require you to go and change all the archer units manually...


T4A_Logo_-_article.png

The 4th Age version 0.8 has been released: Link





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users