Search found 11 matches

by Mesons
17 May 2015, 08:11
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Re: Resting outside is nearly always interrupted

I don't think the deviations from random would be noticeable in gameplay.
by Mesons
14 May 2015, 00:28
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Re: Resting outside is nearly always interrupted

If you rest until healed, you can rest for far more than 24 hours. I rested for 51 hours last time I played.
by Mesons
13 May 2015, 02:26
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Re: Resting outside is nearly always interrupted

It's around 25% on 24 hours. It's less likely at 1 hour, but can still happen. This could be due to cringe-worthy original statistics; the vanilla implementation could very well be 1% per hour, compounded by multiplying hoursToWait by 0.01 to get the probability of interruption, with 24% at 24 hour...
by Mesons
13 May 2015, 01:18
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Re: Resting outside is nearly always interrupted

OpenMW's 1.0 goal is to replicate vanilla gameplay as exactly as is possible, so we should at least get this right. A hotpatch might put off getting it right until later. I meant replicating the behavior of vanilla, sans bugs and errors (leaving open the possibility that rest interruption in vanill...
by Mesons
12 May 2015, 22:39
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Re: Resting outside is nearly always interrupted

Regardless of how it worked in vanilla, shouldn't OpenMW have predictable behavior aligned with the intended function?
by Mesons
12 May 2015, 18:44
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Re: Resting outside is nearly always interrupted

The patch changes the mechanic drastically, because the roll is now an integer. As written, all this does is discretize the probability of interruption. Even if you use rollDice(hoursToWait+1) to return an integer in [0,hoursToWait], forcing the roll to be an integer works the same as only rolling ...
by Mesons
12 May 2015, 07:36
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Re: Resting outside is nearly always interrupted

Looking at the patch, it seems like fSleepRandMod is a probability; multiplying it by hoursToWait defines a threshold between 0 and hoursToWait. I'm guessing rollDice(hoursToWait) returns a random number in the same range (0 to hoursToWait? 1 to hoursToWait? Something else?). I think dteviot is righ...
by Mesons
11 May 2015, 18:38
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Re: Resting outside is nearly always interrupted

Irrelevant now that Scrawl has fixed it, but I'm not running any mods. Thanks for collecting the data sample, Wareya!
by Mesons
11 May 2015, 06:03
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13103

Resting outside is nearly always interrupted

Beginning recently (since April 24th, the last time I played before today), sleeping outside is interrupted something like 85-95% of the time. I was trying to restore my magicka before entering a cave and I racked up such a huge pile of bodies I began to wonder if I would ever be able to rest uninte...
by Mesons
01 Apr 2015, 06:49
Forum: Feature Requests and Suggestions
Topic: Xbox UI!
Replies: 52
Views: 16632

Re: Xbox UI!

My Xbox 360 controller doesn't work in the latest build (I update every time a new daily build is pushed). I'm using xboxdrv in Ubuntu 14.04. No button presses are recognized, as far as I can tell. Thus far, I have been using Antimicro, to map controller actions to keyboard/mouse inputs. It has been...