[Religion and Revolution]: Working on Screens

raystuttgart

Civ4Col Modder
Joined
Jan 24, 2011
Messages
9,672
Location
Stuttgart, Germany
This thread started differently but currently it is used for working on the screens for Religion and Revolution.

Spoiler :

Hi guys,

My name is raystuttgart.
I'm a German CivCol-Modder and former member / programmer of TAC ("The Authentic Colonization").

More than half a year ago I started my own project RWL (Ray's Wish List).
(RWL is based on TAC and will have a large merge with TAC 2.03 when this is out.)

In RWL I try to integrate the best of all the existing Mods and Modcomps but also add my own features.

Some of the features I created with TAC:

* Learning by Doing
* Criminals and Indentured Servants can run away or become free
* Whaling (rebuild and improved version of another Whaling Mod)
* Native Mercenaries
* Natives Stealing and Equipping Horses and Weapons like in Original CivCol
* Capturing of Settlers like in Original CivCol
* Capturing of Ships
* DLL-Events like European Wars, Revolutionary Support from other Nations, ...
* New pricing mechanisms (coupling raw to produced, min prices, ...)
...

To name some features I already created in RWL after TAC:

* Bargaining with Natives like in Original CivCol
* "Light Green Savanna" like in Original CivCol
* Rebuild of Missioning (to a more realistic variant)
* More DLL-Events (European Peace, European Prisons crowded, ...)
* Many many new Productionlines with Buildings, Professions, Yields, ...
* New system of units entering peaks
* Integration of my own variants of many different existing Modcomps (Multiple Profession Per Building, Trains and Trainstations, Abandoning Cities ...)
...

Some other ideas:

* Religions: Katholizism and Protestantism
* Inner Markets / Inland Sales
* Happiness / Satisfaction
* Being able to go to and sell in several / different european harbours (with different prices)
* Growing Improvements
* Trading Companies and Monopolies
* Slavery, Africa and Port Royal (basically a modified version of KJ_Janssons work)
...

Currently there only exists a Preview-Release of RWL, because I am in a highly experimental phase.
(I use Preview-Releases to exchange with other modders.
The linked Preview-Release is my last really stable version from end of April.
Of course it still has bugs, but it is stable enough to play.)

I owe credits to many many people that helped me or that I have taken parts of their work from.
But here again some of the people I owe credits:

* TAC-Team (of course :) )
* KJ_Jansson
* melcher kürzer (he is member of TAC, but I especially name him for his massive support with graphics)
* Kailirc
* Aymerik
* Androrc
* TC01
* NeseryozniyVET
...

The discussions in my forum are mostly german, sorry. :(
(But of course English comments and questions are allowed too. :)
I also understand a little French, Spanish and Portuguese, but English is a lot easier for me.)

So ok, after basically explaining what RWL is about:
(RWL is too big to completely explain it here, that is why I have my own forum. :) )

I am a programmer.
I am quite good in programming DLL.
XML of course is no problem too.

I can do and also did some stuff in Python but I am no specialist.
Doing screens takes me a lot of time.

I can also do basic 2D graphics (Gamefonts, DDS) but again it takes me horribly long.

3D graphics (e.g. Units) I cannot do at all and totally rely on help from others.

Therefore I am asking / begging for help !

I especially need support with grapics, screens and new founding fathers.

In exchange I am of course willing to help integrating my features in other mods or give support with writing DLL-Code. :)
(Of couse anybody interested can have my sources and integrate himself.)

By the way:
I would love to form cooperations or even better a modding team !
 
My first help request: Two Rows of Yields in Europe Screen

What I did in City-Screen:
(I am talking about the 2-Yield-Rows, which could be a Blue-Print how it could look in Europe Screen)

attachment.php


And now my very horrible Europe Screen:

attachment.php



Could anybody help me create two lines of Yields in Europe-Screen.
(I tried several times but it never looked good ...)

Or have it scrollable or something else ...

Please help ! :)
 
Hello Ray,

You really have great ideas!

I would really like to help you, but it will be quite difficult.
I've done some programming, but I'm not as good as you!
And I'm quite bat at graphics too ...

My first help request: Two Rows of Yields in Europe Screen

What I did in City-Screen:
(As a Blue-Print how it should look in Europe Screen)

And now my very horrible Europe Screen:


Could anybody help me create two lines of Yields in Europe-Screen.
(I tried several times but it never looked good ...)

Or have it scrollable or something else ...

Please help ! :)
What a nice city-screen! I've seen it in your RWL TAC 2.02 alpha... I'm impressed.
It's quite strange you can't add a second in Europe-Screen...
I can look at it. I'll try:eek:.

