• Advertisement

Archived

This topic is now archived and is closed to further replies.

Diablo 2 Engine

This topic is 6232 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
I don''t know how the Diablo engine works, but let me tell you this... I think they coat the CD with crack coccaine because I am sooo hooked on the damn game. Diablo II, in my opinion, is the ultimate in RPGs right now.

Dino M. Gambone
Good judgement is gained through experience. Experience, however, is gained through bad judgement.

Share this post


Link to post
Share on other sites
[Appologies for continuation of this off topic...]

Isn''t any game that you play a character that is not your own self technically "role playing" ?

If the answer is no, then most CRPGs aren''t "role playing" at all... you have no say in how your players role effects the game, nor do you define the character.

NetHack, however, is closer to a true RPG. Death to all gas spores!!!

.travois.

Share this post


Link to post
Share on other sites
Pardon me for the error. I will correct the previous post:


I don''t know how the Diablo engine works, but let me tell you this... I think they coat the CD with crack coccaine because I am sooo hooked on the damn game. Diablo II, in my opinion, is the ultimate in (CORRECTION) RPGs "games in which you play a single character and develop that character''s skills and attributes as you progress through various quests/missions and kill monsters that stand in your way in completing those quests/missions" right now.


Is that better? I probably should have said that i think it''s a great game. Wait... is it game or an interactive movie? I just don''t know anymore.











<div STYLE="font-family: Cursive; font-size: 20pt;">Dino M. Gambone</div>Good judgement is gained through experience. Experience, however, is gained through bad judgement.

Share this post


Link to post
Share on other sites
I got bored of Diablo 2 really quickly. Never even bothered to make it to Act 2. Somehow it just seemed to be even more repetitive than the first one.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Kylotan:
Hey. Don;t judge D2 until you play through ALL the acts.

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
Kylotan:
Hey. Don;t judge D2 until you play through ALL the acts.


Thereby wasting countless hours of irreplacable time to find out it still sucks?

Diablo is just another of those unimaginative NetHack clones. Click ''n Kill is the genre, and it''s a bloody arcade game, and not an RPG.



People might not remember what you said, or what you did, but they will always remember how you made them feel.
Mad Keith the V.

Share this post


Link to post
Share on other sites
I really liked Diablo, but I can''t stand D2 - it was soooo boring ;-(

I would say the engine isn''t anything special, I really have my problems with this 640x480 shit. DOn''t like to see black lines between the graphics ;-(

Tim

--------------------------
glvelocity.gamedev.net
www.gamedev.net/hosted/glvelocity

Share this post


Link to post
Share on other sites
Hmmn, Diablo 2 was prity crap, although I managed to stay awake long enough to defeat diablo.

I don''t see how 5 diffrent charcters and random maps make the game any more playable. Klik and Kill sucks big time.

However, if you are not going to take the time to play the game, at least hack the movie files (which may be more fun than acutaly playing) and view them. Diablo 2 has a (IMO) great story line, as well as stunning cut scenes.


ANDREW RUSSELL STUDIOS

Share this post


Link to post
Share on other sites
nobody has given this dude a straight answer, he didn''t ask for a debate on RPG''s, he wanna know how it works.

Well, i really have no idea. But then, you can''t just ask how an engine works, want part of the engine do you want to know about

Share this post


Link to post
Share on other sites
Well, I agree that arguing about whether or not the game is cool is going to do absolutely nothing to settle the issue of how the thing works.

Allow me to add my $.02 worth on the subject before getting into the real content speculation. Diablo II is not really a RPG, but it is nonetheless a fun game. The cinematics are the best I''ve ever seen on a computer game, and the gameplay is repetitive, yet suprisingly addictive.

You don''t need deep gameplay in order to have a fun game, folks. Can we say "Lode Runner"?

Anyway, onto the real meat:

The short answer to your question of "How does the engine work?" is "I don''t know." However, I can make some good educated guesses.

<Speculation>
Firstly, the world is divided up into tiles, which are placed together using a "room generation" algorithm. What that does is put together a set of rooms, which are composed of a set of tiles, and link them together at the seams, then close them after some designated number of rooms. That''s how the random dungeons and other maps are generated. There are some maps, of course, that are not randomly generated but are preset (the Arcane Sanctuary and the towns, for example) and those are stored somewhere for quick retreival.

The maps are huge, so what the game does is, as you''re running around, it precalculates and precaches the map images that it''ll need, or at least as many as it can. This would happen in any "idle" cycles that you have, much the same way that the Distributed.net RC5 program or Seti@Home work.

Now, every tile may or may not be populated by a creature or player (which are both doubtless derived from the same actor base class, but I won''t speculate that deeply into the code structure), and the location is stored in the information for the actor.

When you click the mouse, it figures out by querying the graphics engine and extrapolating with what actors and other entities are visible, along with the keyboard state, what it is that you''ve clicked on, and performs an action based on a large if/elseif/else or switch block. Actions could be use a skill (or case a spell), move, attack, talk to, etc.

Each area of the map contains a set of creatures that exist, which is doubtless drawn from a set of probabilities and chosen based on a random number. If you''ve ever roleplayed a D&D type adventure with dice, then it probably makes sense. Probabilities are assigned. EG, you have an X% chance of having Hellspawns in this area. A random number is chosen, and if it''s below X, then you have Hellspawns. That''s a bit of a simplification, but there it is.

AI seems to work per creature type, and is probably a function pointer of some sort, so that it only needs to be loaded into memory once, and then can be called for every instance of that creature that is on the screen (or is active).

Item creation is based on probabilities and random choices. Whenever a creature dies or a chest/log/rock/whatever is opened, it has an X percent chance of dropping an item. If it drops an item, then it has various probabilities of dropping low quality, regular quality, high quality, socketed, magical, rare, set, or unique items (those are pretty much in order from most likely to least likely, btw. I believe that there''s more probability of dropping regular quality than low, but there it is). Bosses always drop one or more magical/set/rare/unique items, and champions always drop either a lot of gold or a magical/set/rare/unique item.
</Speculation>

Whew! There''s more, to be sure, but those are some of the salient features of the game. Remember that all of the preceding has been speculation and my analysis of the game engine. I hope it''s accurate, or at least that it helped to answer some of your question.

For a lot more detail and specifics, visit:
http://www.battle.net/diablo2

Adiss
a.k.a. Magic Card

Share this post


Link to post
Share on other sites
Diablo 2? Role Playing? ABSOLUTLY NO RELATION.
The only CRPG''s I''ve seen that "allow" roleplaying are the online ones such as ultima online or everquest. But still, no one roleplays. I''ve seen people sit in one spot killing monsters as they respawn to gain levels. That''s not roleplaying. I myself play D&D, and I''ll tell you now, it will be a LONG time before a computer is a good platform for roleplaying.

Share this post


Link to post
Share on other sites

  • Advertisement