Pressure under material.

  • EmilkN
    3rd Apr 2016 Member 0 Permalink

    Hello people! I'll stark with example, imagine a bunker made with thick metal or brick walls and a lot of stone above and imo this construstion shouldnt hold that amount of stones. Wouldnt it be cool if at the bottom there will a big pressure, that will break weak constructions?

  • boxmein
    3rd Apr 2016 Former Staff 0 Permalink
    @EmilkN (View Post)
    So what you're saying there should be a mode where structures like arches etc will figure out how much stress there is in certain parts and break based on that?

    There was an attempt to make this forever ago, but it was way glitchy and made everything break very easily.
  • EmilkN
    3rd Apr 2016 Member 0 Permalink

    Not exactly. This is what I'm talking about:

    http://i.imgur.com/3Zr0xnZ.jpg

    So, deeper it is, more presure will generate. Scale from dark green to light means dark is max presure, light is almost 0. I know nothing about coding, but I think this is diffrent from what you said.

  • Emperor_Bowserinator
    4th Apr 2016 Member 0 Permalink

    @EmilkN (View Post) That will create a lot of lag, because pressure will have to be calculated (On a good algorithim) 

    at least a couple hundred times on a large save, which would basiclly cut your FPS in half

     

  • EmilkN
    7th Apr 2016 Member 0 Permalink

    I cant really argue with you, since I know nothing about coding and TPT algorithims, no offence, but I really want to hear it either from dev, or moderator. 

  • jacob1
    8th Apr 2016 Developer 0 Permalink
    Sometimes people that don't know how the game works like to make up numbers like "this will increase lag by 50%". But really, the main obstacle with stuff like this is the difficulty in finding the right algorithms / code to do it. I don't think this would cause much lag.

    I don't think using pressure to make the walls break is a very good solution, the thing @boxmein mentioned could be tweaked to do this instead. Stress simulation causes certain things to break when they don't have enough support structures. A similar thing could cause it to break when there is too much on top of it. And likely both would have to happen at the same time to make either realistic.

    There were two attempts at stress simulation, from what I heard both failed ):
    Edited once by jacob1. Last: 8th Apr 2016
  • EmilkN
    10th Apr 2016 Member 0 Permalink

    I got you Jacob, thank you for your answer! However I think you're overthinking it, I'm not talking exactly about stress simulations, It is not the main reason why I made this suggestion. Maybe, I gave wrong example in my first post, I was making this suggestion to play more with materials that need presure, such as Uran Plut, etc.

     

    I'm not a "pro" in this game and I dont know everything. Right now I dont know natural way of getting pressure, and I thought that it would be nice, that at the bottom of huge layer of the stone would be big pressure, that you can rais up and use it for some nuclear things. Or maybe there will be big pressure at the bottom of the ocean, so Stickman will die coz of it. Probably this idea is not worth it and wont receive interest from majority of the players. Just wanted to make it clear, thank you again, Jacob ! :)

    Edited once by EmilkN. Last: 10th Apr 2016
  • jacob1
    11th Apr 2016 Developer 0 Permalink
    Hmm. Unless the stuff creating the pressure was solid, that kind of pressure would just cause it to "explode" lightly, or well, everything would fly away from that spot. TPT physics wouldn't handle it in the best way.

    If it was enough pressure to cause any useful reaction for nuclear stuff / stickman, the particles would get a pretty high velocity. That's why I don't think using pressure to simulate this would work too well.

    So yeah, implementing this still might not be the easiest :p
    Edited once by jacob1. Last: 11th Apr 2016
  • EmilkN
    11th Apr 2016 Member 0 Permalink

    I got it for sure now, thank you Jacob! Have no more questions :)

  • Simon
    12th Apr 2016 Administrator 0 Permalink
    This feature was requested a long time ago, some of the devs worked on it, but we never produced a viable solution due to the problems @jacob1 mentioned, you can have a look at the thread over here: http://tpt.io/.199720