Modders Guide to Civilization V

I cant find the World Builder! I look everywhere under steam and can even find the tools that all the posts mention!

In Steam, go to the Library page.
In the small box where it says "All Games", click on that, and it'll bring up a pulldown that has several options. One of these options will be Tools. Change it to that.
Scroll down, select "Sid Meier's Civilization V SDK". The rest should be fairly obvious.
 
I want to make the Ironclad more useful by allowing it to move into ocean tiles. To do so I believe I need to delete its Ocean Impassable promotion in Unit_FreePromotions. Since there are other units with that same promotion and since the Ironclad has more then 1 free promotion, I believe I have a multi-conditional situation. I've read and re-read the Multi Conditional Update section of Kael's guide, but can't get my head around how to code a multi conditional delete. Can anyone help? Or let me know if there is a better alternative. Thanks - Jim
 
Is there by any chance a version of the SDK for Mac OS X?
 
I've read and re-read the Multi Conditional Update section of Kael's guide, but can't get my head around how to code a multi conditional delete.

Same way you'd do a multi-conditional Where.

Code:
<Delete UnitType="UNIT_IRONCLAD" PromotionType="PROMOTION_OCEAN_IMPASSABLE"/>
(or whatever the name of it is.) It's an implicit AND syntax, so you just list the two conditions you want to merge.
 
Is there a reason why I can't use the Civ I created?

I can't scroll the menu when I set up a game, so I can't select it.

Spoiler :
<GameData>
<!-- Table data -->
<Civilizations>
<Row>
<Type>CIVILIZATION_HELCARAXE</Type>
<Description>TXT_KEY_CIV_HELCARAXE_DESC</Description>
<ShortDescription>TXT_KEY_CIV_HELCARAXE_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_HELCARAXE_ADJECTIVE</Adjective>
<CivilopediaTag>TXT_KEY_CIV5_HELCARAXE</CivilopediaTag>
<Playable>true</Playable>
<AIPlayable>true</AIPlayable>
<DefaultPlayerColor>PLAYERCOLOR_HELCARAXE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_HELCARAXE</ArtDefineTag>
<ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
<PortraitIndex>0</PortraitIndex>
<IconAtlas>CIV_COLOR_ATLAS_LEGENDS</IconAtlas>
<AlphaIconAtlas>CIV_ALPHA_ATLAS</AlphaIconAtlas>
<MapImage>HelcaraxeMap360x448.dds</MapImage>
<ArtStyleSuffix>_EURO</ArtStyleSuffix>
<ArtStylePrefix>EUROPEAN </ArtStylePrefix>
<DawnOfManQuote>TXT_KEY_CIV5_DAWN_HELCARAXE_TEXT</DawnOfManQuote>
<DawnOfManImage>DOM_Helcaraxe.dds</DawnOfManImage>
</Row>
</Civilizations>
<Civilization_CityNames>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_HELCARAXE</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_HULBORG</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_KAEK_VALDAR</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_GRANDINVERNO</CityName>
</Row>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<CityName>TXT_KEY_CITY_NAME_BJORNSTAL</CityName>
</Row>
</Civilization_CityNames>
<Civilization_FreeBuildingClasses>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
</Row>
</Civilization_FreeBuildingClasses>
<Civilization_FreeTechs>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<TechType>TECH_AGRICULTURE</TechType>
</Row>
</Civilization_FreeTechs>
<Civilization_FreeUnits>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
<Count>1</Count>
<UnitAIType>UNITAI_SETTLE</UnitAIType>
</Row>
</Civilization_FreeUnits>
<Civilization_Leaders>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<LeaderheadType>LEADER_XABARAS</LeaderheadType>
</Row>
</Civilization_Leaders>
<Civilization_UnitClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<UnitClassType>UNITCLASS_LONGSWORDSMAN</UnitClassType>
<UnitType>UNIT_DANISH_BERSERKER</UnitType>
</Row>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<UnitClassType>UNITCLASS_FRIGATE</UnitClassType>
<UnitType>UNIT_DRAKKAR</UnitType>
</Row>
</Civilization_UnitClassOverrides>
<!-- Color definitions the civ uses -->
<Colors>
<Row>
<Type>COLOR_PLAYER_HELCARAXE_ICON</Type>
<Red>1</Red>
<Green>1</Green>
<Blue>1</Blue>
<Alpha>1</Alpha>
</Row>
<Row>
<Type>COLOR_PLAYER_HELCARAXE_BACKGROUND</Type>
<Red>0.427</Red>
<Green>0.008</Green>
<Blue>0</Blue>
<Alpha>1</Alpha>
</Row>
</Colors>
<!-- The player color for the civ -->
<PlayerColors>
<Row>
<Type>PLAYERCOLOR_HELCARAXE</Type>
<PrimaryColor>COLOR_PLAYER_HELCARAXE_ICON</PrimaryColor>
<SecondaryColor>COLOR_PLAYER_HELCARAXE_BACKGROUND</SecondaryColor> (dunno why there is a space in BACKGROUND. It's not like this in the XML, and I can't edit here)
<TextColor>COLOR_PLAYER_WHITE_TEXT</TextColor>
</Row>
</PlayerColors>
<!-- Texture atlases for this Civ -->
<IconTextureAtlases>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>256</IconSize>
<Filename>HlxIconAtlas256.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>128</IconSize>
<Filename>HlxIconAtlas128.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>80</IconSize>
<Filename>HlxIconAtlas80.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>64</IconSize>
<Filename>HlxIconAtlas64.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>45</IconSize>
<Filename>HlxIconAtlas45.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>32</IconSize>
<Filename>HlxIconAtlas32.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
</IconTextureAtlases>
<Civilization_Start_Along_Ocean>
<Row>
<CivilizationType>CIVILIZATION_HELCARAXE</CivilizationType>
<StartAlongOcean>true</StartAlongOcean>
</Row>
</Civilization_Start_Along_Ocean>
</GameData>

