Alpha Centauri 2

Sid Meier's Alpha Centauri & Alien Crossfire => Modding => Bug/Patch Discussion => Topic started by: Buster's Uncle on April 12, 2013, 05:43:01 AM

Title: EC gift list runs out of sight
Post by: Buster's Uncle on April 12, 2013, 05:43:01 AM
This doesn't happen all the time when gifting money, but it does happen a lot.  There are two more lines completely out of sight.

(http://alphacentauri2.info/MGalleryItem.php?id=528)
Title: Re: EC gift list runs out of sight
Post by: Guv’ner on April 12, 2013, 02:35:45 PM
With more options it runs to two columns like that sabotage target list for probe teams. Presumably they could both use the same code to determine whether to split to two columns and that would solve the problem.
Title: Re: EC gift list runs out of sight
Post by: scient on April 12, 2013, 04:05:22 PM
I don't think that's issue.  It is using the same method to push info to interface as #VIRUS (sabotage menu).  I think the problem is that unlike with #VIRUS menu, #OFFERENERGY has faction portrait that pushes down values so UI gets glitched.

See:
(http://i.imgur.com/QLQL3YF.jpg)

and here:
(http://i.imgur.com/9w4Reyc.jpg)

Ideally, the solution would be to get the UI handling function to make it take into account stuff like portrait so it doesn't overlap bounds of window.  Another solution would be to change type like so.

(http://i.imgur.com/WehnQzv.jpg)
Title: Re: EC gift list runs out of sight
Post by: Guv’ner on April 12, 2013, 08:54:50 PM
Or the portrait could be skipped on those screens.


To throw an unrelated spanner in the general direction of those works, presumably that same menu mechanism could be used to give a player more control over gifting techs by selecting the tech that they want to offer the AI?
Title: Re: EC gift list runs out of sight
Post by: Buster's Uncle on April 13, 2013, 10:49:11 PM
I'd hate to see the portraits go -part of the personality of the game that makes it special, after all- would it be that tough to expand the pop-up screen?

...

In a related-to-the-topic note, here's what you get when you click on a stack in excess of 48 units w/ very long names...

(http://alphacentauri2.info/MGalleryItem.php?id=550)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 31 - 840KB. (show)
Queries used: 15.

[Show Queries]