banner
Rating
Voted0

Archery at targets gives XP

4
Mod version:0.1
Game version:1.9
The mod has been successfully tested for the absence of viruses
17649.72K430.2K

Report mod

  • image
  • image
  • image
  • image
modalImage

About This Mod

In fact, it's the same as Wayshrine XP Mod, only gives you 1 XP when shooting from the bow and hitting the bull accurately.


But why?


Because someone asked for it, and I thought it was a good idea if I could remove the "deception." I did this by adding a vector check code.


How did you do that?


If you crack the ShootingTarget.lua file, add the following code to the previously unused OnHit client feature 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 how to do it. Just unpack .7z and put the folder into your KcD's mods folder. Since this is the only mod I know that edits the objects of the inscriptions, I think there will be no conflict. If you are having problems, contact Google. This will probably give a faster answer if you can't run a mod.


I play the game with a season pass (all DLCs), with the latest update 1.9.6. So anything without it can cause problems, because DLC sometimes modify files in an unnatural way. The damn Havok is to blame.

Similar Mods/Addons

Game Version *

1.9 (Targets give XP-1520-0-1-1689866187.7z)