Game Development: Dynamic Cow

Announcements about major changes in Haven & Hearth.
User avatar
Lunarius_Haberdash
Posts: 1477
Joined: Tue Jul 05, 2011 5:14 am

Re: Game Development: Dynamic Cow

Post by Lunarius_Haberdash »

I am excited about this development with cows, and should it prove successful look for both its expansion and new animals getting this effect. Sheep with wool patterns? Horses with mottled hides? Pigs with patches? Yes PLEASE!

Eventually, I hope this gets extended to wild animals as well, though we'd only be able to appreciate their randomly generated hides rather than influence it.
jorb: I don't want *your* money. You are rude and boring. Go away.
Sevenless: We already know real life has some pretty shitty game mechanics, it's why we're here instead.
Avu: The end is near it has finally come to pass: I agree with Lunarius...
Shubla: There are also other reasons to play this game than to maximize your stat gain.
User avatar
Wonderful
Posts: 108
Joined: Sat Mar 01, 2014 4:17 pm

Re: Game Development: Dynamic Cow

Post by Wonderful »

Oh my god this new hat is so cute!!!
User avatar
NoBizd
Posts: 76
Joined: Mon Apr 23, 2012 4:49 pm

Re: Game Development: Dynamic Cow

Post by NoBizd »

jorb wrote:
NoBizd wrote:Have you fixed bodies of Cave Louse and bats from bat dungeons or they still can't be put into knarr cargo?
That has been fixed, as the notes say.
Yeah, I've missed second part of this line. My bad, thanks for this!
User avatar
ctopolon4
Posts: 746
Joined: Sun Jun 03, 2018 2:28 pm
Location: mom's basement

Re: Game Development: Dynamic Cow

Post by ctopolon4 »

where is PINK color !?!? i wanna PINK pony
User avatar
Redlaw
Posts: 1638
Joined: Sun Oct 02, 2011 10:58 pm

Re: Game Development: Dynamic Cow

Post by Redlaw »

A moo riffic update
Scilly_guy
Posts: 337
Joined: Thu Feb 24, 2011 4:32 pm

Re: Game Development: Dynamic Cow

Post by Scilly_guy »

My best looking cows are the ones I killed yesterday :'(
User avatar
Astarisk
Posts: 882
Joined: Fri Aug 13, 2010 7:08 am

Re: Game Development: Dynamic Cow

Post by Astarisk »

loftar wrote:For those wondering about the performance implications of individual cow textures that I've written about previously, I realized that the vast majority of the overhead of drawing cows is in switching vertex data anyway, and that switching textures in addition to that shouldn't be a big deal at all. I've tested and confirmed this to be the case on my own hardware, at least.
Hey man, this seems like a pretty cool thing. How did you end up implementing it so itll breed selectively and resemble their parents.
IRC/IGN: Rawrz

Join the (HedgeHugs) Haven & Hearth Discord if you need help.
https://discord.com/invite/Uy8yzm4
Myrgard
Posts: 296
Joined: Thu May 16, 2013 5:26 pm

Re: Game Development: Dynamic Cow

Post by Myrgard »

Edit after login on... christ fuck are those cows ugly... also it will make it somewhat harder to differentiate between adult and calf since we can't rely on colour coding any more.
User avatar
Dakkan
Posts: 666
Joined: Thu Dec 12, 2013 2:58 am

Re: Game Development: Dynamic Cow

Post by Dakkan »

Astarisk wrote:
loftar wrote:For those wondering about the performance implications of individual cow textures that I've written about previously, I realized that the vast majority of the overhead of drawing cows is in switching vertex data anyway, and that switching textures in addition to that shouldn't be a big deal at all. I've tested and confirmed this to be the case on my own hardware, at least.
Hey man, this seems like a pretty cool thing. How did you end up implementing it so itll breed selectively and resemble their parents.
I'm also a bit curious about the logic behind the system. It's one thing to do what DF does with descriptive words, but another entirely to do what you've done here!
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Game Development: Dynamic Cow

Post by loftar »

Astarisk wrote:Hey man, this seems like a pretty cool thing. How did you end up implementing it so itll breed selectively and resemble their parents.
Thanks, but it's not all that complicated. Each individual just has a number (seven, specifically) of individual "genes", each of which affects the output texture in an smooth and continuous manner, and at the time of insemination each gene is individually selected at random from either mother or father, and then randomized somewhat.
"Object-oriented design is the roman numerals of computing." -- Rob Pike

Return to “Announcements”