Help with modding america

MistaScriblez

Chieftain
Joined
May 17, 2014
Messages
22
Location
Los Angeles
I am trying to mod america to make it a really good civ, i am not trying to make a new mod

would this work?



<Trait_SpecialistYieldChanges>
<Row>
<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
<SpecialistType>SPECIALIST_ARTIST</SpecialistType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
<SpecialistType>SPECIALIST_SCIENTIST</SpecialistType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
<SpecialistType>SPECIALIST_MERCHANT</SpecialistType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
<SpecialistType>SPECIALIST_ENGINEER</SpecialistType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
<SpecialistType>SPECIALIST_ARTIST</SpecialistType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
<SpecialistType>SPECIALIST_WRITER</SpecialistType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
<Row>
<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
<SpecialistType>SPECIALIST_MUSICIAN</SpecialistType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>2</Yield>
</Row>
</Trait_SpecialistYieldChanges>
<Trait_SpecialistModifierChanges>
<Row>
<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
<HalfSpecialistUnhappiness>true</HalfSpecialistUnhappiness>
</Row>


I am trying to make it be 2 production from specialists and specialists cost half unhappiness. I think the production part would work, but i guessed for specialist
 
This will not work
Code:
<Trait_SpecialistModifierChanges>
	<Row>
		<TraitType>TRAIT_RIVER_EXPANSION</TraitType>
		<HalfSpecialistUnhappiness>true</HalfSpecialistUnhappiness>
	</Row>
  1. You can't invent table-names
  2. You can't invent column-names within a table regardless of whether the table exists or you are attempting to invent the table.
  3. There is no table called <Trait_SpecialistModifierChanges>
  4. Trying to use an undefined table merely makes the game discard the contents of the entire file where this occurs.
  5. You can define new game-tables in XML, in a manner similar to what is done at the top of many of the game-files supplied by Firaxis, but then at a minimum you need an lua script to tell the game what to do with this new xml-table.
    • Without at least an lua script your new game-table and the data being assigned to rows within it is merely inert text within the game's database that will do nothing.
    • You will still be constrained by what is possible within the game's lua API methods, and what the game's dll is written to accept with regards to specialists.
    • wrt to the last, Unemployed Citizens are one example where the game's stock dll hardcoded what can be done with their yields in many if not all cases. <Building_SpecialistYieldChanges> for example has no effect on SPECIALIST_CITIZEN (ie, unemployed citizens).
-----------------------------------------------------------------------------------------

I didn't mentioned missing <GameData> tags and the fact that it seems your post got cut-off because the text at the end just sort of ........
 
Could you help me just make america have koreas ability but with production? +2 production per settler, half cost for purchasing tiles.

If you could that would be very helpful
 
Top Bottom