by Gez » Mon Aug 03, 2009 2:20 am
ds201 wrote:another dehacked incompatibility, if you use a model pack, and you load a wad that dehackes an item, any item, or weapon, the pickup model will be removed
Am I the only one who finds the idea of using model packs and dehacked together weird?
Anyway it's kinda normal. Doom originally did not differentiate between pickup items. A health bonus, a weapon, a key, an armor -- all those where the exact same thing. It simply used the same function to handle them all, and for doing so used a "switch (sprite)" block. Take the health bonus, dehack it to use the BON1 sprite, and tadaa! It's now a health bonus. Take the green armor, give it the BFG pickup sprite, and it'll be a BFG from now on. So to handle dehacked lumps, ZDoom replaces dehacked pickup items by a different actor, [wiki=Classes:DehackedPickup]DehackedPickup[/wiki], which has the special sprite-based code.
As a consequence, your model pack which changes the way, say, ArmorBonus looks, will not be relevant because the actor will actually be DehackedPickup, not ArmorBonus.
[quote="ds201"]another dehacked incompatibility, if you use a model pack, and you load a wad that dehackes an item, any item, or weapon, the pickup model will be removed[/quote]
Am I the only one who finds the idea of using model packs and dehacked together weird?
Anyway it's kinda normal. Doom originally did not differentiate between pickup items. A health bonus, a weapon, a key, an armor -- all those where the exact same thing. It simply used the same function to handle them all, and for doing so used a "switch (sprite)" block. Take the health bonus, dehack it to use the BON1 sprite, and tadaa! It's now a health bonus. Take the green armor, give it the BFG pickup sprite, and it'll be a BFG from now on. So to handle dehacked lumps, ZDoom replaces dehacked pickup items by a different actor, [wiki=Classes:DehackedPickup]DehackedPickup[/wiki], which has the special sprite-based code.
As a consequence, your model pack which changes the way, say, ArmorBonus looks, will not be relevant because the actor will actually be DehackedPickup, not ArmorBonus.