Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


Weapon and Attribute selection screen


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 kizzmyanthia   Members   -  Reputation: 102

Like
0Likes
Like

Posted 26 July 2012 - 03:26 PM

I am beginning to program an FPS game and I have come to the part of deciding how to create the "Weapon select screen."

The game will be an online game. This will use 2D models or still images as the weapon images, each weapon will be displayed to the user, then each weapon will have X number of available attachments. The goal is a weapon select screen similar to BF3/COD/MW3.

So the way I look at it, this can be done by one of the following:
  • Relationable DB
  • Each Item is pulled from Table "weapons" each "weapon" will have an attachment ID1, ID2, ID3, etc. ID1=stock, ID2=optics, etc. then there will be an "attachement" table with each available attachment for each section.
  • XML
  • Each weapon has a "weapon_id" and then each has X number of attributes leading to an "attribute.xml" file similar to the above.
  • ............


I need suggestions or if anyone has any references that they could point me to it would be great. I am not looking for anyone to do this for me, I am just not sure what the "best" way to accomplish what I want to accomplish and the most secure, quickest, and extendable way.

Thanks ahead of time.

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS