DayZ
Immersive Placing
DZR|Mikhail 29 Jul, 2021 @ 5:09pm
Placing in the air
Great immersion, but you can place a car door on a car hood. Move the car away and the car door will stay in the air. You can literally deny physics. And placed on a busy road, such door in the air can act as an obstacle for drivers, but very badly visible, can damage car if collided.

You can build air steps/ladders this way. This mod needs some kind of validation for such heavy collided items placement.
< >
Showing 1-5 of 5 comments
SusiSommer 15 Aug, 2021 @ 11:30pm 
Will all placed items remain in the same place (in the air) if the item underneath (e.B. car or other objects that are movable) is removed? Are there placed items that in this case fall on the area below?
DZR|Mikhail 15 Aug, 2021 @ 11:40pm 
SusiSommer, that is the problem with this mod. The items stay in the air even if the object is removed. They don't fall. They hang in the air.

The only solution to this problem is to detect those dynamic objects ingame and restrict placement on them

Try this:
1) Take car wheel
2) Stand on a car hood or roof
3) Hold G
4) The wheel is casted to the ground, not on the car.
5) Stand on a table in a building: the wheel is placed on the table.

This kind of validation should be here too. Until that, too many possible problems may occur.
mactydon 9 Sep, 2021 @ 1:00pm 
For what it is, sounds good. Don't know why people complain about the physics. Same happens in game without it. Ever blow up the floor of a base with furniture in place? They hang in mid-air. How about dropping an item, only to have it fall through the floor later? It happens. Dynamic objects with dynamic collision for every conceivable scenario in a GAME is a little much, in my humble opinion... My two cents, take it for what it's worth...
DZR|Mikhail 9 Sep, 2021 @ 11:08pm 
> Don't know why people complain...
Because it can be fixed withing the mod, particularly for this very cool mod. We take the game as it is, we whine, but we go to bugtracker, submit a ticket, and hope one day it gets fixed.

Author ask, if you find bugs, tell. So bugfixing is a complaints management? I really thought I was trying to help both author of the mod and the players whi like mod. But now I'm an annoying cmplainer :) (shrug)
MaxCross  [developer] 10 Sep, 2021 @ 3:35pm 
It is possible to raycast only to static object just by specifying CollisionFlags in RaycastRV function, but then I will be able to place items inside other items, while now I can, for example, place things on barrel just like on table or stack items on top of each other. And I also dont know how it would work with, for example, bases.

And I dont think I will add that to workshop, since I created this mod for immersion and I don't feel like limiting it's functionality because someone could abuse it to create traps or air-stairs. But, If you think you really need that in your server, you can unpack this mod, replace every call to DayZPhysics.RaycastRV (there are just 2 of them) with
DayZPhysics.RaycastRV( from, to, contact_pos, NULL, contact_component, NULL, player, ignore, false, false, ObjIntersectView, 0.0, CollisionFlags.NEARESTCONTACT | CollisionFlags.ONLYSTATIC );
, then pack it back (you probably dont need CollisionFlags.NEARESTCONTACT, actually, but i'm too lazy to launch game again to test it).


I tried to make it so placed object automaticly became physics objects, but the best I could achieve after few hours is that they just dropped in front of players face, not on surface. And I dont think that rely on physics in the game like dayz is the good idea anyway - it would probablly be buggy as hell even if that would work, or objects would just became inactive after few seconds. And also I dont want to spend weeks trying to make it work.
< >
Showing 1-5 of 5 comments
Per page: 1530 50