I know I talked about how the inventory was coming along with weapons and bullets. Today however, I've started streamlining their creation through the use of 'Item Factories'. These classes hold all the data of every item and will return new items as requested, streamlining code and making it much more readable.
On to the interesting stuff - While I was working on these factory classes I realized that I hadn't set in stone the way equipment (and stats) were going to work in Zity. I originally had planned to simply use the old Strength, Intellect, Dexterity, Agility style stats and derive specific stats from them. For example a character with high intellect and dexterity has increased lock-picking and increased car-jacking. A character with high agility and strength would have increased melee damage and run speed. You get the picture. While implementing this I realized I really didn't like it. These stats were too base, too simple, and they didn't give enough control and clarity over what each one does. So I got to thinking and came up with the following:
There will be specific stats for specific actions, similar to professions in World of Warcraft (Skinning, Mining, Fishing, etc), skills (Skill with guns, melee), and attributes (Strength, Cold Resistance). The compiled list I have so far is as follows:
Stats:
Lock Picking
Car Jacking
Strength
Cold Resistance
Guns
Melee
Armor
With these stats I'm able to vary each classes starting attributes to (semi)correctly match their theme. For example:
Hobo ~ ++ Cold Resistance, + Melee, - Armor, - Strength
Geek ~ + Car Jacking, + Guns, - Strength, - Armor, - Melee
Doctor ~ + Cold Resistance, + Lock Picking, + Armor, - Melee, -- Guns
You get the idea. In this way each stat is easily accessible and understandable and tailoring your character to the kind of play you desire is simple. This list of stats (and the examples) is definitely not complete. Some characters may get special stats that only apply to them. I'm still brainstorming all the ones I'd need in the game but I may just start with these and add others as things move on. Comments/Suggestions are welcome.
(Sorry, no picture today)
No comments:
Post a Comment