UFO:Alien Invasion

Archive => Bugs in older version (2.3.1) => Topic started by: PurpleCaterpillar on November 11, 2010, 04:50:19 pm

Title: Plasma Blades & the Equip screen
Post by: PurpleCaterpillar on November 11, 2010, 04:50:19 pm
When equipping plasma blades they appear as "depleted" (with red highlight).
However, when in battle, they look and function properly.
Just strange...

This is in v2.3, stable release.

I'll open a bug report on the tracker if it happens for other people too,
so I'll need like 2-3 replies to make sure. Thanks.  =)

EDIT: Fixed a minor typo.
Title: Re: Plasma Blades & the Equip screen
Post by: Mattn on November 12, 2010, 11:41:32 am
yes - please open a ticket for this - the plasma blades are a special type of weapon - they are maybe just not handled in the equipment screen correctly. (they don't have ammo)
Title: Re: Plasma Blades & the Equip screen
Post by: Mattn on November 12, 2010, 11:42:31 am
the function is UI_DrawItem in ui_node_container.c (in 2.4-dev)
Title: Re: Plasma Blades & the Equip screen
Post by: Mattn on November 12, 2010, 11:47:11 am
i haven't looked deeper, and i might be wrong here, but imo it does not make much sense to set oneshot, deplete AND reload for the same item. as oneshot means, we have our own ammo (exactly one shot), deplete means, that it isn't usable after we did that one shot, so why the heck is reload defined there?
Title: Re: Plasma Blades & the Equip screen
Post by: PurpleCaterpillar on November 12, 2010, 03:44:56 pm
Thank you for your reply, Mattn.
I've opened a ticket on the bug-tracker, with a link to this post.
Title: Re: Plasma Blades & the Equip screen
Post by: Mattn on November 12, 2010, 04:48:23 pm
https://sourceforge.net/tracker/index.php?func=detail&aid=3107958&group_id=157793&atid=805242
Title: Re: Plasma Blades & the Equip screen
Post by: MCR on December 11, 2010, 02:37:02 pm
This bug has been fixed in 2.4dev & already merged back to 2.3dev.
The problem was indeed 'reload 1' in the weapons_melee.ufo.