-
Fcn
- Posts: 42
- Joined: Sun Jul 12, 2009 10:38 pm
Re: Game Development: We think you'll notice.
Really great update. Pathfinding has made mordor a little bit more dangerous, as it should be!
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Game Development: We think you'll notice.
There was a horrible bug in an edge case in the function which made animals actually follow a path which has made the server crash nought less than thrice today. Sorry 'bout that. I'm working on it right now, and it should soon be fixed.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Jackard
- Posts: 8849
- Joined: Sun Jul 12, 2009 6:07 am
- Location: fucking curios how do they work
Re: Game Development: We think you'll notice.
A fox just chased me in between a fence and a ridge, a gap which I cannot pass myself.
Out of curiousity, what's next on the menu? I've been hearing about pathfinding being implemented for a while now, but not much past that. What did you guys want to work on before map changes?
Out of curiousity, what's next on the menu? I've been hearing about pathfinding being implemented for a while now, but not much past that. What did you guys want to work on before map changes?
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Game Development: We think you'll notice.
Pathfinding was, indeed, the major blocker. We'll probably start work on the mapgen during our next session.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Potjeh
- Posts: 11825
- Joined: Fri May 29, 2009 4:03 pm
Re: Game Development: We think you'll notice.
Great news
Question: now that pathfinding is implemented, will summoned characters defend themselves?
Question: now that pathfinding is implemented, will summoned characters defend themselves?
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Game Development: We think you'll notice.
Nope. To begin with, pathfinding is only actually used by animals so far, though that is, of course, subject to change. However, making an actual AI to fight for a player, however simple the AI itself maybe, would be extremely non-trivial, and is not likely to happen anytime soon. I do agree, though, that the defenselessness of summoned characters is a (large) problem, but its solution is not entirely obvious.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Game Development: We think you'll notice.
So there, finally the crasher bug got fixed. It turned out quite a bit trickier than I first anticipated, but I hope it works now.
To be more exact, the situation which caused the crashes was when an animal followed a path towards a target, and the target was removed before it could enter "homing mode", such as when two foxes chased the same chicken and one killed the chicken while the other was following a non-direct path towards it.
To be more exact, the situation which caused the crashes was when an animal followed a path towards a target, and the target was removed before it could enter "homing mode", such as when two foxes chased the same chicken and one killed the chicken while the other was following a non-direct path towards it.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Peter
- Posts: 1491
- Joined: Thu Jun 04, 2009 3:36 am
Re: Game Development: We think you'll notice.
Sweeeeeeeee-loftar wrote:Pathfinding was, indeed, the major blocker. We'll probably start work on the mapgen during our next session.
(half an hour later)
eeeet.
As my old thread demonstrated, I'm big on mapgen. I don't suppose we should bother packing up at all yet, though.
I bet that steel will be the one thing we have an awful lot of initially, because everybody will be bringing several bars over to sell. I guess I'll have to start making vinegar, beer, and rennet. But I'm getting ahead of things.
Oh, someone mentioned that there should be at least one or two more house-shape-options available for construction before the crossover, as otherwise there'll be big mono archetectual downtowns that have to be torn down and replaced later on.
Surprise.
-
jorb
- Posts: 18715
- Joined: Fri Apr 03, 2009 7:07 am
- Location: Here, there and everywhere.
Re: Game Development: We think you'll notice.
I'm on it.Peter wrote:Oh, someone mentioned that there should be at least one or two more house-shape-options available for construction before the crossover, as otherwise there'll be big mono archetectual downtowns that have to be torn down and replaced later on.
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."
-- Hieromonk Seraphim Rose
-- Hieromonk Seraphim Rose
-
Lightning4
- Posts: 131
- Joined: Fri May 29, 2009 10:40 pm
Re: Game Development: We think you'll notice.
Damn those foxes!loftar wrote:So there, finally the crasher bug got fixed. It turned out quite a bit trickier than I first anticipated, but I hope it works now.
To be more exact, the situation which caused the crashes was when an animal followed a path towards a target, and the target was removed before it could enter "homing mode", such as when two foxes chased the same chicken and one killed the chicken while the other was following a non-direct path towards it.