[C3C] Added a #GCON can you add a pic?

576190

Chieftain
Joined
Apr 18, 2010
Messages
64
Hi all

So yes, added a new #GCON which now shows up in game great, but can you add a custom graphic for it?

Thanks people.
 
By GCON, do you mean a description for a unit/building?

And by custom graphic, do you mean the Civpedia Icon?

If so, please follow this. While this is a generic "How to add a unit" guide, it includes information on how to add the civpedia icons as well.
 
By GCON, do you mean a description for a unit/building?

And by custom graphic, do you mean the Civpedia Icon?

If so, please follow this. While this is a generic "How to add a unit" guide, it includes information on how to add the civpedia icons as well.

He means game concept. I think all game concepts have the same picture in the top right.
 
Oh, that.

Hmm, I don't know actually, I never tried, and I don't recall anyone doing so as well. Let me fire up my Civ3 and see if I can.
 
Oh, sweet, it totally works.

Add something like this in the pediaicons.txt file:

#ICON_GCON_Espionage
art\civilopedia\icons\<GCON IMAGE LARGE>.pcx
art\civilopedia\icons\<GCON IMAGE SMALL>.pcx
 
Yep, fantastic, that works.

Now to get rid of all those question marks... hmm there are rather a lot of them!

Thankyou everyone.
 
Thanks Bluemofia this is just great. You know it's just the little things.

Mods looking so much better thx.
 
Add something like this in the pediaicons.txt file:

#ICON_GCON_Espionage
art\civilopedia\icons\<GCON IMAGE LARGE>.pcx
art\civilopedia\icons\<GCON IMAGE SMALL>.pcx
I had the idea of trying to make a new Civilopedia category (for tactical advice) after what you said. This is what I tried.

Spoiler Civilopedia :
#GAME_Tactics_KEYS
TACT_Industry_&_Economy
TACT_Helpful_Hints
TACT_Find_and_Fix
TACT_Fighter_Escort
TACT_Resupply_by_air
TACT_Airborne_Assault

#GAME_Tactics

#TACT_Fighter_Escort
Fighter Escort
^
^Fighter aircraft can be used to remove fighters defending an enemy city or airfield. Fighters often have a much lower operational range than bombers and so may require an aircraft carrier to complete this mission. Simply bomb the site with fighters (especially obsolete ones) and for every dogfight you remove one fighter from action in that turn (regardless of the outcome) paving the way for otherwise defenceless bombers to level the site. This tactic has no effect on ground based anti-air units or buildings.


; End Tactics_________________________________________________________________End Tactics

Spoiler PediaIcons :
#Start Tactics
art\civilopedia\icons\Concepts\TacticsLG.pcx
art\civilopedia\icons\Concepts\TacticsSM.pcx
#ICON_TACT_Fighter_Escort
art\civilopedia\icons\Concepts\Fighter_EscortLG.pcx
art\civilopedia\icons\Concepts\Fighter_EscortSM.pcx


It didn’t work but I’m hoping that someone will have some ideas.
 
This method is used in my mod CCM for now about next to 10 years and therefore nothing new: CCM (epic mod) preview thread and CCM (epic mod)

Edited: But only with one image for all GAME CONCEPTS.

New would be to use concept-specific individual images for each single concept.

Edited: And this is what exactly is possible with the method Bluemofia describes - and this is new, at least for me. :) I will do a separate post in this thread about a short test I did.
 
Last edited:
Oni Ryuu I'm sure you have already considered:

GCON_Tactics_KEYS

#GCON_Tactics_KEYS
Tactics KEYS
^
^
^TACT_Industry_&_Economy $LINK< Industry & Economy=TECH_TACT_Industry_&_Economy>
^TACT_Helpful_Hints
^TACT_Find_and_Fix
^TACT_Fighter_Escort
^TACT_Resupply_by_air
^TACT_Airborne_Assault

This will produce a Civlopedia entry with a link to each page giving more info on the specific topic? you can also add graphics for each page...

As I said I'm sure you have already considered this, maybe it's not what you are looking for.

It wouldn't have to be a TECH just an example, you could link to another GCON or anything just to give you a Civlopedia entry to use.
 
This is what i wanted to do
Spoiler Demo :
No success yet, this is a cut and paste job.
upload_2017-2-12_16-54-47.png

This is already in my Civilopedia under Game Concepts.
upload_2017-2-12_16-56-36.png



I've clogged-up Game Concepts with an unrelated subject (game strategy). It doesn't effect the game in any way, i just makes Game Concepts look untidy.
 
Personally, I'm not convinced it is possible.

My reasoning is that, the only civpedia entries that show up are ones with a GCON key created at the beginning, or ones that actually exist as a unit/building/government/etc. listed in the editor. There is no apparent way to code for a separate category (nothing to emulate and no instructions on how to in the documentation), as you either have a GCON key, or you are listed in the editor. If the entry is not in the editor, and if there is no GCON key, it does not show up. (This is why in mods, they only need to add things that they have changed, and don't need to create empty entries for things they don't use.)

So if you can't create a new category of your own, and there doesn't seem to be anything indicating that it is in the "Game Concepts" section specifically, this implies that all entries that are created with a key are only available in the Game Concepts section.

