DayZ
645 ratings
Immersive Placing
2
3
4
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Character, Mechanics
File Size
Posted
Updated
1.126 MB
Jun 19, 2021 @ 1:48pm
Dec 23, 2021 @ 6:39am
8 Change Notes ( view )

Subscribe to download
Immersive Placing

Description
This mod adds key wich allows you to quickly drop and place items to exatcly position you want. (By default it's unbinded*, but you can easily bind it in settings)
* Press key to drop item in your hands at crosshair position.
* Hold key to show placing hologram, press use key to place item at hologram position.
* Press key when hologram is shown to flip it *.
* As with original game, you can rotate hologram with scroll wheel.
* Heavy items (that character holds with two hands, like barrels) have different placing animation (unfortunatly, that one without sound) *.
* Items are correctly placed on surface without clipping inside it.
* Mod doesn't conflict with items that already have deploying or placing function.
* Items are aligned to surface (raycast normal). Side effect of this: ability to glue them to walls and roofs (not surfe if that good).

note *: Some items have several placing offsets, and, for some reason, the only function that allows to get item placing offset I found always gives you random one (so, when you placing item it's always random in wich side it lays)...
So I made a key that allows you to update placing offset. Just press key when hologram is shown to get new random placing offset.
That way you can, for example, decide in wich side place map, or place tactical bacon normal way/upside down/on side (in several ways).
Unfortunatly, offset is always random, so sometimes you have to press key several time until item flips...

note 2*: While usual dropping animation always plays correct sound for any item out-of-box, animation for heavy items for some reason don't do it.
So I'm not sure what is better - placing heavy items with correct animation, but without sound, or placing havy items with animation for normal items, but with correct sound...

note 3*: I have no idea why, but, even though I use exactly the same input method as original games used for actions like "drop item", for some reason mod key is also working with open chat. I guess game just disable only default inputs when chat is open, but not modded...

repacking: You are allowed to repack this mod without questions, just add link to workshop page of this mod if you do.

=================================================================

Этот мод добавляет кнопку, при помощи которой вы можете быстро выбросить или разместить предмет именно там, где вам нужно. (По умолчанию она не назначена*, но вы можете легко назначить её в настройках)
* Нажмите кнопку, что-бы положить предмет в центр экрана.
* Удерживайте кнопку, что-бы показать голограмму для размещения, и нажмите кнопку использования, что-бы положить предмет на место голограммы.
* Нажмите кнопку, когда голограмма показана, что-бы перевернуть её *.
* Как и в оригинальной игре, голограмму можно вращать колёсиком.
* Тяжёлые предметы (те, что персонаж держит в обоих руках) имеют другую анимацию размещения (увы, но она без звука).
* Предметы корректно размещаются на поверхности вместо того, что-бы клипаться в неё.
* Мод не конфликтует с предметами, у торорых уже есть функция размещения...
* Предметы выравниваются по поверхности (нормали рейкаста) при размещении. Побочный эффект: возможность приклеивать их к стенам и потолкам (не уверен, что это хорошо).

Заметка *: Некоторые предметы имеют несколько смещений для размещения на поверхности, и, почему-то, единственная функция, которая позволяет получить это смещение - постоянно даёт рандомное (так что, когда вы размещаете предмет, он всегда ложится на рандомную сторону)...
Так что я сделал клавишу, которая позволяет обновить это смещение. Просто нажмите кнопку когда вы пытаетесь его разместить (то есть, голограмма показана), и смещение обновится на новое рандомное.
Так вы сможене, например, выбрать, на какую сторону положить карту или положить тактический бекон нормальным образом/вверх ногами/на бок.
Увы, но каждый раз это смещение рандомное, так что иногда придётся нажать кнопку несколько раз, что-бы предмет перевернулся...

Заметка 2*: В то время, как анимация обычных предметов почему-то сама проигрывает корректный звук размещения для каждого предмета, анимация для тяжёлых предметов к такой магии не способна...
Так что, я не уверен, что лучше - корректная анимация для тяжёлых предметов, но без звука, или проигрывания анимации для одноручных предметов при размещении тяжёлых, но со звуком...

Заметка 3*: Я понятия не имею почему, но, даже при том, что я использую точно тот же способ ввода, который оригинальная игра использует для действий вроде "выбросить предмет", клавиша моего мода, почему-то, работает при открытом чате. Я так понимаю, игра просто отключает только стандартные инпуты, когда чат открыт, но не инпуты из модов...

Перепаковка: Вы можете перепаковывать этот мод без вопросов, только добавьте ссылку на страницу воркшопа этого мода, если вы это делаете.
Popular Discussions View All (3)
8
Jan 19 @ 4:01pm
New server running this mod
Negan
5
Sep 10, 2021 @ 3:35pm
Placing in the air
DZR|Mikhail
0
Nov 10, 2021 @ 5:26am
Default Control Issue and Items Spinning
Spunk Mayo
158 Comments
CASPER Apr 3 @ 7:54pm 
Is this still working?
George Feb 27 @ 6:02am 
@MaxCross - hey man, do you have github repo for this mod ? :)
violent__nomad Jan 28 @ 9:22am 
How long does the placed items last before despawning?
3RA_[x]YouTeN[z]☢ Jan 27 @ 3:28am 
спасибо за такой прикольный мод, добавляющий атмосферы реальности происходящего) лайк)))
George Jan 3 @ 9:28am 
@bossneult - sure, thats exactly I was talking about in my last msg, you just reversed it by lowering the refresh flag instead of increasing the lifetime of each item

anyway, it's definitely not a good recommendation, because if you don't have your own custom economy on the server, including despawn items under the flag, this will only ensure that there will be several bases filled with items and others will have totally nothing because of nominal/minimal limits in types and badly set flags (especially count_in_map="1"), and for each item separately, will cause BLOCKING of these limits and then NOT SPAWNING other items in the world for other players - unfortunately this is exactly the problem what Vanilla has for many items.
bossneult Jan 2 @ 10:26am 
@George @BiGGuNAaroN Another options that seams to be working on my private server is if you go into the globals.xml and change FlagRefreshFrequency value to something lower, i put 3600 which makes the flag refresh items every hour. I had some items disappearing, then noticed they were not flag protected. after i changed the FlagRefreshFrequency the icon showed up.

Only issue with doing that is that other items on the ground in your territory wont get cleaned up, so you would have to either collect it all the drop it outside your territory or put them in a trash can that you can get with some mods and they will get deleted that way. I myself do the latter.
RB187 Dec 25, 2023 @ 12:00pm 
Awesome mod but needs to be updated, causes a lot of lag when opening doors or moving items around in inventory.
George Nov 28, 2023 @ 5:32pm 
@BiGGuNAaroN - no, every item in the game that you put under the flag you would have to change its class and define the new lifetime for that actual class

I don't think it's currently possible to do it since each class stores a certain lifetime of item in the world

you can still extend the lifetime for each items via types so that the flag includes the refresh time for the item, but count on them staying under the flag and holding the limits for the next spawn in the world - unfortunately a basic problem of the DayZ economy

unfortunately every functionality has some reasons due to the impact on server performance

for example in SCUM they have solved this problem simply, individual items rot over time until they disappear completely and release the limits and reduce the overall load on the server
BiGGuNAaroN Nov 25, 2023 @ 10:07am 
Would the items save under a flag like other placeable items in the game?
TYGGMOR Nov 8, 2023 @ 1:33pm 
Ты лучший бро!