- Joined
- May 5, 2005
- Messages
- 8,884
3 thoughts about modding C3C, that are used in CCM version 2.00:
1. The number of strategig resources in modding the C3C mainfiles is not limited to 8.
In earlier statements about C3C, Firaxis said, they have abandoned the "City View- Screen" for mods and scenarios for an easy fix of problems concerning the images of strategic resources in the city screen, if these resources exceed the eight resources of Civ 3. On the other side, in the epic game of C3C, we can use the "City View-Screen" without any restrictions. My logical conclusion was, that the eight strategic resources are the limit to play the epic game without any problems and this conclusion would fit to the place for strategic resources reserved in the city screen - but this conclusion is wrong:
The special quality of the screenshot above is, that it is a screenshot of the modded C3C mainfiles and not a screenshot of a mod or scenario located in the C3C Conquests- or Scenarios-folder.
In the epic gane of C3C, if there are more than eight resources connected to a city, a second icon for the city view appears, holding the strategic resources (blue in the screenshot). The original icon for the city view (and of course the city view itself) still is existing in the epic game. In the epic game there is a screen for the strategic resources (if they exceed 8) and additionally the city view existing. Therefore the question is arising, why the mods and scenarios contained in the conquests- or scenario-folder have to sacrifice the city view. So the city view is not one of the most important options of C3C, I´m wondering, why we have to dispense with the city view, if the game itself shows, that this can be handled, too.
As the epic game holds many other additional options that I want to use for CCM, the finding, that the epic game can hold more than eight strategic resources without crashing, offers new possibilities of modding CCM, especially in the field of (Advanced Autoproduction) of units.
2. Improving the autoproduction of units :
In C3C there is a need for units, that are "not buildable, but upgradeable". C3C opened the way to create such units by buildings that can produce certain units, even units that normally cannot be produced for that civ. The problem is, that there are only 256 buildings available for C3C and this number of buildings is quickly used up, if the autoproduced units cannot upgrade to different other units that are not buildable, but only upgradeable.
I. Some years ago I showed a way to produce such units using the king-flag.
A unit unavailable to all civs is autoproduced by a building and now is available to the civ that holds that building. This basic unit now can upgrade to a unit (or more other units for different civs) with the king-flag in the editor.
One backside of this methode was, that if a unit with the king-flag upgraded to another unit with the king-flag, the new unit didn´t receive the name of the unit, but the name of the ruler of that civ. A heavy Tiger tank that holds the name "ruler" is somewhat ridicolous in the gameplay.
Another backside of the setting with the king-flag is, that the game is programmed to treat that unit as the last defender of a stack of units. This can become especially pesky, when your workers are slaughtered by a weak attacker and the defending unit in the stack with a high defensive value (per example machingunners) do nothing against that slaughtering attacker, as the defending unit is treated as a king-unit.
2. ZergMazter some time ago showed another way to treat this problem, using era-none techs in the following way:
a) An era-none-tech for every civ that should receive such an unit.
b) The unit (upgradeable, but not buildable) needs that tech as a perequisite.
c) A strategic/lux. resource as a perequisite, that appears in the techtree, when the unit should be available.
The advantages of this methode are, that the units can be upgraded several times without the naming problem, as the king-flag isn´t used any longer. Additionally units with strong defensive values, that are upgradable but not buildable, now are treated as normal units, defending weaker units in the stack.
The old methode using the king-flag should only be used any longer, if there is no strat./lux. resource available in the techtree, when the new unit should appear, or if it makes good sense to treat the unit as the last defender of a stack (per example for aircraft carriers).
The disadvantage of that methode, that this unit doesn´t appear in the techtree any longer, can be corrected with the following methode of doing the civilopedia.
Edit: Warning! That methode has a severe backside!
Second Edit: I think I found the solution of the naming-problem of the units with the king-flag
3.New possibilities to write the Civilopedia:
Since the great scenario 1989 of Anthony Boscia we know, that units with their first of the three slot of resources not used, don´t trigger the hardcoded entry of resources in the civilopedia (even if slot two and three are holding resources as a perequisite).
So it is even possible, to do complete "dummy-entries" for units (and buildings), that show another setting than the setting in the editor and for example to show a unit in a techbox of the techtree, that normally wouldn´t be in that techbox - for example a unit that in reality is an "era-none-tech-unit" but needs a resource that is only available with the tech in the techbox of the techtree.
Example: Heavy Artillery for the USA in CCM version 2.00
1. The SW Military Academy produces the unit "Heavy Artillery" that can be upgraded for several civs with the proper resources availavle with the proper techs). The unit "Heavy Artillery" is not connected to any civ by the settings of the unit, but by the ownership of the building that autoproduced that unit.
2. Upgrading to the US 155mm Artillery with the resource Aluminum available with tech Massproduction. The new unit is shown in the techtree with the dummy-methode I described above and with a working link to the next dummy-unit.
3. Upgrading to the SPA "M-7 Priest" with the resource Synthetic Fuel, available with the tech Mobile Warfare. The upgrading is possible for all units from Heavy Artillery up to US 155mm Artillery without any naming problems.
4. Upgrading to the SPA "M-12" with the resource Oil storage, available with tech Total War. The upgrading is possible for all units from Heavy Artillery up to M-7 Priests without any naming problems.
5. Final upgrade to the SPA "M-110" with tech Plastics. This unit has the king-flag. The upgrading is possible for all units of the "Heavy Artillery upgrading path".
The methode of writing the civilopedia I have shown, needs aditional entries for the dummy-units in the editor, in the pediaIcons file and the civilopedia. The methode works for all unit entries but the map civilopedia entriy and the general units overview entry. If you click on the last two entries, you will see the following:
As the number of starting techs in CCM is limited to four (two normal starting techs and one era-none tech for the religion and the other era-none tech for civspecific buildings) entries like the one above can happen, but they are not shown in the normal tech-tree orientated gameplay of the mod. As the link in the lilac box would lead to the next entry with the original era-none tech, I wiped them out with the methode I described above and use the links that are inside the green box of the screenshot above, leading to the next dummy-unit-entry.
By not using the first slot of resources for a unit, that unit also dissapears from the hardcoded list that triggers the Hyperlink-Overflow-Bug. So the methode of leaving the first slot empty also is a good way to stop that bug. Even if you decide, that a unit needs all three slots for resources and you have less than about 30 units that need that resource in three-slots settings, you don´t run into that bug any longer.
1. The number of strategig resources in modding the C3C mainfiles is not limited to 8.
In earlier statements about C3C, Firaxis said, they have abandoned the "City View- Screen" for mods and scenarios for an easy fix of problems concerning the images of strategic resources in the city screen, if these resources exceed the eight resources of Civ 3. On the other side, in the epic game of C3C, we can use the "City View-Screen" without any restrictions. My logical conclusion was, that the eight strategic resources are the limit to play the epic game without any problems and this conclusion would fit to the place for strategic resources reserved in the city screen - but this conclusion is wrong:
The special quality of the screenshot above is, that it is a screenshot of the modded C3C mainfiles and not a screenshot of a mod or scenario located in the C3C Conquests- or Scenarios-folder.
In the epic gane of C3C, if there are more than eight resources connected to a city, a second icon for the city view appears, holding the strategic resources (blue in the screenshot). The original icon for the city view (and of course the city view itself) still is existing in the epic game. In the epic game there is a screen for the strategic resources (if they exceed 8) and additionally the city view existing. Therefore the question is arising, why the mods and scenarios contained in the conquests- or scenario-folder have to sacrifice the city view. So the city view is not one of the most important options of C3C, I´m wondering, why we have to dispense with the city view, if the game itself shows, that this can be handled, too.
As the epic game holds many other additional options that I want to use for CCM, the finding, that the epic game can hold more than eight strategic resources without crashing, offers new possibilities of modding CCM, especially in the field of (Advanced Autoproduction) of units.
2. Improving the autoproduction of units :
In C3C there is a need for units, that are "not buildable, but upgradeable". C3C opened the way to create such units by buildings that can produce certain units, even units that normally cannot be produced for that civ. The problem is, that there are only 256 buildings available for C3C and this number of buildings is quickly used up, if the autoproduced units cannot upgrade to different other units that are not buildable, but only upgradeable.
I. Some years ago I showed a way to produce such units using the king-flag.
A unit unavailable to all civs is autoproduced by a building and now is available to the civ that holds that building. This basic unit now can upgrade to a unit (or more other units for different civs) with the king-flag in the editor.
One backside of this methode was, that if a unit with the king-flag upgraded to another unit with the king-flag, the new unit didn´t receive the name of the unit, but the name of the ruler of that civ. A heavy Tiger tank that holds the name "ruler" is somewhat ridicolous in the gameplay.
Another backside of the setting with the king-flag is, that the game is programmed to treat that unit as the last defender of a stack of units. This can become especially pesky, when your workers are slaughtered by a weak attacker and the defending unit in the stack with a high defensive value (per example machingunners) do nothing against that slaughtering attacker, as the defending unit is treated as a king-unit.
2. ZergMazter some time ago showed another way to treat this problem, using era-none techs in the following way:
a) An era-none-tech for every civ that should receive such an unit.
b) The unit (upgradeable, but not buildable) needs that tech as a perequisite.
c) A strategic/lux. resource as a perequisite, that appears in the techtree, when the unit should be available.
The advantages of this methode are, that the units can be upgraded several times without the naming problem, as the king-flag isn´t used any longer. Additionally units with strong defensive values, that are upgradable but not buildable, now are treated as normal units, defending weaker units in the stack.
The old methode using the king-flag should only be used any longer, if there is no strat./lux. resource available in the techtree, when the new unit should appear, or if it makes good sense to treat the unit as the last defender of a stack (per example for aircraft carriers).
The disadvantage of that methode, that this unit doesn´t appear in the techtree any longer, can be corrected with the following methode of doing the civilopedia.
Edit: Warning! That methode has a severe backside!
Second Edit: I think I found the solution of the naming-problem of the units with the king-flag
3.New possibilities to write the Civilopedia:
Since the great scenario 1989 of Anthony Boscia we know, that units with their first of the three slot of resources not used, don´t trigger the hardcoded entry of resources in the civilopedia (even if slot two and three are holding resources as a perequisite).
So it is even possible, to do complete "dummy-entries" for units (and buildings), that show another setting than the setting in the editor and for example to show a unit in a techbox of the techtree, that normally wouldn´t be in that techbox - for example a unit that in reality is an "era-none-tech-unit" but needs a resource that is only available with the tech in the techbox of the techtree.
Example: Heavy Artillery for the USA in CCM version 2.00
1. The SW Military Academy produces the unit "Heavy Artillery" that can be upgraded for several civs with the proper resources availavle with the proper techs). The unit "Heavy Artillery" is not connected to any civ by the settings of the unit, but by the ownership of the building that autoproduced that unit.
2. Upgrading to the US 155mm Artillery with the resource Aluminum available with tech Massproduction. The new unit is shown in the techtree with the dummy-methode I described above and with a working link to the next dummy-unit.
3. Upgrading to the SPA "M-7 Priest" with the resource Synthetic Fuel, available with the tech Mobile Warfare. The upgrading is possible for all units from Heavy Artillery up to US 155mm Artillery without any naming problems.
4. Upgrading to the SPA "M-12" with the resource Oil storage, available with tech Total War. The upgrading is possible for all units from Heavy Artillery up to M-7 Priests without any naming problems.
5. Final upgrade to the SPA "M-110" with tech Plastics. This unit has the king-flag. The upgrading is possible for all units of the "Heavy Artillery upgrading path".
The methode of writing the civilopedia I have shown, needs aditional entries for the dummy-units in the editor, in the pediaIcons file and the civilopedia. The methode works for all unit entries but the map civilopedia entriy and the general units overview entry. If you click on the last two entries, you will see the following:
As the number of starting techs in CCM is limited to four (two normal starting techs and one era-none tech for the religion and the other era-none tech for civspecific buildings) entries like the one above can happen, but they are not shown in the normal tech-tree orientated gameplay of the mod. As the link in the lilac box would lead to the next entry with the original era-none tech, I wiped them out with the methode I described above and use the links that are inside the green box of the screenshot above, leading to the next dummy-unit-entry.
By not using the first slot of resources for a unit, that unit also dissapears from the hardcoded list that triggers the Hyperlink-Overflow-Bug. So the methode of leaving the first slot empty also is a good way to stop that bug. Even if you decide, that a unit needs all three slots for resources and you have less than about 30 units that need that resource in three-slots settings, you don´t run into that bug any longer.