• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Python Performance and Interface Overhaul (PPIO)

i wasnt talking about camera zooming, just normal size units, and also talking about SINGLE UNIT Graphics, it changes the unit to alot smaller than normal.
Yes, and the size of the units change when you zoom in and out, but less so with PPIO.

This is the setting without PPIO:
<Name>UNIT_SCALE</Name>
<Key>700.0, 1.0</Key>
<Key>1500.0, 1.3</Key>
<Key>3000.0, 1.6</Key>
<Key>5000.0, 2.0</Key>​

This is the setting with PPIO:
<Name>UNIT_SCALE</Name>
<Key>600, 1</Key>
<Key>10000, 2.2</Key>​

The first number is camera distance, and the second number is the unit scale.

At the distance 600 units will be original size without PPIO, and original size with PPIO. (this is zoomed all the way in)
At the distance 700 units will be original size without PPIO, and around 1.01 times bigger with PPIO.
At the distance 1 500 units will be 1.3 times bigger without PPIO, and around 1.11 times bigger with PPIO.
At the distance 5 000, units will be 2 times bigger without PPIO, and around 1.56 times bigger with PPIO.
At the distance 10 000, units will be 2 times bigger without PPIO and 2.2 times bigger with PPIO. (You can zoom farther out with PPIO than without, world view happens at a further distance out too. So it is nice to have bigger unit models when that far out.)
The base for the unit model size is defined in the nif file, then the unit art xml scales that size with a factor, and the camera distance scales the unit size too in the end.
also see pic, is there anyways to change the color of this in red circled, its hard to see it with the TAN background??
I think I'll change the background to a regular blue background.
 
So you don't hold ctrl or shift or alt to add multiple buildings/units in city queue or to select multiple units?
Or for more information on units in the city build queue hovers?
 
Yes, and the size of the units change when you zoom in and out, but less so with PPIO.
Spoiler stuff :

This is the setting without PPIO:
<Name>UNIT_SCALE</Name>
<Key>700.0, 1.0</Key>
<Key>1500.0, 1.3</Key>
<Key>3000.0, 1.6</Key>
<Key>5000.0, 2.0</Key>​

This is the setting with PPIO:
<Name>UNIT_SCALE</Name>
<Key>600, 1</Key>
<Key>10000, 2.2</Key>​

The first number is camera distance, and the second number is the unit scale.

At the distance 600 units will be original size without PPIO, and original size with PPIO. (this is zoomed all the way in)
At the distance 700 units will be original size without PPIO, and around 1.01 times bigger with PPIO.
At the distance 1 500 units will be 1.3 times bigger without PPIO, and around 1.11 times bigger with PPIO.
At the distance 5 000, units will be 2 times bigger without PPIO, and around 1.56 times bigger with PPIO.
At the distance 10 000, units will be 2 times bigger without PPIO and 2.2 times bigger with PPIO. (You can zoom farther out with PPIO than without, world view happens at a further distance out too. So it is nice to have bigger unit models when that far out.)
The base for the unit model size is defined in the nif file, then the unit art xml scales that size with a factor, and the camera distance scales the unit size too in the end.

I think I'll change the background to a regular blue background.
Great explanation, and thx . .

EDIT:
where is the "green line" in the research area on top of the game meaning for example, going from 3 research to 2 research?? i miss that because i am constantly going back and forth on research to get the most out of the gold etc etc / /pic 1
 

Attachments

  • research.JPG
    research.JPG
    208.8 KB · Views: 284
Last edited:
I removed it... Do you really need a bunch of lines to do that?
its just handy is all, because i look there each and every turn and just like the research "arrow" i use all the time . .
 
its just handy is all, because i look there each and every turn and just like the research "arrow" i use all the time . .
I like those reference lines as well, it helps in team play to show which team member is going to finish the research.
 
How does it show which team member will finish the research?
If you do a little deductive work, they give you the information you need to figure it out.

Also shows a concept of what fraction of a turn's worth of research you'll achieve the tech you are researching and thus how close you are to having a few changes push you into a round earlier to get the tech.

Those lines are brilliant!
 
Last edited:
ran into a little problem when trying to look at Game Data at 1920X1080 even at a much lower one i cant get to certain choices?? see pic1

even tried it at 1600X1024 same problem??

? how do u get at choices of a map, ie: want to change from AI movement to normal standard movement, etc etc???
 

Attachments

  • res1.JPG
    res1.JPG
    452.9 KB · Views: 232
ran into a little problem when trying to look at Game Data at 1920X1080 even at a much lower one i cant get to certain choices?? see pic1

even tried it at 1600X1024 same problem??

? how do u get at choices of a map, ie: want to change from AI movement to normal standard movement, etc etc???
You can move that around.
 
ran into a little problem when trying to look at Game Data at 1920X1080 even at a much lower one i cant get to certain choices?? see pic1
I guess I have to modify the world builder soon, haven't intentionally changed anything about it yet. It's changed due to general changes that affect the entire game.
want to change from AI movement to normal standard movement?
You can change that in the BUG options.
 
the world builder has been on the "To Do" list for like 5+ years now, nobody wanted to touch it with a ten foot pole because of the shear size of the work :D atleast that's what I got told last time I mentioned "Hey the World Builder is about as stable as Trump's cabinet" :P
 