Spoiler :
<GameData>
<IconTextureAtlases>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>256</IconSize>
<Filename>HlxIconAtlas256.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>128</IconSize>
<Filename>HlxIconAtlas128.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>80</IconSize>
<Filename>HlxIconAtlas80.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>64</IconSize>
<Filename>HlxIconAtlas64.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>45</IconSize>
<Filename>HlxIconAtlas45.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
<Row>
<Atlas>CIV_COLOR_ATLAS_LEGENDS</Atlas>
<IconSize>32</IconSize>
<Filename>HlxIconAtlas32.dds</Filename>
<IconsPerRow>8</IconsPerRow>
<IconsPerColumn>8</IconsPerColumn>
</Row>
</IconTextureAtlases>
</GameData>
 
@SleepWalker,
it means that something has gone wrong with a dependency, make sure that import into VFS is true for all of your art assets. And if that doesn't work replace each one with a link to a vanilla civ that will definitely work, till the mod works, then you have where your problem is
 
Spoiler :
civilizationv2011061313.png


This is what I obtain. Maybe I have a problem with .dds fiiles, lol.
 
Spoiler :
civilizationv2011061520.png


It happens even if I try to use another civilization's art assets. This is getting frustrating, expecially if you consider that I followed Kael's guide step by step.
 
@GlassMage
OK, I'm not sure what to do then, possibly have a look at the making map scripts in lua

@Sleepwalker
Your DDS files don't seem to be quite working - I can see them in QuickTime but not Paint.NET, and they then won't load in game.

Also in the version uploaded you have things like:
Spoiler :
Code:
	<Civilization_FreeBuildingClasses>
		<Row>
			<CivilizationType>CIVILIZATION_DENMARK</CivilizationType>
			<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
		</Row>
	</Civilization_FreeBuildingClasses>
replace all of the calls to Civilization_Denmark to Civilization_Helcaraxe

If these don't give you a help get back in touch.
 
I don't understand though, how come maps generated by the game can give you Lake tiles but in SDK you can't add it. Lake and coastal tiles are different. ie: Aztec UB does not work with coastal tiles.
small inland sea made with the WB are converted to lake when loading the map ingame.
 
If you're having problems with a mod, make a thread in the general C&C forum asking about your specific problem. This thread is not the place for that.
 
@Sleepwalker

Well I've finished fiddling and it works for me minus the text, but that should work for you. I've remade the DDS files, changed the unique units to default ones. Also I had to change the scene to Alexander_Scene as I don't have the denmark DLC, but you can try changing it back. There may be more changes but I can't remember exactly what they were. But here are the files for you to peruse at your leisure.

Any more problems and do as Spatz suggests and create a new thread.
 

Attachments

@Sleepwalker

Well I've finished fiddling and it works for me minus the text, but that should work for you. I've remade the DDS files, changed the unique units to default ones. Also I had to change the scene to Alexander_Scene as I don't have the denmark DLC, but you can try changing it back. There may be more changes but I can't remember exactly what they were. But here are the files for you to peruse at your leisure.

Any more problems and do as Spatz suggests and create a new thread.

IT WORKS! :goodjob:

Thank you, but now you have to tell me about how you did!

Since I won't bother anymore with my posting on this thread, I'm sending you a PM. ;)
 
Back
Top Bottom