View unanswered posts | View active topics
|
Page 1 of 1
|
[ 13 posts ] |
|
| Author |
Message |
|
MontuZ
|
Post subject: Equip script handling ar Posted: Mon Jan 08, 2007 5:46 am |
|
 |
| Distro Developer |
 |
Joined: Fri Feb 10, 2006 8:08 am Posts: 313 Location: Myrtle Beach, South Carolina
|
Instead of the core doing it, I'd rather take care of adding AR from Armour in my equipscripts.
Oh, and weight, *wink*
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Mon Jan 08, 2007 5:50 am |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
That's what ar_mod is for.
Weight......... yeah right 
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
MontuZ
|
Post subject: Posted: Mon Jan 08, 2007 7:33 am |
|
 |
| Distro Developer |
 |
Joined: Fri Feb 10, 2006 8:08 am Posts: 313 Location: Myrtle Beach, South Carolina
|
Be like Nike, just do it.
(Scratch the weight part, I didn't put much thought into that.)
|
|
| Top |
|
 |
|
MontuZ
|
Post subject: Posted: Mon Jan 08, 2007 2:43 pm |
|
 |
| Distro Developer |
 |
Joined: Fri Feb 10, 2006 8:08 am Posts: 313 Location: Myrtle Beach, South Carolina
|
|
What I mean is. The cfg setting AR is being added to the mobile by the core. I don't want it to do that, I do. Instead of just setting the cfg AR to 0 then making my own entry, which is what I'm doing now, lol.
Now ya get it? =D
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Mon Jan 08, 2007 5:50 pm |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
No, considering you can do that in scripts already.
Why make the equip return with it, the AR for the item, when you can do the same stuff as you would for that, then set ar_mod for it. 
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
MontuZ
|
Post subject: Posted: Mon Jan 08, 2007 10:24 pm |
|
 |
| Distro Developer |
 |
Joined: Fri Feb 10, 2006 8:08 am Posts: 313 Location: Myrtle Beach, South Carolina
|
|
I just don't get why equiping a plate chest with 1000AR ar_mod=957 and AR=43(example) and it showing up as 1421 equiped. And if I want 1000AR even I have to set ar_mod=655 and AR=43. And if AR=0 and ar_mod=1000 would be showing up as like 440AR equiped?
Am I just missing something here? I'm guessing attributes, quality and layers influence these changes. And if they do, well... I wanna be the one to do it and not the core.
(don't kill me,:oops:)
I'm kind of surprised Marilla hasn't stepped in and gave me a five paragraph lecture. (I kinda miss those.)
Last edited by MontuZ on Mon Jan 08, 2007 10:30 pm, edited 2 times in total.
|
|
| Top |
|
 |
|
CWO
|
Post subject: Posted: Mon Jan 08, 2007 10:29 pm |
|
Joined: Sat Feb 04, 2006 5:49 pm Posts: 747 Location: Chicago, IL USA
|
|
what is the .quality of this armor? that affects the total number too. and what is the % of HP it has?
|
|
| Top |
|
 |
|
MontuZ
|
Post subject: Posted: Mon Jan 08, 2007 10:30 pm |
|
 |
| Distro Developer |
 |
Joined: Fri Feb 10, 2006 8:08 am Posts: 313 Location: Myrtle Beach, South Carolina
|
|
| Top |
|
 |
|
Yukiko
|
Post subject: Posted: Mon Jan 08, 2007 11:34 pm |
|
Joined: Thu Feb 02, 2006 1:41 pm Posts: 1122 Location: Southern Central USA
|
|
Let me take a stab at this one.
Are you saying that you don't understand why when you equip a breastplate that has a 1000 AR it goesn't show a full 1000 AR?
If so I can explain. It has to do with the coverage of the item. A breastplate only covers the body which is only part of the total area that needs protected. If you have a full set of plate with each item's AR set to 1000 and you equip them all then the AR will show up as 1000 on your character. The AR is a function of the AR of the item and the area(s) it covers.
I don't know if that helps you or if I explained it clearly. Ofcourse I may have misunderstood the issue totally to as I am wont to do from time to time.
*grins*
_________________ Sincerely,
Yukiko
I know you think you understand what you thought I said but what you heard is not exactly what I meant.
Titus 2:13
|
|
| Top |
|
 |
|
Austin
|
Post subject: Posted: Tue Jan 09, 2007 12:18 am |
|
 |
| POL Developer |
 |
Joined: Wed Jan 25, 2006 2:30 am Posts: 405 Location: San Diego, California
|
|
Correct, its based off armrzone.cfg zones and the item's coverages.
If you want to make it a 'solid' amount, you can set your armrzone.cfg to have one big zone and all armor equipment to use that or if you insist on handling it inside the equip scripts, set all AR values in itemdesc.cfg entries to 0 and a custom config value like ARMOD, read that in, and set that on the mobile equipping it.
_________________ -Austin
|
|
| Top |
|
 |
|
MuadDib
|
Post subject: Posted: Tue Jan 09, 2007 7:16 am |
|
 |
| POL Developer |
 |
Joined: Sun Feb 12, 2006 9:50 pm Posts: 836 Location: Indiana, USA
|
|
This DOES bring up some interesting questions..... As I am too lazy to look it up in the source....... Set everything up to cover it all, so it gives 100%..... so would each 1000ar peice then give 1000 to the total.....?
If so, that's the easiest way to match OSI, since there, it gives truly what it reads, not a % based off the coverage. Nice way to do it actually, lets everyone have their own customizable methods if it does, just by editing coverage.
_________________ POL Developer - The Penguin Scripter
|
|
| Top |
|
 |
|
MontuZ
|
Post subject: Posted: Tue Jan 09, 2007 9:38 pm |
|
 |
| Distro Developer |
 |
Joined: Fri Feb 10, 2006 8:08 am Posts: 313 Location: Myrtle Beach, South Carolina
|
Austin, I did set all AR entries to 0 and made my own. The core still bugs with the armor rating. The examples I showed up there are only a few results with me using my custom cfg AR entry.
As shown.
Quote: //Armor Info Armour 341 AR 0 Coverage Body
It's working, but only to a point. After some high value(only tested with 1000) the core steps in and makes changes that I don't like.
As for script customization, the core is making this a rough stepping stone(In my case.). I feel this is an issue like Spells, the core did all the checks in the past, but now we have to script everything which opens more windows.
Oh, and maybe even removing the str requirement check =)
|
|
| Top |
|
 |
|
MontuZ
|
Post subject: Posted: Sun Feb 25, 2007 12:13 pm |
|
 |
| Distro Developer |
 |
Joined: Fri Feb 10, 2006 8:08 am Posts: 313 Location: Myrtle Beach, South Carolina
|
|
I fixed it, I just hooked 0x11 status packet and did it myself!
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 13 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|