One way around it, though it is a bit messy, is to pre-sort your Game Concepts with sections, such as by naming each GCON with a title:
Hints: Game Shortfalls
Hints: Helpful Hints
Hints: Industry and Economics
...
Mechanics: Age of Science
Mechanics: Agreements
Mechanics: Air Missions
Mechanics: Airfields
...
Tactics: Air
Tactics: Land
Tactics: Naval
 
I did a short test with the settings Bluemofia described above and I agree that it is possible to set concept-specific individual images for each single concept in the PediaIcons file.

I made the following entries in the PediaIcons file using for the graphics the entries of the following worker action graphics to speed up the test:

concepts2-jpg.464937


When starting the game and clicking the entries holding the changed concept graphics, both changed concept graphics appear in the civilopedia. :)

concepts1-jpg.464936


As Bluemofia wrote in the post above, I´m thinking too, that it is not possible to create new civilopedia keys other than the still existing ones - at least without changing the programming, as in the first words of the civilopedia stands: Keys for other items (units, techs, etc.) are set by Civ3Edit. In the editor we could give a unit a Tac_xx entry instead of a PRTO_xx entry (the same with buildings, governments, etc.), but even a unit or building with these new keys would still be listed as a unit or a building, if they appear at all. But may be somebody here has a solution for it. I didn´t do any test about this yet.

It´s wonderful, that even after so many years since the release of Civ 3, always something new is discovered. :)
 

Attachments

  • Concepts1.jpg
    Concepts1.jpg
    95 KB · Views: 235
  • Concepts2.jpg
    Concepts2.jpg
    154.8 KB · Views: 254
Last edited:
I decided to use a much simpler solution until we can think of something better. Civinator pointed out that a – puts the subject to the top of the list. I’ve done that for the main page (Tactics & Helpful Hints) and used z- for all of its contents.

How many links can a Civilopedia page have before it crashes? I’ve noticed that some resources mess things up.
We could rename Game Concepts to Instructions then have a menu for the different categories. Game Concepts will be moved to Instructions (with all of those links).
Spoiler :
upload_2017-2-12_23-25-33.png

The first part is easy but I don’t want to make all of those links if you tell me 12 is the limit.

EDIT: I’ve just realised the flaw in my plan. All of the concepts will still appear in Game Concepts. If they don’t appear in Civilopedia under one of the usual Civilopedia links they can’t be linked to.
 
Last edited:
What I meant was something like this:
Spoiler :

example.png



Rename the titles of all the game concepts to "Game Concept: <old title>", and name the Mechanics and Tactics titles to follow the format.

You can then combine it with Civinator's suggestion on a sort of a "Table of Contents" page for each of the categories, and have those pages have nothing but links to their respective pages.
 
“Dam it! I always get into trouble with the teacher.”

I know what you meant, I just wanted the cake and to eat it.
(For the international community: it means to win and to benefit from it.)

This is the method I’m using now.
Spoiler :
upload_2017-2-13_4-52-52.png


upload_2017-2-13_4-53-7.png


upload_2017-2-13_4-53-38.png

upload_2017-2-13_4-53-49.png

Your method prevents people from using the letters to quickly jump to a concept. The tactics stuff is already organised and not an issue. I couldn’t do the same for concept because most of the concepts are standalone. You’d have almost as many categories as entries. My method isn’t brilliant but the topics are still easily distinguishable.

I just tried (unsuccessfully) deleting all of the Tribe information and repurposing the #RACE_ marker for my tactics page. The new tags didn’t show and the computer just loaded the tribe information from scenarios.

I don’t think we’re going to win with this one. Whatever we do is going to be a compromise.
 
Last edited:
There are some more tricks doing lists in the civilopedia.

1. You can set items of the civilopedia against the alphabetical order at the end of the list by setting the items (not the con_link) in the special brackets that normally are used to create bold or cursiv text: {} or []. In the headline of the civilopedia entry there is no change to bold or kursiv, but in the game the entry is set at the end of the list. I used this trick in the current versions of CCM to separate the entries for the space race. The game will set civilopedia headlines in [ ] before headlines in { } at the end of the list. May be there are some more signs that can do that effect, but with this method one can create at least three categories of civilopedia entries in a list without any visible suffix in the game.

listconcepts1-jpg.464960


2. Another better suited methode to do more complex lists in the civilopedia is the following:

Use the suffixes 1- , 2- (and so on) before the headline of the civilopedia entry. This will set these entries at the top of the civilopedia in the game and as the suffix -1 comes before the entries with the suffix -2, here you can form groups by using the same suffix and can create a real list. May be you form chapters for the the individual categories in the civilopedia by special entries in the concept list with the suffix for that category and a combination with method 1. In the following screenshot I show that the number of the suffix is the critical factor before the alphabetical listing takes place as I set z before x.

#GCON_ZOC
1-Zone of Control
^
^
^Some military units have a [zone of control] that influences the eight squares surrounding the unit.
This represents the unit's ability to project its combat power into surrounding areas. Such units attack
enemies that enter the zone of control without initiating a full battle.
^

listconcepts2-jpg.464961
 

Attachments

  • ListConcepts1.jpg
    ListConcepts1.jpg
    238.2 KB · Views: 225
  • ListConcepts2.jpg
    ListConcepts2.jpg
    100.8 KB · Views: 209
Last edited:
Back
Top Bottom