View Full Version : Interface Unit Stacker


dampkring
Mar 31, 2006, 07:05 PM
Hello all,

I'm trying to create a Main interface Unit stacking component and really need some help from all who can contribute. I dont know much when it comes to this stuff so ANY help would be greatly appreciated!

I've made a copy of the CvMainInterface.py and have been looking through it trying to find the parts I believe would enable me to manipulate how the units are displayed on the Main Interface, here are some of the things that I found:

screen.addUnitGraphicGFC(), DisplayUnitModel(), "InterfaceUnitModel",
(all located under # Update plot List Buttons)

First, am I looking in the right spot? And Second, what do I need to do to change the way these graphics are positioned?

Thanks!

Here's an example of what I'm trying to accomplish:

http://i35.photobucket.com/albums/d156/rmichaelcook/MainScreen_UnitStacking_2.jpg

naf4ever
Mar 31, 2006, 09:17 PM
12monkeys is working on something like this already,,, i think. Maybe you two could collaborate. I saw these screenshots of his on this thread toward the bottom middle of the way down: http://forums.civfanatics.com/showthread.php?t=163865

dampkring
Mar 31, 2006, 11:31 PM
12monkeys is working on something like this already,,, i think. Maybe you two could collaborate. I saw these screenshots of his on this thread toward the bottom middle of the way down: http://forums.civfanatics.com/showthread.php?t=163865

Thanks for your help, I wrote 12Monkeys and am awaiting a response.