Kingdom Come: Deliverance
0 of 0

File information

Last updated

Original upload

Created by

CrEaToXx

Uploaded by

CrEaToXx

Virus scan

Safe to use

Tags for this mod

About this mod

Another one in my additional XP series of mods...

Permissions and credits
Changelogs
Shooting Archery Targets Gives XP

What this?

Basically the same as the Wayshrine XP Mod, only giving you 1 XP when shooting archery targets, and exactly hitting bullseye.

But why?

Because someone requested it, and I figured it's a good idea, if I'd manage to remove the "cheating". I did so by adding vector check code.

How did you do it?

Hacking the ShootingTarget.lua, and adding the following code to the previously unused client OnHit function block

function ShootingTarget.Client:OnHit(hit)
local vectorTemp=g_Vectors.temp;
SubVectors(vectorTemp,self:GetPos(),hit.pos);
local distance=LengthVector(vectorTemp);
distance=((1-(distance*2))+0.08)*10;
if(distance>10.5)then
player.soul:AddSkillXP('weapon_bow', 1)
RPG.NotifyLevelXpGain('weapon_bow')
end

end


How to install?

If you're familiar with KcD you know the drill. Just extract the .7z and put the folder into the mods folder of your KcD install. Since this is the only mod that I'm aware of editing the caption objects, I guess there's not going to be any conflicts. Consult Google if you're in trouble. It's probably going to produce a faster response if you can't get the mod running.

I'm playing with the season pass(all DLCs) version of the game, with the latest update 1.9.6. So anything without that might cause issues, because DLCs sometimes mess with the files in unnatural ways. Blame the damn havok.

You mentioned "other" XP mods?

Here and here.

I want to report a bug?

Use the comment section.