apotheoser
Prince
- Joined
- Apr 15, 2006
- Messages
- 336
I'm trying to make a civic give bonuses to specific specialists. For example, Engineers get +1 - but only Engineers. Civ4CivicsInfo only allows SpecialistExtraCommerce, which applies to every kind of specialist (and only does types of Commerce anyway).
So I went into Civ4BuildingsInfo and found the tag for changing specific specialist yields, SpecialistYieldChanges. I added SpecialistYieldChanges and all the applicable subtags to Civ4GameInfoSchema, from Civ4BuildingsSchema. The game actually loads, so that part worked anyway.
However, it doesn't actually change the Specialist's output. For example:
<SpecialistYieldChanges>
<SpecialistYieldChange>
<SpecialistType>SPECIALIST_ENGINEER</SpecialistType>
<YieldChanges>
<iYield>5</iYield>
<iYield>5</iYield>
<iYield>5</iYield>
</YieldChanges>
</SpecialistYieldChange>
</SpecialistYieldChanges>
didn't change anything about my Engineers when I switched to the Civic I put it in.
Questions:
(1) Why not?
(2) Do I need to look in (a) the python or (b) the .dll to try and fix this?
So I went into Civ4BuildingsInfo and found the tag for changing specific specialist yields, SpecialistYieldChanges. I added SpecialistYieldChanges and all the applicable subtags to Civ4GameInfoSchema, from Civ4BuildingsSchema. The game actually loads, so that part worked anyway.
However, it doesn't actually change the Specialist's output. For example:
<SpecialistYieldChanges>
<SpecialistYieldChange>
<SpecialistType>SPECIALIST_ENGINEER</SpecialistType>
<YieldChanges>
<iYield>5</iYield>
<iYield>5</iYield>
<iYield>5</iYield>
</YieldChanges>
</SpecialistYieldChange>
</SpecialistYieldChanges>
didn't change anything about my Engineers when I switched to the Civic I put it in.
Questions:
(1) Why not?
(2) Do I need to look in (a) the python or (b) the .dll to try and fix this?