project-navigation
Personal tools

Author Topic: Plasma Blades & the Equip screen  (Read 3756 times)

Offline PurpleCaterpillar

  • Rookie
  • ***
  • Posts: 32
    • View Profile
Plasma Blades & the Equip screen
« 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.
« Last Edit: November 11, 2010, 05:13:10 pm by PurpleCaterpillar »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Plasma Blades & the Equip screen
« Reply #1 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)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Plasma Blades & the Equip screen
« Reply #2 on: November 12, 2010, 11:42:31 am »
the function is UI_DrawItem in ui_node_container.c (in 2.4-dev)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Plasma Blades & the Equip screen
« Reply #3 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?

Offline PurpleCaterpillar

  • Rookie
  • ***
  • Posts: 32
    • View Profile
Re: Plasma Blades & the Equip screen
« Reply #4 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.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Plasma Blades & the Equip screen
« Reply #6 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.