is there anyways JUST to add the ones i have circled and NOT the ones i have X'ed out into the core??? little changed but not too much .. . otherwise we might lose out base people. . .
 

Attachments

  • add.JPG
    add.JPG
    353.4 KB · Views: 248
is there anyways JUST to add the ones i have circled and NOT the ones i have X'ed out into the core??? little changed but not too much .. . otherwise we might lose out base people. . .
I think you're missing the point here. The speed of selecting things and going to the pedia and the pedia page changes are what are impressive. The things you circled are really all that changed. I may agree with you on the slider buttons... not sure I'm onboard with them being hotkeyed yet. But the other things you Xed out are there in the core as well so I'm kinda confused by those.
 
I think you're missing the point here. The speed of selecting things and going to the pedia and the pedia page changes are what are impressive. The things you circled are really all that changed. I may agree with you on the slider buttons... not sure I'm onboard with them being hotkeyed yet. But the other things you Xed out are there in the core as well so I'm kinda confused by those.
HUH, so u cant see the "era" rather than just the word, i'd rather see the actual era, ie "Prehistoric/Ancient etc etc" u should have to use ur mouse over to see it, if its already there . . .

dont like the up/down of the btns above the word "draft" are too close together, thats why i "X" them . . .

leave the sizes the same as BtS

X in the middle of page top because dont know for sure if i like the "Greats" where they r, in-retrospect with size i guess, for now . .

u mentioned going into the pedia pages, yes that is impressive for speed, but i maybe only use those pedia things like 2-3 times in a complete game . . of course that is "just me". .

also i got these errors:

Traceback (most recent call last):
File "CvWBInterface", line 230, in writeDesc
File "CvWBDesc", line 1545, in write
File "CvWBDesc", line 1193, in write
File "CvWBDesc", line 809, in write
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0259' in position 17: ordinal not in range(256)
ERR: Python function writeDesc failed, module CvWBInterface
Traceback (most recent call last):
File "CvScreensInterface", line 1046, in handleInput
File "CvMainInterface", line 5094, in handleInput
RuntimeError: unidentifiable C++ exception
ERR: Python function handleInput failed, module CvScreensInterface
 
HUH, so u cant see the "era" rather than just the word, i'd rather see the actual era, ie "Prehistoric/Ancient etc etc" u should have to use ur mouse over to see it, if its already there . . .
Oh I see. Good to clarify that then. I'd probably rather see the name of the Era there as well (though I think he might've needed room for the long numbers we get up there)

dont like the up/down of the btns above the word "draft" are too close together, thats why i "X" them . . .
Those are the buttons that take you to the next city right? I suppose they could be further apart. Are those different to the normal interface?

leave the sizes the same as BtS
Sizes of what?

u mentioned going into the pedia pages, yes that is impressive for speed, but i maybe only use those pedia things like 2-3 times in a complete game . . of course that is "just me". .
You're familiar with C2C and may not need to but a player with less familiarity is bound to spend a lot of time there if they are taking the game seriously and giving things strategic consideration. I use it a lot myself but am a lot more reluctant due to how slow it is so a speedup on that would be beyond awesome. The pause to wait to get into the pedia is normally horrific.

X in the middle of page top because dont know for sure if i like the "Greats" where they r, in-retrospect with size i guess, for now . .
I have to admit I like the longer tech bar with the increments for each turn displayed. It's good to have a longer GP bar up there because the type chances tend to run off too far on the current core interface. The GMP (Great Military Person) Bar is good to lengthen a little but I'm not sure how much it needs really.
 
HUH, so u cant see the "era" rather than just the word, i'd rather see the actual era, ie "Prehistoric/Ancient etc etc" u should have to use ur mouse over to see it, if its already there . . .
There would be a lot of overlap with the gold + income number if the word "Prehistoric" had to be written to the right of it, it would on your resolution reduce the width of the tech/GP/GG bars so much that it's unacceptable.
It would almost remove a third of the GP bar on your resolution.
I changed it because the overlap in core C2C was unaceptable to me, I won't change it back.
I might change the word "Era" into an icon at a later point. If I can think of an icon that would be intuitive. Each era could have its own icon...
dont like the up/down of the btns above the word "draft" are too close together, thats why i "X" them . . .
Do you hit them by accident when going for the draft button? I guess I could move them up a little bit.
Traceback (most recent call last):
File "CvWBInterface", line 230, in writeDesc
File "CvWBDesc", line 1545, in write
File "CvWBDesc", line 1193, in write
File "CvWBDesc", line 809, in write
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0259' in position 17: ordinal not in range(256)
ERR: Python function writeDesc failed, module CvWBInterface
I don't think that error has anything to do with PPIO, seems like a unit have a name with a character that the WB can't store in a text file when writing out a WB report...
I could look into it at a later point, when I'm actually in the mood to mod WB code.
 
Each era could have its own icon...

Do you hit them by accident when going for the draft button? I guess I could move them up a little bit.
icon good...
and u didnt read what i wrote, i said ABOVE the word draft , separate the arrows more not the separation between the arrow and the word Draft . .
 
Back
Top Bottom