|
by Ice Cream Jonsey 07/25/2012, 9:54pm PDT |
|
 |
|
 |
|
jeep wrote:
but if the items are like "hunting rifle" and "auto pistol" instead of 30 of each type maybe you get away with less than 100 inventory items?
I'm thinking of having a low number of takeable items, yeah. Which works out great for me, the programmer. I can make "scenery" items all I want (which can't be taken), and allow the player to >look at that scenery and get jokes, but I don't have to worry about them running off with too many things.
do you need to store all the relevant qualities for each item in the same place, making it really a table with dozens of columns?
I don't need to do this for items -- I can have a class for glocks, and if I decide I want to modify that, I can do it in one place.
With all of this in mind, I think I am going to support something like this:
* Load player character from disk
* Character has no items
* Character is in an armory with lots of rifles, grenades and such
* Support >load up Vargas and the game will add one object of each type to his inventory, for as many inventory spaces are allowed.
And if the player then wants to do some customization, the game would support "add 20 grenades to Vargas. Drop his rifle."
Basically, I think I can avoid the problem that X-COM had where you have customize the equipment of your dudes all the time, by supporting some handy short-cut phrases.
ICJ |
|
 |
|
 |
|
|
|
Saving characters and character items by Ice Cream Jonsey 07/24/2012, 10:56am PDT 
damn that seems backwards by jeep 07/24/2012, 9:46pm PDT 
Re: damn that seems backwards by N 07/25/2012, 9:50pm PDT 
Re: damn that seems backwards by Ice Cream Jonsey 07/25/2012, 9:54pm PDT 
Wherein I make a load of assumptions by Entropy Stew 07/25/2012, 4:36pm PDT 
Re: Wherein I make a load of assumptions by Ice Cream Jonsey 07/25/2012, 10:01pm PDT 
yw! by Entropy Stew 07/25/2012, 10:39pm PDT 
Also by Entropy Stew 07/25/2012, 10:52pm PDT 
Re: Also by Ice Cream Jonsey 07/27/2012, 6:17am PDT 
Multi-dimensional array? by Flack 07/25/2012, 5:30pm PDT 
Re: Multi-dimensional array? by Ice Cream Jonsey 07/25/2012, 9:48pm PDT 
|
|