View Full Version : China Screen v1.0
PrinzMyshkin Mar 30, 2009, 01:07 PM China screen v1.1 is is a special mod for AoD 2 mod, and replaces the European port with a chinese one for China.
The current version is compatible with AoD 2 v1.09.
To install this mod:
a) Copy CvEuropeScreen.py to \Colonization II\Mods\AgeOfDiscoveryII\Assets\Python\Screens folder.
Please do not forget to backup your original file. In case you mess up, I attach the original file here as well. :)
b) Copy ChinaBackground.dds to D:\Games\Colonization II\Mods\AgeOfDiscoveryII\Assets\Art\Interface\Scre ens\Europe
Update list for v1.1
Fixed a bug where units at the docks were not positioned properly for some screen resolutions.
I would appreciate your feedback on screen resolutions, display, best unit positioning, or anything else you like.
Special thanks to koma13, kaibayashi, Hermann the Lombard and Dale for their continuous help and support. :)
Thank you,
PrinceMyshkin
koma13 Mar 30, 2009, 01:53 PM Prince Myshkin,
I'm not sure there is some Qi energy involved but my dock units can fly. :p
PrinzMyshkin Mar 30, 2009, 02:12 PM That was my biggest pain. Which resolution gets this failure? Is it possible to set an offset for certain resolutions?
Man, haven't you seen?
http://www.youtube.com/watch?v=1I4Moi3-g14
koma13 Mar 30, 2009, 02:41 PM :D 1024x768 of course.
kaibayashi Mar 31, 2009, 04:15 PM Works fine for me in 1680x1050. Is there anyway to make all the colonists stand at the same height on the dock?
Btw Prinz, I have a slightly better version of the background, which tidies up a bit of the legs of the pier, if you're interested?
PrinzMyshkin Mar 31, 2009, 04:17 PM It varies for resolution to resolution.
Will check if I can set offsets with is statements like:
if (selfX.Resolution=1024 and selfY.Resolution=768)
offset=XYZ
Do your units have overwheling Qi energy?
Dale Mar 31, 2009, 04:27 PM Prinz, convert your statements to fractional statements like Firaxis uses for the default screen. Things like * 7 / 8 and stuff. That'll keep it all in scale. :)
PrinzMyshkin Mar 31, 2009, 04:38 PM Prinz, convert your statements to fractional statements like Firaxis uses for the default screen. Things like * 7 / 8 and stuff. That'll keep it all in scale. :)
Dale, I've always used fractions like:
# Dock
...
if (self.China):
screen.addScrollPanel("DockList", u"", self.XResolution * 37 / 200, self.YResolution * 169 / 400, self.XResolution * 2 / 7, self.CARGO_ICON_SIZE * 5 / 2, PanelStyles.PANEL_STYLE_MAIN, false, WidgetTypes.WIDGET_DOCK, -1, -1 )
It still though gives me a nice offset for the dock varying from resolution to resolution.
BTW Pirates also fly at the docks in my screen at Tortuga. I think it's the same bug.
Probably specific offsets need to be set for every resolution, or at least the problematic ones.
koma13 Mar 31, 2009, 05:15 PM I think I need to set specific offsets for every resolution, or at least the problematic ones.
No, that isn't necessary... (Don't buy a wide screen lcd next time :p)
Dale Mar 31, 2009, 06:33 PM No, that isn't necessary... (Don't buy a wide screen lcd next time :p)
Not much choice for me, my widescreen is the top half of the laptop. ;)
koma13 Mar 31, 2009, 09:09 PM Not much choice for me, my widescreen is the top half of the laptop.
That was only my reaction for saying 1024x768 is a problematic resolution. :)
PrinzMyshkin Apr 01, 2009, 12:13 AM Same here. :)
Koma, would something like this work?
if (self.XResolution=1024 and self.YResolution=768)
China_Screen_offset=XYZ
koma13 Apr 01, 2009, 12:46 AM Try:
self.YResolution * 35 / 64 - self.CARGO_ICON_SIZE * 2
This takes the ratio between x and y into account (self.CARGO_ICON_SIZE = self.XResolution / 25).
PrinzMyshkin Apr 03, 2009, 04:13 AM Thanks Koma!
There is an update, try v1.1 please! :)
Dale Apr 04, 2009, 06:20 AM Is this based of v5 of komas? Or off the v4 of AoD2?
PrinzMyshkin Apr 04, 2009, 08:43 AM ## Europe Screen Release 4
## by Koma13 (Dec 2008)
Want me to update v5? If yes, post file plz.
HTH
PrinzMyshkin Apr 04, 2009, 08:50 AM Btw Prinz, I have a slightly better version of the background, which tidies up a bit of the legs of the pier, if you're interested?
Ups, missed that. Post the file plz. :)
Does it use the transparencies I've set?
kaibayashi Apr 04, 2009, 03:01 PM Yeah. Lemme find where I've saved it too. Have you set specific transparencies for a reason? Cos i was thinking of merging it with some bits from the last version i did.
koma13 Apr 04, 2009, 03:22 PM Want me to update v5? If yes, post file plz.
No, wait. 5.0 beta doesn't support new west starting location feature in AOD2, I think. I will release a second beta soon. I was able to simplify some parts, means better performance and cleaner code. :)
Dale Apr 04, 2009, 03:40 PM K, I'll wait for the new version then. :)
koma13 Apr 04, 2009, 03:49 PM First beta was a little rough. I played around with plots... a lot. :crazyeye: I'm also thinking about removing that "lift boycott" feature. It alters game play to much (imho). And Ekmek is making an english translation.
kaibayashi Apr 04, 2009, 06:15 PM new ver for prinz. was thinking about tryin to move the rocks/wrecks in the top right down somewhere, cos atm there seems to be a bit of a sky/sea mashup going on up there. not sure if thats a bit beyond me tho. what do u think?
Dale Apr 04, 2009, 06:44 PM Yeah if you can, please remove them. They look out of place up there.
PrinzMyshkin Apr 05, 2009, 12:13 AM Kaibayashi please edit the .dds picture, and attach .dds. This one has no transparancies left. :)
Feel free to play around with the rocks on the top.
Koma, when v5.0 is ready please let me know.
Thanks,
Mysh :)
kaibayashi Apr 12, 2009, 08:08 AM hey prinz, sorry havent done anything on this yet, been away at a lan. What do you mean by no transparencies left?
PrinzMyshkin Apr 12, 2009, 04:17 PM You posted a pic with no transparent sea. Could you please edit the .dds file I posted instead? :)
Dale Apr 16, 2009, 06:50 AM Is this finished? I'd like to start adding all the GFX updates into 1.11 including Dev's units and these Homecity screens.
koma13 Apr 16, 2009, 09:09 AM Prince Myshkin, I uploaded a new update for Europe screen: http://forums.civfanatics.com/showpost.php?p=7991170&postcount=77. :)
PrinzMyshkin Apr 17, 2009, 02:51 AM Thanks man, I just saw. China screen will get updated too. :)
EDIT: Too much work at the moment, probably will take a couple of days.
PrinzMyshkin Apr 20, 2009, 12:50 PM Almost done. You got some cool random graphics, which I will have to remove or change where they spawn position. :)
koma13 Apr 20, 2009, 04:46 PM Almost done. You got some cool random graphics, which I will have to remove or change where they spawn position.
You are talking about the crab/fish animation in Tortuga screen? There are not random, just alternating. ;)
And don't forget the additional outbound layer, making tool tips much better accessible.
PrinzMyshkin Apr 21, 2009, 12:31 AM Yes, I got to find sometime to search how to disable them. Would it be possible to use them, but altering their spawning positioning?
BTW I couldn't find the recruit thingy (1st one). Seens like it was removed. :)
kaibayashi Apr 21, 2009, 06:17 PM hey prinz. sorry i havent done anything on screenyet. my pc is borked and am using gf's, hence not being around much recently. hopefully when i get things sorted i can help out some more. cheers :)
PrinzMyshkin Apr 22, 2009, 02:44 AM Don't worry about it. :)
I am still exploiting the nice work you did. ;)
koma13 Apr 24, 2009, 02:16 AM Yes, I got to find sometime to search how to disable them. Would it be possible to use them, but altering their spawning positioning?
See line 157 - 160 in CvEuropeScreen.py.
BTW I couldn't find the recruit thingy (1st one). Seens like it was removed.
Yes, I removed it, it wasn't needed anymore.
PrinzMyshkin Apr 24, 2009, 02:27 AM Thanks!
Yup, got it. :)
Was too busy with my own work lately, had virtually no time for C4C.
PrinzMyshkin Apr 24, 2009, 03:09 AM Instead of disabling it for chinese, would be fun to use it.
Can I change the spawning place of the animations?
koma13 Apr 24, 2009, 03:19 AM Yes:
screen.addBonusGraphicGFC("Crabs", gc.getInfoTypeForString("BONUS_CRAB"), self.XResolution * 4 / 5, self.YResolution / 2 + self.YResolution / 25 , self.XResolution / 5, self.YResolution / 10, WidgetTypes.WIDGET_GENERAL, -1, -1, 0, 0, 0.75, false)
First 2 values (I marked bold) are for x and y position.
PrinzMyshkin Apr 24, 2009, 03:24 AM Jees that's at: # show background section.
Never looked there. Do you use any proper text editor BTW?
PrinzMyshkin Apr 24, 2009, 03:51 AM That's my first beta of v1.2 China Screen. Please let me know if it works solid.
It is compatible with the updated version:
"# Europe Screen 5 beta2 - AOD2" by koma13!
Thanks!
Mysh
|
|