Description

UPD: Added shadows on installed scopes/silencers/grenade launchers! Fix for misaligned scopes/silencers/grenade launchers. Adjusted to vanilla icons. Version for Cr3pis Icons will be released as a separate addon.

Preview
[DLTX] Attachments Position Fix for Vanilla Icons
Post comment Comments
Schuchart
Schuchart - - 1,641 comments

Thank you muchly, this bugged me for far too long.

Reply Good karma Bad karma+1 vote
AbracaMacabra
AbracaMacabra - - 70 comments

I didn't know you could turn the items in the inventory, thanks!

Reply Good karma Bad karma-1 votes
BadaBoom_0325
BadaBoom_0325 - - 563 comments

Hohoho, awesome fix, almost tired to see a "flying" silencer on RPK-74.

Reply Good karma Bad karma+1 vote
Legapon
Legapon - - 69 comments

Excellent. Thanks.

Reply Good karma Bad karma+1 vote
Mich_Cartman
Mich_Cartman - - 3,795 comments

Yeeeeeees!
Thank you 🙂

Reply Good karma Bad karma0 votes
Bass-Junkie
Bass-Junkie - - 532 comments

I didn't know you could turn the items in the inventory, thanks!

how do u do that ?

Reply Good karma Bad karma0 votes
Guest
Guest - - 689,207 comments

Just put your gun into primary weapon slot.

Reply Good karma Bad karma+1 vote
TacoWithChela
TacoWithChela - - 306 comments

in the inventory not in the weapon slot

Reply Good karma Bad karma-2 votes
Guest
Guest - - 689,207 comments

How do you make weapon verticle?

Reply Good karma Bad karma+2 votes
konekomuffling
konekomuffling - - 28 comments

does this fix the missaligned silencers too? this looks like an essential addon, 10/10 of top, thanks

Reply Good karma Bad karma+1 vote
_Zazquatch_
_Zazquatch_ - - 73 comments

Wow what are those beautiful weapon-icons?

Reply Good karma Bad karma+1 vote
alisen88
alisen88 - - 288 comments

(buried)

There is NO change in the inventory, what does the mod do? The weapon in vertical position, in inventory only? How to rotate the weapon?

Some people write biblical explanations and others just put 4 letters!!!!!

Reply Good karma Bad karma-5 votes
Kahntei
Kahntei - - 91 comments

It changes the way the icon looks when it's equipped.

Reply Good karma Bad karma+1 vote
Kahntei
Kahntei - - 91 comments

Very odd, for me it's for sure better, but still not great. Silencers particularly are still all over the place.
Quick example screenshots, you can see what i mean. The scopes look good on those two, but the one on a mosin is still not right.

Before: Prnt.sc
After: Prnt.sc

Reply Good karma Bad karma+1 vote
_EverybodyLies_ Author
_EverybodyLies_ - - 9 comments

Addon fixes just technical error in game scripts, not original positions themselves

Reply Good karma+3 votes
Kahntei
Kahntei - - 91 comments

Yeah i noticed that after comparing my screenshots. Still a good step though. Would you happen to have an idea if/how one could change these positions?

Reply Good karma Bad karma+1 vote
_EverybodyLies_ Author
_EverybodyLies_ - - 9 comments

It can be done with manually adjusting positions for silencers for each misalligned case in config/weapons/w_weaponname.ltx
Icon offset is presented in silencer_x and silencer_y values.
I can recommend to use DLTX for get conflict-free result with other weapon modifying addons.

Reply Good karma+2 votes
Kahntei
Kahntei - - 91 comments

Awesome, will have to mess with this a bit. Thanks!

EDIT: Putting this here for anyone who wants it. I messed with some of the really bad placements for supressors and made them much better, I didn't line them up perfectly but definitely better. Pistols were tested in the sidearm slot, unfortunately putting them in the main slot is still kinda bad, regardless here ya go.

w_usp45.ltx -> UNDER [wpn_usp_match]:wpn_usp
silencer_x = 82
silencer_y = -11

w_sig220.ltx
silencer_x = 73
silencer_y = -13

w_sr25.ltx
silencer_x = 210
silencer_y = 22

w_rpk.ltx -> UNDER [wpn_rpk74]:wpn_rpk
silencer_x = 249
silencer_y = 11

w_m4a1.ltx
silencer_x = 215
silencer_y = 20

