OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: 0xEBJC on November 19, 2023, 02:26:20 am

Title: [DONE][Suggestions] Show every ammo clip size in the UFOPedia page
Post by: 0xEBJC on November 19, 2023, 02:26:20 am
One thing that I have always wanted is for each clip to show it ammo count in the UFOPedia page... without navigating to the "INFO" page, either by each clip type if the clips are different? 

If the gun determines the ammo count then have the the info listed by the weapon name, or if each clip by type, i.e. kenetic, incinderary, etc. can have different ammo counts then place the value next to the clips on the UFOPedia like it shows in the soldier inventory next to the ammo clip icon.

I use the mod "Weapon Ranges Shown" which is really nice QoL to have on the weapons page, so maybe there is an easy way to make a mod to show the ammo count? I thought that was pretty slick to change the language string to include the range value.


The other suggestion is to be able to navigate to the UFOPedia page for a particular item or weapon from the buy, sell, craft equip, or soldier inventory screens.  This could be accomplished by a CTRL + mouse click or ALT + click, etc.  That would mean the items would have to have a UFOPedia page tag to know where to go. An there would need to be a check to see if the UFOPedia page is visible yet by research or discovery, etc. and if not then do nothing.
Title: Re: [Suggestions] QoL UFOPedia Info Enhancements and Navigation
Post by: Juku121 on November 19, 2023, 09:21:38 am
The other suggestion is to be able to navigate to the UFOPedia page for a particular item or weapon from the buy, sell, craft equip, or soldier inventory screens.  This could be accomplished by a CTRL + mouse click or ALT + click, etc.  That would mean the items would have to have a UFOPedia page tag to know where to go. An there would need to be a check to see if the UFOPedia page is visible yet by research or discovery, etc. and if not then do nothing.
Middle mouse button, except for selling, where it's CTRL+MMB. Does nothing if there's no pedia page available, too.
Title: Re: [Suggestions] QoL UFOPedia Info Enhancements and Navigation
Post by: 0xEBJC on November 20, 2023, 02:20:23 am
Middle mouse button, except for selling, where it's CTRL+MMB. Does nothing if there's no pedia page available, too.

Hey Juku121

Awesome, thank you!
Title: Re: [Suggestions] QoL UFOPedia Info Enhancements and Navigation
Post by: 0xEBJC on November 20, 2023, 02:24:40 am
Is there an Openxcom or OXCE+ manual? 

I've played this game since it came out in the early 90s, but seams like there is always something new that i wished I had know before.  I just recently learned about the right click on a weapon to get the yellow dot to designate it as the preferred weapon.
Title: Re: [Suggestions] QoL UFOPedia Info Enhancements and Navigation
Post by: psavola on November 20, 2023, 06:36:46 am
This lists quite a few:

https://www.ufopaedia.org/index.php/Hidden_Features_(OpenXcom)#Battlescape

It's organized in a bit messy manner and it's missing some, for example escort-feature when managing your crafts.
Title: Re: [Suggestions] QoL UFOPedia Info Enhancements and Navigation
Post by: 0xEBJC on November 28, 2023, 08:33:11 pm
I'm still trying to find a way to show the clip size on the weapon info page in the ufopedia, next to each clip icon.  Based of the 'INFO' nerd stuff it looks like the clip size if a parameter of each clip so the clips could vary in clip size so I would need to get that from the clip data.

I'm looking through the source on github, but it's not apparent yet. I did find the info about the range values.
https://github.com/MeridianOXC/OpenXcom/blob/oxce-plus/src/Ufopaedia/ArticleStateItem.cpp

if (item->getBattleType() == BT_FIREARM)
{
...
}
Title: Re: [Suggestions] QoL UFOPedia Info Enhancements and Navigation
Post by: Meridian on December 09, 2023, 11:22:48 am
I'm still trying to find a way to show the clip size on the weapon info page in the ufopedia, next to each clip icon.

There is no such thing atm.

Based of the 'INFO' nerd stuff it looks like the clip size is a parameter of each clip so the clips could vary in clip size so I would need to get that from the clip data.
I'm looking through the source on github, but it's not apparent yet.

RuleItem::getClipSize()
Title: Re: [DONE][Suggestions] Show every ammo clip size in the UFOPedia page
Post by: Meridian on December 31, 2023, 06:45:10 pm
Done.

`oxcePediaShowClipSize: true` setting in options.cfg

https://github.com/MeridianOXC/OpenXcom/commit/c1314057a3c86e6368a012d7d27f9c15d9b44bfd
Title: Re: [DONE][Suggestions] Show every ammo clip size in the UFOPedia page
Post by: 0xEBJC on February 14, 2024, 02:53:36 am
This is awesome! Thank you.

Very helpful to help.