Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
I just uploaded it there .
Still gg for doing it on your side.
shows only while aiming.
shows bare hand attack distance.
if TchernoLib is active, shows a thick circle.
Change the code in the file "ShowAttackDistance.lua" as follows (commented out part is the original...):
function ShowAttackDistance.useValidWeapon(playerObj)
local weaponType = WeaponType.getWeaponType(playerObj)
-- if weaponType == WeaponType.barehand or weaponType == WeaponType.handgun or weaponType == WeaponType.firearm -- this is one line
if weaponType == WeaponType.handgun or weaponType == WeaponType.firearm
function ShowAttackDistance:render()
if ShowAttackDistance.isShowAttackDistance(self.playerObj) and ShowAttackDistance.useValidWeapon(self.playerObj) then -- this is one line
local weaponItem = self.playerObj:getPrimaryHandItem();
-- Insert the following lines of code:
if not weaponItem or weaponType == WeaponType.barehand then
weaponItem = InventoryItemFactory.CreateItem("Base.BareHands")
end
It can be done simply by adding one function call in the file "ShowAttackDistance.lua":
In the function "function ShowAttackDistance:render()"
Change the first line
"if ShowAttackDistance.isShowAttackDistance(self.playerObj) and ShowAttackDistance.useValidWeapon(self.playerObj) then"...
as follows:
"if self.playerObj:isAiming() and ShowAttackDistance.isShowAttackDistance(self.playerObj) and ShowAttackDistance.useValidWeapon(self.playerObj) then"...
This is simple insertion of self.playerObj:isAiming() in the if-statement.
saves the visibility with player mod data.
adds Mod Manager icon.
not worth investing., unless... you pair it with: say, while aiming the sound radius shrinks, then you can see the circle shrinking, then that would be useful..
not that im hinting on anything.. :P
[code]
local soundRay;
if weaponItem.isRanged and weaponItem:isRanged() then
soundRay = weaponItem:getSoundRadius()
local sR,sG,sB,sA = 0.8,0.4,0.4,1
self:renderIsoCircle(self.playerNum, posX, posY, posZ, soundRay, sR,sG,sB,sA)
end
[/code]
Can be deactivated from right click at the feet of the character. (untick the contextual menu dedicated button to hide)
OPTIONS >> DISPLAY >> Cursor >> Aim outline (set AnyWeapon)
OPTIONS >> DISPLAY >> Cursor >> Iso cursor visibility (set it at 100% then decrease it as long at you can see it)
If you continue to loose it I do not know what can be done that would be better.
@trashcanhands good idea