
02-05-2011, 10:27 AM
|
smooth as eggs
|
 |
Join Date: Jul 2008
Location: Chanko
Posts: 136
|
|
How would you do this?
I am going to attempt at making this work. However I am rather bad at coding. I want to start a weapon system but am pretty lost in how it should be done. I am aware of the basic db setup. Every item should work differently so I know I can't use a list of variables to be sent to a master system.
So all items should have 1 thing in common , if they are primary(s key, right hand) and secondary(a key,left hand). Each item works differently then the next. Also each item can "upgrade". A shield would become stronger, sword would grow bigger/stronger. A hammer would gain the ability to break new things. Boomerang would go farther and so one. When one item is being used the other one should be disabled for that time.
Now onto the Question, What would you guys, the forum suggest for this? At the moment I'm thinking having every item its own weapon script with its way of working. How that would work , I have no clue. I'm not looking for any direct help or handouts, as that would just be lame of me :P. Just merely pointers on how i should handle this. Suggestions on the best ways to preform this are greatly appreciated.
-Killa Be |
|
|