OpenXcom Forum

OpenXcom Forks => OXCE Bugs => OpenXcom Extended (OXCE) => OXCE Bugs FIXED => Topic started by: Dioxine on May 14, 2023, 01:47:50 pm

Title: [FIXED] Loaded HWP ammo does not honor startingConditions
Post by: Dioxine on May 14, 2023, 01:47:50 pm
If HWP is allowed on mission, but the kind of ammo it was loaded with is not, the ammo stays in the gun and on the mission. This might be a case for all fixed weapons - didn't test.
Title: Re: Loaded HWP ammo does not honor startingConditions
Post by: Meridian on May 14, 2023, 03:27:31 pm
Shouldn't the HWP be disabled as well then?

(if the ammo was "not available", you wouldn't be able to put the HWP on the craft)
Title: Re: Loaded HWP ammo does not honor startingConditions
Post by: Meridian on May 14, 2023, 04:28:42 pm
I'll make the check more robust in the next version.

HWP will be sent back to base if either the HWP itself is disabled or if HWP's ammo is disabled.
Title: Re: [FIXED] Loaded HWP ammo does not honor startingConditions
Post by: Dioxine on May 15, 2023, 06:28:44 pm
The issues is when if some HWP ammo is disabled and some is not (therefore HWP itself is enabled because SOME ammo works). It still keeps the disabled ammo in case it was loaded.
Title: Re: [FIXED] Loaded HWP ammo does not honor startingConditions
Post by: Meridian on May 15, 2023, 06:42:40 pm
The issues is when if some HWP ammo is disabled and some is not (therefore HWP itself is enabled because SOME ammo works). It still keeps the disabled ammo in case it was loaded.

I don't understand.
OpenXcom supports only 1 ammo for HWP, you cannot use more than one.