Page 2 of 2

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 9:37 am
by Calvin
it wont let me post code for some reason

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 9:38 am
by Calvin
Forbidden
You don't have permission to access /community/posting.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

very strange

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 9:40 am
by Calvin
there is a script called Fists, which is separate to the other weapons, but it's the CheckHit function you should be looking at

it's possible ssi doesn't effect it though yeah, because i cant see anything in the fists script for it, and UBWS doesn't count for fists apparently

make sure you're only looking at the AOS stuff, cos there's like 2 games in those scripts

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 9:43 am
by Calvin
the CheckHit function directly grabs the attackers HCI, and the defenders DCI, IT DOES NOT ACCESS ANY WEAPON INFORMATION.

it simply sees that A has swung at B, then gets the stats for A, and B, directly from their mobile.


my point is the swing speed is set in the weapon, the damage is set in the weapon, the special move is set in the weapon, but the checkhit function only looks at your wep skill, their wep skill, then gets your HCI, and their DCI, (also looks if HLD is in effect and stuff), but it does not matter what weapon you are using for this function, it just grabs the numbers.

the Fists script contains no hit check code.

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 9:52 am
by Calvin
tell ya what though, it is interesting what does effect things:
double wresValue = defender.Skills[SkillName.Wrestling].Value;
double anatValue = defender.Skills[SkillName.Anatomy].Value;
double evalValue = defender.Skills[SkillName.EvalInt].Value;
double incrValue = (anatValue + evalValue + 20.0) * 0.5;

it's got arms lore in there too :S

also seems to have a thing for ranged attacks vs fists..
+oh right yeah it's on about parrying

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 9:54 am
by Tanya
So SSI doesn't affect on HCI?

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 9:56 am
by Calvin
you mean wrestling?

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 9:58 am
by Calvin
it seems the only reason fists has a separate script to the other weapons, is because it uses other skills like anatomy, arms lore, and eval int to decide if the special move works

but yeah it is possible stuff is missing from it because it's different to the others. HOWEVER, the check hit function is still the same.
the outputs from fists will be different, but those outputs are then put into the same combat code.

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 10:01 am
by Calvin
i suppose the upshot is you have a much better chance to disarm/stun with fists than you do with a weapon that has disarm on it

because it uses other skills to modify the chance. but i think that's the only difference


+ so does disarm with fists require tactics or arms lore?
it's weird this...

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 10:06 am
by Calvin
anyway the short answer for this thread is yes.

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 12:01 pm
by Mr Straitions
Calvin wrote:it wont let me post code for some reason
Post a screenshot of the code?

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 12:29 pm
by Bama
Calvin wrote:it wont let me post code for some reason

Its the firewall of the service supplier that they are using to host the website on.

That is what I was told when I asked about a thread I wanted to post in but kept getting that same forbidden error

I had to change the title of the thread to fix it for me

Though I still have to quote someone in the thread to get it to work

Re: Does HCI effect wrestling

Posted: July 25th, 2018, 12:36 pm
by Calvin
Image

Image