Sign in to follow this  
wat--

Conventions

Recommended Posts

Sorry if this is the wrong forum.

In an MMO game, you have players, NPCs and items. You also have trees, doors, stairs etc. What would you call these? I can't just say they're just "objects", because players, NPCs and items are also objects.

Thanks in advance :).

Share this post


Link to post
Share on other sites
Static scenery and dynamic scenery is microsoft flightsimulator's naming. Objects are classes/structs, so if you want a non-ambigous name you should avoid object ;P

Anyways, the name hardly matters.

Share this post


Link to post
Share on other sites
You should separate between WORLD and PLAYERS. I think that's about as deep as you wanna go. Everything that is not a player, is world. Voila!

Share this post


Link to post
Share on other sites
Quote:
Original post by xibo
Static scenery and dynamic scenery is microsoft flightsimulator's naming. Objects are classes/structs, so if you want a non-ambigous name you should avoid object ;P

Anyways, the name hardly matters.

OCD I suppose :p.

Thanks for the suggestions. I was thinking "world object", but yours are probably better.

Edit: @kraz007 lol, hmm, maybe "world object" isn't that bad of a name. I think scenery maybe be more accurate, though.

Share this post


Link to post
Share on other sites
From what I've seen, 'entity' and 'game object' (GO) are common terms for things like NPC's, players and items. For scenery, I've seen some people using the term 'prop' instead. You could make a further distinction between static and dynamic scenery, if that distinction is somehow important (perhaps for technical reasons).

Either way, just pick something that describes the role well without being ambiguous and stick to it. Some people may argue it doesn't matter, but choosing poor names, having lots of name clashes or being inconsistent with names does make things more confusing. That's true for pretty much all the code you write. Proper communication is important. :)

Share this post


Link to post
Share on other sites
Quote:
Original post by Captain P
From what I've seen, 'entity' and 'game object' (GO) are common terms for things like NPC's, players and items. For scenery, I've seen some people using the term 'prop' instead. You could make a further distinction between static and dynamic scenery, if that distinction is somehow important (perhaps for technical reasons).

Either way, just pick something that describes the role well without being ambiguous and stick to it. Some people may argue it doesn't matter, but choosing poor names, having lots of name clashes or being inconsistent with names does make things more confusing. That's true for pretty much all the code you write. Proper communication is important. :)

Thanks, Captain P.

Yes, I am somewhat going to make a distinction between static and dynamic scenery.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this