* Religions: Katholizism and Protestantism
That's funny, we've had the same idea. Have you seen what I've done in my Storm and Light v0.19? You can either choose "Counter-reformation" (Catholics) or "Protestantism" (Protestants) in Invention screen !

new founding fathers.
I was planning to add all the missing Founding Fathers and "Leaders" from Col94. There are 11 missing (7 FF and 4 leaders):
  1. Jakob Fugger (FF)
  2. Ferdinand Magellan (FF)
  3. Cavelier De La Salle (FF)
  4. Paul Revere (FF)
  5. Francis Drake (FF)
  6. Thomas Jefferson (FF)
  7. Jean de Breboeuf (FF)
  8. Chistopher Columbus (default Spanish Leader)
  9. Walter Raleigh (default English Leader)
  10. Michiel de Ruyter (default Dutch Leader)
  11. Jacques Cartier (default French Leader)
I have nearly finished Jacques Cartier. If no one else will help you (...I mean us), I will have to do them on my own. Are you interested in some of these Founding Fathers? Which ones? I can do them first... Have you other ideas?

By the way, I've seen your Malinche. She's quite a beauty ! Who created the file?
You've already added La Salle and Drake... La Salle is quite good, but he seems a little girlish. :blush: Was he really blond ? I've only seen a picture of him with a gray wig !
 
Hi Robert,

You really have great ideas!

Thank you. :)
I even have a lot more ideas I did not even publish yet. ;)

I would really like to help you, but it will be quite difficult.

That is fantastic news ! :)

I've done some programming, but I'm not as good as you!
And I'm quite bat at graphics too ...

At TAC most of us were specialised into a topic.
I specialised into designing technical concepts for new features and implementing DLL.
(But since I started RWL, I tried to learn a lot in other areas.)

What a nice city-screen! I've seen it in your RWL TAC 2.02 alpha... I'm impressed.

Thanks again. :)

It's quite strange you can't add a second in Europe-Screen...

No, do not misunderstand me.
I had done my own tries, but I was never satisfied with the result. :(
(It never looked as good as the screens my former colleagues at TAC did ...)

I can look at it. I'll try:eek:.

Fantastic again. :)

That's funny, we've had the same idea. Have you seen what I've done in my Storm and Light v0.19? You can either choose "Counter-reformation" (Catholics) or "Protestantism" (Protestants) in Invention screen !

I have seen your work. :goodjob:

Actually my ideas about "Religion" are a little bit different.
(They are not based on Technologies.)

It is very related to other concepts of mine (like a "Second Religious Parent" and "System of Satisfaction", ...).

You can read more here.
(Sorry, the discussion is German. :) )

I was planning to add all the missing Founding Fathers and "Leaders" from Col94. There are 11 missing (7 FF and 4 leaders).

I have a very large list of possible new founding fathers. :)
I would like to discuss with you.

Are you interested in some of these Founding Fathers? Which ones? I can do them first... Have you other ideas?

I would integrate everything you have / create. :)
I really want to have a lot more founding fathers.

By the way, I've seen your Malinche. She's quite a beauty ! Who created the file?

Fankman was the specialist for Founding Fathers at TAC.
He created Malinche and almost all other new ones.
 
Hi Ray,

Here's what I've done for now:
civ4screenshot0452.jpg
a
And with your screen:
civ4screenshot0453.jpg


Is that what your looking for? I just need to align everything and fix one or too things, but it works!

By the way, what does the 63% mean? "Tax rate 0% (63%)"???
 
...
By the way, what does the 63% mean? "Tax rate 0% (63%)"???

It's the maximum tax rate and the initial value depends on the difficulty level. The king will not raise the taxes above this value. If you pay the gold demands by the king, this maximum will lower. If you reject, it will raise. Also there is a total maximum and minimum value for this rate, depending on the difficulty level too.
 
Is that what your looking for?

Yes fantastic !
That is what I was looking for. :goodjob:

I just need to align everything and fix one or too things, but it works!

Could you attach the python-file of the screen when you are done ?
Thanks again !

I always had problems with parts of the screen overlapping or text not readable.
(For example the immigration queue and yield lines overlapping and one not properly displayed.)

Great job ! :)

By the way, what does the 63% mean? "Tax rate 0% (63%)"???

TAC (and RWL) knows a current tax rate and a maximum tax rate.
(It is a feature of NetBandit, that was included in TAC.
I could explain that feature later on in detail if you like. :) )

0% -> your current tax rate (basically like in vanilla)
63% -> your maximum tax rate (your behaviour in Diplomacy with King and special Events / Features will influence that rate)