w_wa2000.ltx
silencer_x = 271
silencer_y = 25

w_9a91.ltx
silencer_x = 180
silencer_y = 12

Reply Good karma Bad karma+4 votes
_EverybodyLies_ Author
_EverybodyLies_ - - 9 comments

In case of you planning to continue your work on fixing silencers coordinates, i started do this for all attachments on vanilla & BaS guns, so you dont need to waste your time.
I have finish pistols already :)
Upd: Also have a Shotguns, SMG, Snipers, half of Rifles
Upd: Finished.

Reply Good karma+5 votes
incbox
incbox - - 134 comments

if you mean vertically rotated search Enhanced GUI INC. but its not ready yet.

Reply Good karma Bad karma+1 vote
Ezio2411
Ezio2411 - - 20 comments

"misalligned attachments"
So you're misleading now?

Reply Good karma Bad karma0 votes
Cenness
Cenness - - 8 comments

Alas, makes it even worse for 1440p - Cdn.imgchest.com

Reply Good karma Bad karma0 votes
ravenascendant
ravenascendant - - 1,098 comments

i have a more complete version of this fix in the script C3ripis uses in his icon pack

Moddb.com

i should probably publish it separately as a widescreen UI fix but there are still a few other ultra widescreen things that need fixing.

Reply Good karma Bad karma0 votes
Navajero
Navajero - - 1 comments

Thanks, Nikita, will give this a try :)

Reply Good karma Bad karma+1 vote
Bestworldeu
Bestworldeu - - 35 comments

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ...y\gamedata\scripts\utils_ui_icon_rotation_fix_mcm.script:37: attempt to index global 'icon_override' (a nil value)

stack trace:

Reply Good karma Bad karma+1 vote
_EverybodyLies_ Author
_EverybodyLies_ - - 9 comments

Oops. Fixed.

Reply Good karma+2 votes
Bestworldeu
Bestworldeu - - 35 comments

ye, no crash anymore
but when opening the inventory, there is now a stable freeze for 3-4 seconds. Perhaps it's worth leaving the previous version without shadows?

Reply Good karma Bad karma+2 votes
_EverybodyLies_ Author
_EverybodyLies_ - - 9 comments

Можешь и со старой играть. Фриз ведь может быть и не связан напрямую с моим аддоном, кто знает, с чем там идет неправильное взаимодействие. По сути, подобных проблем вызывать просто нечему, так что, остается только тестить наживую.

Reply Good karma+1 vote
Bestworldeu
Bestworldeu - - 35 comments

Ну тени явно нагружают и без того лагучий инвентарь и это факт.
Мб есть варик как-то завезти оптимизацию ну или сделать возможность отключать тени через МКМ.

Reply Good karma Bad karma+1 vote
_EverybodyLies_ Author
_EverybodyLies_ - - 9 comments

Тени иконок же не "просчитываются", это просто дублированная текстура, покрашеная в черный, которую подвинули на пару пикселей. Там буквально оптимизировать нечего.

Reply Good karma+1 vote
Joelfett
Joelfett - - 2 comments

Thanks, no more underbarrel silencers on the m9

Reply Good karma Bad karma+1 vote
RickG
RickG - - 28 comments

Привет, будут какие-нибудь обновления для вашего аддона? Когда мое оружие находится в рюкзаке, все работает хорошо, Но когда оно находится в слоте, то прицелы снова стоят не там где нужно. Я использую SIMPLIFIED VISION UI и BaS

Reply Good karma Bad karma+1 vote
janzenerik
janzenerik - - 9 comments

I noticed that this mod doesn't seem to be compatible with the Dynamic Icon Indicators mod. It seems to overwrite that mod and doesn't allow the icons to display.

Just something I noticed.

Reply Good karma Bad karma+2 votes
BoleBre
BoleBre - - 39 comments

Not working, misleading addon.

Reply Good karma Bad karma+1 vote
real_leaper
real_leaper - - 240 comments

Has massive DLTX conflict with Maid's Vanilla HD Icons, because that mod also includes different positioning fixes (they change the same fields to different values). Even though Maid's pack is Vanilla, and this addon is also Vanilla, they are not compatible.

Reply Good karma Bad karma+2 votes
batwotm
batwotm - - 26 comments

It works for me with vanilla icons. Good mod.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: