Game Development: Castles in the Sand

Announcements about major changes in Haven & Hearth.
User avatar
burgingham
Posts: 8486
Joined: Fri Aug 14, 2009 10:58 pm

Re: Game Development: Castles in the Sand

Post by burgingham »

I think he just chose values that will work. Not paying too much attention that it doesn't match the exact formula he gave you.
User avatar
Amanda44
Posts: 6485
Joined: Wed Sep 28, 2011 12:13 pm

Re: Game Development: Castles in the Sand

Post by Amanda44 »

burgingham wrote:I think he just chose values that will work. Not paying too much attention that it doesn't match the exact formula he gave you.
But how does that work if it has to be half and half again? Loftar also gave that formula but in my head the numbers given mean it would only use two types of stones .... idk, this is why numbers are confusing ... :(
Koru wrote:
It is like in Lord of the Flies, nobody controlls what is going on in the hearthlands, those weaker and with conscience are just fucked.
Avatar made by Jordan.
Animal lovers - Show us your pets! - viewtopic.php?f=40&t=44444#p577254
User avatar
barra
Posts: 446
Joined: Mon Jul 05, 2010 2:08 pm

Re: Game Development: Castles in the Sand

Post by barra »

Amanda44 wrote:But how does that work if it has to be half and half again? Loftar also gave that formula but in my head the numbers given mean it would only use two types of stones .... idk, this is why numbers are confusing ... :(
I believe this is how it works:

If the three stone types are 1800, 120, 80
half of 1800 is 900, which is more than 120. Half of 900 is 450, which is more than 80. Your building will have the colors 1 2 3

If it's 1100, 530, 370
half of 1100 is 550, so it will skip whatever stone is 530. Half of 550 is 225, which is less than 370, so it won't skip. You'll get 1 2 3

If it's 1200, 700, 100
half of 1200 is 600, which is less than 700, so it won't skip, but half of 700 is 350 which is more than 100, so it will skip. You'll get 1 2 3

If it's 740, 660, 600
half of 740 is 370, which is less than 660, so it won't skip, and half of 660 is 330, which is less than 600, so it won't skip. You'll get 1 2 3

The only combination you can't get is 1 2 3
loftar wrote:You do appear to need a good trolling.
User avatar
Amanda44
Posts: 6485
Joined: Wed Sep 28, 2011 12:13 pm

Re: Game Development: Castles in the Sand

Post by Amanda44 »

barra wrote:
Amanda44 wrote:But how does that work if it has to be half and half again? Loftar also gave that formula but in my head the numbers given mean it would only use two types of stones .... idk, this is why numbers are confusing ... :(
I believe this is how it works:

If the three stone types are 1800, 120, 80
half of 1800 is 900, which is more than 120. Half of 900 is 450, which is more than 80. Your building will have the colors 1 2 3

If it's 1100, 530, 370
half of 1100 is 550, so it will skip whatever stone is 530. Half of 550 is 225, which is less than 370, so it won't skip. You'll get 1 2 3

If it's 1200, 700, 100
half of 1200 is 600, which is less than 700, so it won't skip, but half of 700 is 350 which is more than 100, so it will skip. You'll get 1 2 3

If it's 740, 660, 600
half of 740 is 370, which is less than 660, so it won't skip, and half of 660 is 330, which is less than 600, so it won't skip. You'll get 1 2 3

The only combination you can't get is 1 2 3
Firstly, @ Scoodles - I hope you understand that I'm not doubting you ... I'm just trying to understand the math. :)

@ barra - thank you for taking the time to try and explain it to me in a way I can sort of understand, lol, I was trying to work with the 2nd example you gave before I asked but I did sort of see it wouldn't be correct. It's still terribly confusing to me, I guess some ppl just have a blind spot when it comes to this sort of thing, or maybe it's just me ... :( ... but I do appreciate your explanation and can sort of see how it works, I'll just have to read it a few more times .... :lol:

Thanks to both of you. :D
Koru wrote:
It is like in Lord of the Flies, nobody controlls what is going on in the hearthlands, those weaker and with conscience are just fucked.
Avatar made by Jordan.
Animal lovers - Show us your pets! - viewtopic.php?f=40&t=44444#p577254
User avatar
azrid
Posts: 3647
Joined: Mon Oct 17, 2011 11:33 pm

Re: Game Development: Castles in the Sand

Post by azrid »

Finally I can have my very own safe space.
Image
Image
Image
User avatar
simimi
Posts: 447
Joined: Mon Mar 14, 2011 10:51 pm

Re: Game Development: Castles in the Sand

Post by simimi »

Amanda44 wrote:
Secondary will be the second largest quantity provided it's total is at least half of the primary's quantity, else it will be primary again
Tertiary will be the third largest quantity provided it's total is at least half of the secondary's quantity, else it will be secondary again
660 isn't half of 740 ... neither is 600 half of 660 ... my maths skills are not good but .... :?
660 isn't half of 740 cause it have to be MORE than half ( "it's total is at least half"), so something between 371 and 739 will work.
Dont say thanks, was a pleasure.
User avatar
Amanda44
Posts: 6485
Joined: Wed Sep 28, 2011 12:13 pm

Re: Game Development: Castles in the Sand

Post by Amanda44 »

simimi wrote: Dont say thanks, was a pleasure.
:D - I'm aware it can get irritating, but I'm British ..... http://www.telegraph.co.uk/education/ed ... nners.html ..... :lol:
Koru wrote:
It is like in Lord of the Flies, nobody controlls what is going on in the hearthlands, those weaker and with conscience are just fucked.
Avatar made by Jordan.
Animal lovers - Show us your pets! - viewtopic.php?f=40&t=44444#p577254
User avatar
stya
Posts: 1037
Joined: Wed May 21, 2014 3:13 pm

Re: Game Development: Castles in the Sand

Post by stya »

Thank you for the nice new content :D

My new house :
Image
1200 limestone
800 basalt
Boards spruce
Blocks hazel

Edited to hide/show tower.
Last edited by stya on Fri Nov 20, 2015 5:43 am, edited 1 time in total.
Image
User avatar
Sevenless
Posts: 7704
Joined: Fri Mar 04, 2011 3:55 am
Location: Canada

Re: Game Development: Castles in the Sand

Post by Sevenless »

barra wrote:If it's 1100, 530, 370
half of 1100 is 550, so it will skip whatever stone is 530. Half of 550 is 225, which is less than 370, so it won't skip. You'll get 1 2 3
Are you sure? The way I read loftar's comment was that if anything gets over-ridden, it cascades down. So you get 111 instead of 113.
Lucky: haven is so quirky
Lucky: can be so ugly, can be so heartwarming
Sevenless: it is life

The Art of Herding
W16 Farmer's Almanac
W16 Casting Rod Cheatsheet
Explanation of the logic behind the cooking system
User avatar
barra
Posts: 446
Joined: Mon Jul 05, 2010 2:08 pm

Re: Game Development: Castles in the Sand

Post by barra »

Sevenless wrote:Are you sure? The way I read loftar's comment was that if anything gets over-ridden, it cascades down. So you get 111 instead of 113.
I'm not certain. I've never tried to deliberately build that combination.
loftar wrote:You do appear to need a good trolling.

Return to “Announcements”