As melcher said, accepting gold demands will lower the maximum tax rate.
There are also other features influencing both of them.
(DLL-Diplo-Events with the King, like "European Wars" for example.)

In short:

If you obey to the king and keep him happy, you will profit on the long run, because he will lower the maximum tax-rate and you will save a lot of money in late game.
(Current tax rate can not go above the maximum tax rate.)
 
I'll post the python file as soon as I've finished !

Thank you Melcher Kürzer and Raystuttgart for your explanations! It's a very good idea.
Is NetBandit a member of TAC-team? He did some good work!

As melcher said, accepting gold demands will lower the maximum tax rate.
There are also other features influencing both of them.
(DLL-Diplo-Events with the King, like "European Wars" for example.)
Very good! You really are talented guys !
 
I'll post the python file as soon as I've finished !

No pressure. :)

Is NetBandit a member of TAC-team?

No, as far as I know he was never officially a member of TAC
but he cooperated very tightly with TAC since he was active in the German forum too.
(Especially Education System and Tax System)

Sadly, NetBandit is not active as CivCol-Modder anymore. :(
(He was one of the great pioneers of CivCol-Modding ...)

He did some good work!

Indeed.
(That is why his work was integrated in TAC. :) )
 
This time it's is aligned,and the City View is correct:

civ4screenshot0456.jpg

and
civ4screenshot0457.jpg


Here's what I've added:
Code:
iX += self.BOX_W
iY += (iX / (self.XResolution -5) ) * self.BOX_H
iX =  max( iX  % (self.XResolution -5) , (self.XResolution - self.BOX_W * self.NUM_YIELDS_IN_A_ROW) / 2)
            ## RS Two rows of Yields if necessary END
If iX is grater than self.XResolution (e.g. iX = 1100 and self.XResolution =1024) than " iX % (self.XResolution -5) " is worth iX - self.XResolution + 5 (e.g. 1100-1024+5 = 81) [that is if iX is smaller that two times self.XResolution, if not you get an extra row!]

You can find your file here:
http://www.megaupload.com/?d=LR617OPF
 
PERFEKT !!!!! :thumbsup:
You are a lot better at screens than I am. :bowdown:
(I am very very impressed how fast you added the 2 lines of yields ....)

:thanx:

(I'll take a detailled look tonight but it really looks great.)

Edit:

Tested it.
Everything is working perfectly ! :)
 
Surcouf is very strong!

No doubts about that. :)

It is normal! It is a French! :p

Then maybe it is time to have some more cooperation between German and French CivCol-Modders. :dunno:
(We German modders might convince you, that we know a little about modding CivCol too. ;) )
 
As you have noticed, Ray, we have to fix the domestic advisor screen also. It's quite horrible !
I don't know how to make it scrollable. But, I've improved it a little:
civ4screenshot0511.jpg

Sorry, I forgot I was playing in French. You're seeing the french version !
civ4screenshot0510.jpg

civ4screenshot0509.jpg


Does someone know how to create a scrollable Table (I mean, both horizontally and vertically scrollable ! ) ? Until then, I don't see many options. I would have to fit resources on two different screens...
 
The only good solution I can think of is some way of scrolling.
(Horizontally and vertically of course.)

Otherwise I really do not know how to get good Advisor Screens with this large amount of Ressources and Buildings ...
 
Actually it is probably not the table itself that needs to be scrollable. :)
(The table is simply very broad.)

It is the screen that needs to be bigger and scrollable !
(This should be possible ! There are many examples of scrollable screens.)

By the way:
As I said, do not worry about the icons of some buildings not being displayed in Advisor Screen.
(That is a bug in the Gamefonts I would fix, once the screen itself would be working.)
 
Oh, yes you're right. How stupid am I ? A scrollable screen, not a scrollable table !

I'll check it out. I supposed you've noticed the incorrect code. The "last" resource is "TRADE_GOODS" so whatever you put AFTER trade goods, will never appear in your domestic advisor screen... I'll fix it of course.

But, I'll need some help first. Does someone know where to find the DEFINITION of the following functions ?
  1. addPanel
  2. addDrawControl
  3. addDDSGFC
  4. setText
  5. showScreen
  6. addTableControlGFC
  7. setTableColumnHeader
  8. appendTableRow
  9. setImageButton
  10. setImageButtonAt
  11. addDragableButtonAt
  12. addStackedBarGFC
I have tried to find them ... in vain.

And Ray, are you sure you've seen scrollable screens in Civ4Col? I've seen scrollable parts in screens, but not a scrollable screen ...
 
Back
Top Bottom