Chef Archive
Thread: What is going to happen to my Pre Chef Revamp Foods and Drinks after CU?
Page 1 of 1
AmadisdeLully
Tue Mar 29, 2005 3:33 am
#1
Since I collect these and I know that the new chef foods and drinks will be getting a revamp since many of the stats are totally changing, what will happen to my pre chef revamp food which buffed the stats that are being eliminated? Will they be changed or will they be left alone? Since I spent many many many hours looking for them, I hope they will be left alone.
sciguyCO
Tue Mar 29, 2005 2:22 pm
#2
It probably depends on a couple of things, although I'll do some digging.
Here's how I think the item code works in SWG. None of this has really had any dev confirmation, although I've put it together in my head based on some side comments I heard at Fan fest, my familiarity with SWG crafting, and my software development experience:
1) For every item in SWG, somewhere in the bowels of the game database or in the game code itself is a "base item". This contains the raw data of that item: stat categories (buff power, damage, resistence, stack size, etc), minimum stat value for each category, maximum stat value, resource requirements, resource stat contribution to each category, graphic for the item (probably implemented as a lookup to a picture reference), etc.
2) When you craft an item, you select various modifiers for that base item. Experimentation in each category changes the stat values affected by that category. Components combine with experimentation to add or multiply stat values. Graphics customization (for colorized items like armor/clothing) applies changes to the base item's graphic.
3) Factory crates store only the additional information from step 2. When a physical item is extracted from the crate, the game engine goes through a "crafting process" identical to making a prototype in a crafting tool. This requires referencing back to the "base item", and might explain why some changed items got an "invalid item" error when pulling from a crate: in those cases the base item was removed from the database, so the crafting process could not complete.
4) With the chef revamp, I believe that the new menu used all new base item definitions. Sure there was a "Breath of Heaven" pre-revamp and a "Breath of Heaven" post-revamp, but those probably pointed to two different base items in the database. My only evidence for that is that most pre-revamp foods could stillbe extracted from crates, though.
5) {this one I'm not as sure about} For already crafted items that are not in a crate, the item stats are stored on the object itself, and does not refer back to the base item. Graphics remain as a reference to a picture data object, which explains why new art got retroactively applied to pre-revamp foods (the referenced picture data was changed).
For the CU, the devs have to update both the base item definitions and all objects "instantiated"* from those base items. The first part won't affect your pre-revamp foods, since they are already sitting in the world without needing reference to the base item. Determining the effect of the second part is trickier. Based on comments I've heard/read, the item conversion scripts are one of the hardest parts of implementing the CU. Pre-revamp foods are probably really low on their priority list, but not out of the question to be changed. Tat Sunburn could be one on the chopping block, since a +1500 stamina buff could be huge depending on how the new stat/buff system works out.
Your museum items will almost certainly retain their old names and graphics (since I'm not expecting any art changes with the CU). At worst, buffs to stats that no longer exist may get removed and buff numbers may be changed on some set of foods. You'll still have the items themselves to display, but you may lose the "historical reference" available in looking at what foods used to do.
* For people who haven't dealt with object-oriented programming, instantiation is the process of creating a data object from apreviously defined "base class". The new object inherits all the properties of the base class but can be modified independently. In most cases, run-time modifications to the base class do not effect objects instantiated from that base prior, although I think it can be implemented that way.
Osrid
Tue Mar 29, 2005 2:53 pm
#3
sciguyCO wrote:* For people who haven't dealt with object-oriented programming, instantiation is the process of creating a data object from a previously defined "base class". The new object inherits all the properties of the base class but can be modified independently. In most cases, run-time modifications to the base class do not effect objects instantiated from that base prior, although I think it can be implemented that way.
Thats about it hahaha. Hope it helps some of thoose that have not dealt with this before and wanted to know a bit more but eh...
jadeew
Wed Mar 30, 2005 1:57 am
#4
"This item is no longer valid. Please delete it from your inventory"
Hoping for the best.....expecting the worst.
AmadisdeLully
Wed Mar 30, 2005 2:05 am
#5
SciguyCo, the reply you made was art. If I could give you five stars, I would!
I do think that perhaps my old pre chef revamp food may get new stats (this is the best of a bad situation for me). Now, if they DEVS brought back every food they deleted and art they deleted, I could probably be OK with this.I will decrate most of my pre revamp foods and drinks incase I get the "Object No Longer Exists" like I have with my pre revampFlameout and Dweezel crates after the CU revamp.
Page 1 of 1