Would be cool if the cold would be able to start giving dmg after some time, like if you dont get a fire or cloths in 10-30 minutes you start taking random dmg of 1-10 per a minute.
[QUOTE=jonnymad;43088988]Really appreciate this, gives a lot of validity to the idea. To clarify, you are saying it won't impact performance too much, correct? Because I am sure that would be a deciding factor for the final product.[/QUOTE]
They shouldn't as long as they're implemented correctly. Most of it is just some number crunching by the game.
[QUOTE=ZestyLemons;43089102]They shouldn't as long as they're implemented correctly. Most of it is just some number crunching by the game.[/QUOTE]
Forgive my lack of computer knowledge (built my desktop, that's about as far as my major knowledge goes,) but the number crunching is basically the CPU's job, isn't that right? Would it impact processor usage at all?
[QUOTE=jonnymad;43089137]Forgive my lack of computer knowledge (built my desktop, that's about as far as my major knowledge goes,) but the number crunching is basically the CPU's job, isn't that right? Would it impact processor usage at all?[/QUOTE]
The CPU and the Processor are the same thing.
CPU: Central Processing Unit
[QUOTE=jonnymad;43089137]Forgive my lack of computer knowledge (built my desktop, that's about as far as my major knowledge goes,) but the number crunching is basically the CPU's job, isn't that right? Would it impact processor usage at all?[/QUOTE]
OK, so first job of number crunching: determine current and next season. Given a percentage of the whole year, this is super easy.
[QUOTE]
Season getSeason( float percentage )
{
if( percentage <= 0.25f ) return Season.Spring;
else if( percentage <= 0.5f ) return Season.Summer;
else if( percentage <= 0.75f ) return Season.Autumn;
else return Season.Winter;
}
[/QUOTE]
Not accurate, but again, good enough for a game. Even a Gameboy could handle this logic.
Next, we need another value from 0 .. 1 which is the percent of the current season (0 = start of the season, 1 = end of the season)
Also easy.
[QUOTE]
float getSeasonPercent( float yearPercent, Season season )
{
float sub;
switch( season )
{
case Season.Spring: sub = 0f; break;
case Season.Summer: sub = 0.25f; break;
case Season.Autumn: sub = 0.5f; break;
case Season.Winter: sub = 0.75f; break;
}
return ( yearPercent - sub ) *4f;
}
[/QUOTE]
Basically boils down to a subtract and a multiply.
Now that we've got the current season and season percent, we interpolate the moisture and temperature min/max values between the current and next seasons. This is where the standard math function Lerp comes in (stands for Linear Interpolate). Given two values, and a third value (usually called 't') from 0 .. 1, it returns a value somewhere in between the first and second values (where t=0 returns the first value, and t=1 returns the second value) This is also a very CPU-friendly operation.
[QUOTE]
SeasonData getSeasonData( SeasonData season1, SeasonData season2, float seasonPercent )
{
SeasonData current = new SeasonData();
current.TempMin = Mathf.Lerp( season1.TempMin, season2.TempMin, seasonPercent );
current.TempMax = Mathf.Lerp( season1.TempMax, season2.TempMax, seasonPercent );
current.MoistureMin = Mathf.Lerp( season1.MoistureMin, season2.MoistureMin, seasonPercent );
current.MoistureMax = Mathf.Lerp( season1.MoistureMax, season2.MoistureMax, seasonPercent );
return current;
}
[/QUOTE]
The most processor intensive operation here is calculating a semi-random value between the temperature and moisture min/max values, as the most common algorithm would be Perlin Noise. Still, it should be plenty fast enough to use in realtime (in local tests it doesn't seem to impact performance at all, or increase CPU usage by a significant factor).
[QUOTE=resolent;43090315]The CPU and the Processor are the same thing.
CPU: Central Processing Unit[/QUOTE]
I realize that, I used it interchangeably, read my post next time before you post.
[editline]6th December 2013[/editline]
[QUOTE=KillaMaaki;43090387]OK, so first job of number crunching: determine current and next season. Given a percentage of the whole year, this is super easy.
Not accurate, but again, good enough for a game. Even a Gameboy could handle this logic.
Next, we need another value from 0 .. 1 which is the percent of the current season (0 = start of the season, 1 = end of the season)
Also easy.
Basically boils down to a subtract and a multiply.
Now that we've got the current season and season percent, we interpolate the moisture and temperature min/max values between the current and next seasons. This is where the standard math function Lerp comes in (stands for Linear Interpolate). Given two values, and a third value (usually called 't') from 0 .. 1, it returns a value somewhere in between the first and second values (where t=0 returns the first value, and t=1 returns the second value) This is also a very CPU-friendly operation.
The most processor intensive operation here is calculating a semi-random value between the temperature and moisture min/max values, as the most common algorithm would be Perlin Noise. Still, it should be plenty fast enough to use in realtime (in local tests it doesn't seem to impact performance at all, or increase CPU usage by a significant factor).[/QUOTE]
That is unbelievably useful. I can't read it, but I somewhat understand it. Thanks a ton for the input, you deserve a medal!
[QUOTE=Th3St0rm;43089101]Would be cool if the cold would be able to start giving dmg after some time, like if you dont get a fire or cloths in 10-30 minutes you start taking random dmg of 1-10 per a minute.[/QUOTE]
This would be rather nice. Maybe if you don't get clothes in time, but have a fire, and are near it, then the timer resets, since you are "warmed up" by that point.
[QUOTE=jonnymad;43089137]Forgive my lack of computer knowledge (built my desktop, that's about as far as my major knowledge goes,) but the number crunching is basically the CPU's job, isn't that right? Would it impact processor usage at all?[/QUOTE]
The numbers would be done server side, not client side. So no.
[editline]6th December 2013[/editline]
Honestly the hardest part about something like seasons is making it look good and transition well.
[QUOTE=ZestyLemons;43096200]The numbers would be done server side, not client side. So no.
[editline]6th December 2013[/editline]
Honestly the hardest part about something like seasons is making it look good and transition well.[/QUOTE]
Oh right, I hadn't even considered that, that really makes it all the more possible then!
[QUOTE=ZestyLemons;43096200]The numbers would be done server side, not client side. So no.
[/QUOTE]
It would probably be more efficient to do it on both. Server calculates it so that it can apply gameplay-centric weather effects (hypothermia, perhaps?). Server also sends random seed to client upon connecting, so that client can calculate the same weather effects purely for rendering (more efficient than constantly sending values to client).
i love this idea
[QUOTE=jonnymad;43095911]This would be rather nice. Maybe if you don't get clothes in time, but have a fire, and are near it, then the timer resets, since you are "warmed up" by that point.[/QUOTE]
Have a Cold-o-meter, like the rad meter so you can see how cold you are.
[QUOTE=Th3St0rm;43096425]Have a Cold-o-meter, like the rad meter so you can see how cold you are.[/QUOTE]
Could work. Maybe it can be represented by a human body outline on the heads up display that fills up blue when you are cold, and when it is at the max, you begin to slowly take damage until you get clothes or sit near a fire, the fire lowering the meter slowly until at zero, and going out again will slowly raise it until adequately clothed.
[QUOTE=jonnymad;43096455]Could work. Maybe it can be represented by a human body outline on the heads up display that fills up blue when you are cold, and when it is at the max, you begin to slowly take damage until you get clothes or sit near a fire, the fire lowering the meter slowly until at zero, and going out again will slowly raise it until adequately clothed.[/QUOTE]
I think that even with armor, your cold meter still goes no matter what, but the more you bundle up the slower that rate would be. Like, if I was in arctic gear...it would just take like..a very very long time...If I went out butt naked into the snow...I would die in 15 minutes.. That's realism basically.
Edit:
Hell, you could probably just make arctic gear keep the meter from running no matter what, but I think if you wore arctic gear in the summer season, you would die of heat exhaustion. I hope I'm making sense here..
[QUOTE=TheManInUrPC;43096749]I think that even with armor, your cold meter still goes no matter what, but the more you bundle up the slower that rate would be. Like, if I was in arctic gear...it would just take like..a very very long time...If I went out butt naked into the snow...I would die in 15 minutes.. That's realism basically.
Edit:
Hell, you could probably just make arctic gear keep the meter from running no matter what, but I think if you wore arctic gear in the summer season, you would die of heat exhaustion. I hope I'm making sense here..[/QUOTE]
Makes perfect sense to me, could have different tiers there, as well! Arctic gear could also have metal plating added in between layers, instant armored arctic gear! But yeah, I also agree with the whole cold degradation no matter what, but it should only happen past a certain temperature (perhaps below 40 Fahrenheit even with full gear your cold meter starts to slowly creep up?)
[QUOTE=jonnymad;43096786]Makes perfect sense to me, could have different tiers there, as well! Arctic gear could also have metal plating added in between layers, instant armored arctic gear! But yeah, I also agree with the whole cold degradation no matter what, but it should only happen past a certain temperature (perhaps below 40 Fahrenheit even with full gear your cold meter starts to slowly creep up?)[/QUOTE]
Yea, 40 or somewhere around that would be good. It should really apply to certain tiers as you said before. Like maybe 40 would be ok if you had a sweater, but like 32 or less would call for a heavy coat. And anything below 0 calls for arctic gear. 50s would just be something like long sleeve shirt. Any heat that's at the level of 80 degrees Fahrenheit would call for more water and cooling. If you ran a marathon in that heat you would basically die if you don't stay cool. These kinds of challenges would make travel more difficult, but a lot more fun! There's a lot of things that can be drawn up here.
[QUOTE=TheManInUrPC;43096926]Yea, 40 or somewhere around that would be good. It should really apply to certain tiers as you said before. Like maybe 40 would be ok if you had a sweater, but like 32 or less would call for a heavy coat. And anything below 0 calls for arctic gear. 50s would just be something like long sleeve shirt. Any heat that's at the level of 80 degrees Fahrenheit would call for more water and cooling. If you ran a marathon in that heat you would basically die if you don't stay cool. These kinds of challenges would make travel more difficult, but a lot more fun! There's a lot of things that can be drawn up here.[/QUOTE]
Got snow outside I went out and sat half an hour and I didnt die.
[QUOTE=Th3St0rm;43096949]Got snow outside I went out and sat half an hour and I didnt die.[/QUOTE]
Games don't necessarily have to translate to real life. Also do not forget that time passes roughly twelve times faster in rust than in real life, or so I have heard, so sitting outside inadequately clothed for an extended period of time could cause some real issues.
To add to this, sprinting and performing other strenuous tasks raises body temperature. Not enough to completely combat extreme cold (only very slightly slow it down), but in extreme temperatures it can cause your body temperature to rise much faster if you don't rest in the shade.
This could also factor in if they add a thirst meter - high body temperature means you consume water faster.
[QUOTE=KillaMaaki;43097150]To add to this, sprinting and performing other strenuous tasks raises body temperature. Not enough to completely combat extreme cold (only very slightly slow it down), but in extreme temperatures it can cause your body temperature to rise much faster if you don't rest in the shade.
This could also factor in if they add a thirst meter - high body temperature means you consume water faster.[/QUOTE]
I saw you lurking the thread again, I knew you would have something good to input :v: Yeah, this would be excellent. Of course, as long as it doesn't have a major impact on performance, it would fit really nicely with the entire idea!
the more ideas and thought we get into this thread the better! we need to keep the discussion rolling, let the devs know that we want this as much as anything. this would totally change the shape of the game and give it a brand new feel that not many games achieve.
[QUOTE=bwilliamsper6;43100416]the more ideas and thought we get into this thread the better! we need to keep the discussion rolling, let the devs know that we want this as much as anything. this would totally change the shape of the game and give it a brand new feel that not many games achieve.[/QUOTE]
Sounds good to me, I have nothing more to contribute currently, but I do love hearing new ideas on the topic.
Edit: as it happens, I do have a small idea. During the really cold times or when temperatures are low, what if you could see your breath, like in real life? Like when you breathe and it's cold outside, it comes out like a fog. It's purely aesthetic, but it could be kinda cool!
[editline]7th December 2013[/editline]
[QUOTE=KillaMaaki;43097150]To add to this, sprinting and performing other strenuous tasks raises body temperature. Not enough to completely combat extreme cold (only very slightly slow it down), but in extreme temperatures it can cause your body temperature to rise much faster if you don't rest in the shade.
This could also factor in if they add a thirst meter - high body temperature means you consume water faster.[/QUOTE]
I do want to repost on this one once more, I love how this really brings the game into the direction of surviving the environment. If this were placed along pvp survival and combat, it would be a beautiful match.
If this thing gets added, man they'll change the whole game... The sales are ganna go sooo high and the game will just be one the best games on 2014 buttt if the developers are lazy then it won't happen
[QUOTE=maziar1990;43102282]If this thing gets added, man they'll change the whole game... The sales are ganna go sooo high and the game will just be one the best games on 2014 buttt if the developers are lazy then it won't happen[/QUOTE]
Devs aren't lazy, they are working hard. It is their game, they get the choice whether or not it goes in. I am just trying to be convincing enough that it gets a chance, I know I for one would love to see this put in even on the grounds of it being very unique. It seems 50+ people agree, so that is a good sign as well, I feel.
I am extremely happy to see this thread getting so much attention it didn't fall through the cracks of the forum and become a lost thread. After being on the top of the forums for days all of the staff including Garry I'm sure, know we really like this idea.
[QUOTE=ingruo;43102540]I am extremely happy to see this thread getting so much attention it didn't fall through the cracks of the forum and become a lost thread. After being on the top of the forums for days all of the staff including Garry I'm sure, know we really like this idea.[/QUOTE]
It got no attention when I put it out at first, surprisingly. I brought it back up in hopes people might take notice, and I guess it really worked out well :smile: people really seem to like the idea, and I really hope one of the staff takes notice. If not, I might PM them regarding the idea, but I don't want to come off as annoying trying to get my thread noticed, I just want to know if they ever have any future plans for something like this
[QUOTE=jonnymad;43100468]
Edit: as it happens, I do have a small idea. During the really cold times or when temperatures are low, what if you could see your breath, like in real life? Like when you breathe and it's cold outside, it comes out like a fog. It's purely aesthetic, but it could be kinda cool!
[editline]7th December 2013[/editline]
I do want to repost on this one once more, I love how this really brings the game into the direction of surviving the environment. If this were placed along pvp survival and combat, it would be a beautiful match.[/QUOTE]
I love the idea of seeing your breath in the cold! It made me strike the idea of adding something like shivering when someone is getting too cold. Oh yea, also we need to add gloves. Have it where the player has to keep his hands from freezing. If they get frostbite, the player should be restricted on what he is able to do, like crafting or maybe picking stuff up since it would be difficult for the character to use his hands.
[QUOTE=TheManInUrPC;43103824]I love the idea of seeing your breath in the cold! It made me strike the idea of adding something like shivering when someone is getting too cold. Oh yea, also we need to add gloves. Have it where the player has to keep his hands from freezing. If they get frostbite, the player should be restricted on what he is able to do, like crafting or maybe picking stuff up since it would be difficult for the character to use his hands.[/QUOTE]
Not a bad idea, could be cloth gloves, and leather gloves, each with different benefits. Cloth gives you more warmth, and leather better stability with guns, perhaps? (Since when I think leather, I think non-slip grip.) could also be kevlar gloves, for a little bit of additional protection (like +5 or so to bullet?) It would be a really cheap way to make some clothing when you really need it. Like two cloth could make a pair of gloves, which would very slightly alleviate the cold (+5 cold protection?) Plus making it necessary in extreme cold to be totally protected, but if you don't have the means, you can hold a button to rub your hands together and generate some very small heat to warm up. Finally, what about a new type of helmet like this? [IMG]http://wpecdn.com/media/catalog/product/cache/1/image/400x400/9df78eab33525d08d6e5fb8d27136e95/i/m/image_73822.jpg[/IMG] It would keep your whole head warm, but leave space for your eyes still, a must in the extreme harshness of winter. Plus it just looks awesome. In fact, I feel you could have a whole bunch of new slots for clothing such as socks, scarves, or other accessories, if for nothing else than customization for people to better recognize you from a distance.
[QUOTE=jonnymad;43103876] Finally, what about a new type of helmet like this? [IMG]http://wpecdn.com/media/catalog/product/cache/1/image/400x400/9df78eab33525d08d6e5fb8d27136e95/i/m/image_73822.jpg[/IMG] It would keep your whole head warm, but leave space for your eyes still, a must in the extreme harshness of winter. Plus it just looks awesome. In fact, I feel you could have a whole bunch of new slots for clothing such as socks, scarves, or other accessories, if for nothing else than customization for people to better recognize you from a distance.[/QUOTE]
Right now, there is a cloth helmet that looks like this kinda, but we could go the next level on stuff like this and maybe try different materials other than cloth. We should be able to have more accessories. I also like your idea of extra customization! It would also require a bandit to be more creative for a successful raid...maybe steal the enemies clothing to get close enough to attack before they ID you. Stuff like that. :D
[QUOTE=TheManInUrPC;43105482]Right now, there is a cloth helmet that looks like this kinda, but we could go the next level on stuff like this and maybe try different materials other than cloth. We should be able to have more accessories. I also like your idea of extra customization! It would also require a bandit to be more creative for a successful raid...maybe steal the enemies clothing to get close enough to attack before they ID you. Stuff like that. :D[/QUOTE]
What would be REALLY interesting is making some clothing, and then having animal fat put in. Messy, but definitely would warm you up, and give more use to animal fat. could also be a layer of cloth, then fat, then cloth inside to keep the mess away lol.
Sorry, you need to Log In to post a reply to this thread.