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

Bugs that have been fixed.

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

Postby Crimson Wizard » 23 Feb 2009 18:22

This one is perhaps the most weird and funny bug found in Vavoom ever ;) 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:
Code: Select all
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 :P
Crimson Wizard
 
Posts: 881
Joined: 09 Nov 2005 14:21
Location: St. Petersburg, Russia

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

Postby Firebrand » 23 Feb 2009 20:16

LOL, that's definitely a good one! ;)
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico

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

Postby Firebrand » 20 Apr 2010 13:14

Fixed.
User avatar
Firebrand
 
Posts: 1000
Joined: 11 Feb 2004 08:12
Location: Mexico


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests

cron