Back to the Vavoom Forum Archives


Forum

[Fixed][1.30] Hexen: inventory with ice damage type dies :)

Mon, 23 Feb 2009 18:22:55

Crimson Wizard

This one is perhaps the most weird and funny bug found in Vavoom ever <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> but it took me couple of days to understand what's going on. In Hexen, if a DamageType parameter of any inventory item, like weapon, is set to "Ice" (I wanted to use this parameter to determine melee damage type), item is being removed from inventory and destroyed in less than a second. That is because engine thinks it hits the floor all the time for some reason (it calls EntityEx::HitFloor), and since DamageType is "Ice", it thinks item is freezed and so sets StateTime = 0.1 to make it break in pieces after short time. But inventory item is usually in state Held:
Held:
	TNT1 A -1
	Stop
So, basically, inventory item waits for 0.1 seconds and Stops (dies). You can think it's breaking in ice shards <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->
Mon, 23 Feb 2009 20:16:35

Firebrand

LOL, that's definitely a good one! <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
Tue, 20 Apr 2010 13:14:46

Firebrand

Fixed.

Back to the Vavoom Forum Archives