The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Archery Range
Author Message
sgt912
Apprentice
*

Posts: 12
Likes Given: 9
Likes Received: 4 in 4 posts
Joined: Sep 2017
Reputation: 0



Post: #1
Archery Range
How do I go about changing the range for various ‘special’ bows?

I’ve tried changing the ranges in sphere.ini and added ranges to the items themselves, but whatever I do, it seems I can’t shoot further than about 10 squares!

I’ve trawled through a lot of threads and found a similar query from a couple of years ago and the answer was cryptic (to me at least!)...
’... 2RE: Archery max distance
The Range attribute of an archery weapon always override the ArcheryMaxDist and ArcheryMinDist.
All weapons comes with the range attribute already set in their item definition...!

I checked all of the ‘standard’ bows and ranged weaponry and changed them just to see what happens and... still the same, so how do I go about giving bows and crossbows ranges beyond the standard 10 or so squares.
03-29-2021 08:04 AM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #2
RE: Archery Range
I think this is hardcoded and nothing you can do without modifying sphere source code.

Grandmaster Localhost Admin
03-29-2021 04:35 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
sgt912
Apprentice
*

Posts: 12
Likes Given: 9
Likes Received: 4 in 4 posts
Joined: Sep 2017
Reputation: 0



Post: #3
RE: Archery Range
Damn!

OK - no worries, thanks for the reply; I was trying to script a 'Robin Hood Bow' that had longer range and slightly elevated damage and was going to try and replicate the two arrow thing from the Kevin Costner version of the film, but that was a thing for the future as I'm not quite sure where I'd need to start to have a bow firing two arrows at once Cry
03-29-2021 07:08 PM
Find all posts by this user Like Post Quote this message in a reply
Jhobean
Journeyman
*

Posts: 98
Likes Given: 11
Likes Received: 9 in 3 posts
Joined: Jun 2019
Reputation: 2



Post: #4
RE: Archery Range
Did you try range=x,x. In the itemdef?

https://www.uocryptonite.com/
07-08-2021 10:11 AM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #5
RE: Archery Range
This setting I feel does not work, Jhobean. I think we solved it about a year ago for the X1 version. Range L and Range H don't have much of an effect I think. But I don't know what it's like on 56d.
07-08-2021 11:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)