New climate; Steppe (with bugs)

ImageImageTalking about Modding for EE2 and EE2 AOS. New maps, patches, programs and Multiplayer scenarios.
Post Reply
User avatar
Gonzalo
Posts: 252
Joined: 24 Aug 2018, 08:56

New climate; Steppe (with bugs)

Post by Gonzalo »

Hi, I created new climate besides the four from UP 1.5 patch and two others I added successfully (mediterranean and savannah). All work ok but steppe climate (7 in total). Here is my code:

(DbSeasonalTextureSets_Steppe.csv)

Code: Select all

Grass_Temperate,steppe07_wi.tga steppe07_wi.tga steppe07_su.tga steppe07_su.tga steppe07_su.tga steppe07_su.tga steppe07_su.tga steppe07_su.tga steppe07_su.tga steppe07_su.tga steppe07_su.tga steppe07_wi.tga
Beach_Temperate,terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga terr_beach_oceanfloor.tga
GrassRocky_Temperate,terr_grass_rocky_wi_02.tga terr_grass_rocky_wi_03.tga terr_grass_rocky_sp_01.tga terr_grass_rocky_sp_02.tga terr_grass_rocky_sp_03.tga terr_grass_rocky_sp_04.tga terr_grass_rocky_su.tga terr_grass_rocky_su.tga terr_grass_rocky_fa_01.tga terr_grass_rocky_fa_01.tga terr_grass_rocky_fa_01.tga terr_grass_rocky_wi_01.tga 
MountainTop_Temperate,terr_mountain_top_wi_02.tga terr_mountain_top_wi_03.tga terr_mountain_top_wi_03.tga terr_mountain_top_wi_02.tga terr_mountain_top_wi_01.tga terr_mountain_top_wi_01.tga terr_mountain_top_wi_01.tga terr_mountain_top_wi_01.tga terr_mountain_top_wi_01.tga terr_mountain_top_wi_01.tga terr_mountain_top_wi_01.tga terr_mountain_top_wi_01.tga 
OceanFloor_Temperate,terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga
GrassPatchy_Temperate,steppe01_wi.tga steppe01_wi.tga steppe01_su.tga steppe01_su.tga steppe01_su.tga steppe01_su.tga steppe01_su.tga steppe01_su.tga steppe01_su.tga steppe01_su.tga steppe01_su.tga steppe01_wi.tga
GrassDark_Temperate,steppe05_wi.tga steppe05_wi.tga steppe05_su.tga steppe05_su.tga steppe05_su.tga steppe05_su.tga steppe05_su.tga steppe05_su.tga steppe05_su.tga steppe05_su.tga steppe05_su.tga steppe05_wi.tga
Cliff01_Temperate,terr_cliff01_wi_01.tga terr_cliff01_wi_01.tga terr_cliff01_wi_01.tga terr_cliff01.tga terr_cliff01.tga terr_cliff01.tga terr_cliff01.tga terr_cliff01.tga terr_cliff01.tga terr_cliff01.tga terr_cliff01.tga terr_cliff01_wi_01.tga 
Mountain01_Temperate,terr_mountain01_wi02.tga terr_mountain01_wi01.tga terr_mountain01_su.tga terr_mountain01_su.tga terr_mountain01_su.tga terr_mountain01_su.tga  terr_mountain01_su.tga  terr_mountain01_su.tga  terr_mountain01_su.tga  terr_mountain01_su.tga terr_mountain01_su.tga terr_mountain01_wi01.tga 
MountainGrass_Temperate,terr_mountain_grass_wi_02.tga terr_mountain_grass_wi_03.tga terr_mountain_grass_sp_01.tga terr_mountain_grass_sp_02.tga terr_mountain_grass_sp_03.tga terr_mountain_grass_sp_04.tga terr_mountain_grass_su.tga terr_mountain_grass_su.tga terr_mountain_grass_fa_01.tga terr_mountain_grass_fa_02.tga terr_mountain_grass_fa_02.tga terr_mountain_grass_wi_01.tga 
GroundCover_Temperate,terr_ground_cover_wi02.tga terr_ground_cover_wi03.tga terr_ground_cover_sp01.tga terr_ground_cover_sp02.tga terr_ground_cover_sp03.tga terr_ground_cover_sp04.tga terr_ground_cover_su.tga terr_ground_cover_su.tga terr_ground_cover_fa01.tga terr_ground_cover_fa02.tga terr_ground_cover_fa02.tga terr_ground_cover_wi01.tga 
Riverbank_Temperate,terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga terr_riverbank_su.tga
RiverbankGrassy_Temperate,terr_riverbank_grassy_wi_02.tga terr_riverbank_grassy_wi_03.tga terr_riverbank_grassy_sp_01.tga terr_riverbank_grassy_sp_02.tga terr_riverbank_grassy_sp_03.tga terr_riverbank_grassy_sp_04.tga terr_riverbank_grassy_su.tga terr_riverbank_grassy_su.tga terr_riverbank_grassy_fa_01.tga terr_riverbank_grassy_fa_02.tga terr_riverbank_grassy_fa_03.tga terr_riverbank_grassy_wi_01.tga 
RiverbankPatchy_Temperate,terr_riverbank_patchy_wi_02.tga terr_riverbank_patchy_wi_03.tga terr_riverbank_patchy_sp_01.tga terr_riverbank_patchy_sp_02.tga terr_riverbank_patchy_sp_03.tga terr_riverbank_patchy_sp_04.tga terr_riverbank_patchy_su.tga terr_riverbank_patchy_su.tga terr_riverbank_patchy_fa_01.tga terr_riverbank_patchy_fa_02.tga terr_riverbank_patchy_fa_02.tga terr_riverbank_patchy_wi_01.tga 
ForestRoots_Temperate,terr_forest_roots_wi_02.tga terr_forest_roots_wi_02.tga terr_forest_roots_wi_01.tga terr_forest_roots_su.tga terr_forest_roots_su.tga terr_forest_roots_su.tga terr_forest_roots_su.tga terr_forest_roots_su.tga terr_forest_roots_su.tga terr_forest_roots_su.tga terr_forest_roots_su.tga terr_forest_roots_wi_01.tga 
SparseGrass01_Temperate,steppe02_wi.tga steppe02_wi.tga steppe02_su.tga steppe02_su.tga steppe02_su.tga steppe02_su.tga steppe02_su.tga steppe02_su.tga steppe02_su.tga steppe02_su.tga steppe02_su.tga steppe02_wi.tga  
SparseGrass02_Temperate,steppe03_wi.tga steppe03_wi.tga steppe03_su.tga steppe03_su.tga steppe03_su.tga steppe03_su.tga steppe03_su.tga steppe03_su.tga steppe03_su.tga steppe03_su.tga steppe03_su.tga steppe03_wi.tga 
SparseGrass03_Temperate,steppe04_wi.tga steppe04_wi.tga steppe04_su.tga steppe04_su.tga steppe04_su.tga steppe04_su.tga steppe04_su.tga steppe04_su.tga steppe04_su.tga steppe04_su.tga steppe04_su.tga steppe04_wi.tga 
FloodMeadow_Temperate,steppe06_wi.tga steppe06_wi.tga steppe06_su.tga steppe06_su.tga steppe06_su.tga steppe06_su.tga steppe06_su.tga steppe06_su.tga steppe06_su.tga steppe06_su.tga steppe06_su.tga steppe06_wi.tga
HillMeadow_Temperate,terr_hill_meadow_wi_02.tga terr_hill_meadow_wi_03.tga terr_hill_meadow_sp_01.tga terr_hill_meadow_sp_02.tga terr_hill_meadow_sp_03.tga terr_hill_meadow_sp_04.tga terr_hill_meadow_su.tga terr_hill_meadow_su.tga terr_hill_meadow_fa_01.tga terr_hill_meadow_fa_02.tga terr_hill_meadow_fa_03.tga terr_hill_meadow_wi_01.tga 
UnderstoryThicket_Temperate,terr_understory_thicket_wi_02.tga terr_understory_thicket_wi_03.tga terr_understory_thicket_wi_03.tga terr_understory_thicket_wi_02.tga terr_understory_thicket_wi_01.tga terr_understory_thicket_su.tga terr_understory_thicket_su.tga terr_understory_thicket_su.tga terr_understory_thicket_su.tga terr_understory_thicket_fa_01.tga terr_understory_thicket_fa_01.tga terr_understory_thicket_wi_01.tga 
CoastalGrass01_Temperate,terr_coastal_grass01_wi_01.tga terr_coastal_grass01_wi_01.tga terr_coastal_grass01_su.tga terr_coastal_grass01_su.tga terr_coastal_grass01_su.tga terr_coastal_grass01_su.tga terr_coastal_grass01_su.tga terr_coastal_grass01_su.tga terr_coastal_grass01_fa_01.tga terr_coastal_grass01_fa_01.tga terr_coastal_grass01_fa_01.tga terr_coastal_grass01_wi_01.tga 
CoastalGrass02_Temperate,terr_coastal_grass02_wi_02.tga terr_coastal_grass02_sp_01.tga terr_coastal_grass02_sp_01.tga terr_coastal_grass02_su.tga terr_coastal_grass02_su.tga terr_coastal_grass02_su.tga terr_coastal_grass02_su.tga terr_coastal_grass02_su.tga terr_coastal_grass02_fa_01.tga terr_coastal_grass02_fa_01.tga terr_coastal_grass02_fa_01.tga terr_coastal_grass02_wi_01.tga 
Saltgrass_Temperate,terr_salt_grass_wi_02.tga terr_salt_grass_wi_03.tga terr_salt_grass_sp_01.tga terr_salt_grass_sp_02.tga terr_salt_grass_sp_03.tga terr_salt_grass_sp_04.tga terr_salt_grass_su.tga terr_salt_grass_su.tga terr_salt_grass_fa_01.tga terr_salt_grass_fa_02.tga terr_salt_grass_fa_03.tga terr_salt_grass_wi_01.tga 
ShallowWater_Temperate,terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga terr_riverbottom.tga
Coastal_Temperate,terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga terr_coral.tga
Worn_Path_1,terr_wornpath_1_wi02.tga terr_wornpath_1_wi02.tga terr_wornpath_1_wi01.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_wi01.tga 
Mud,terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga terr_medit_mud.tga
MidEpochsPath_1,terr_wornpath_1_wi02.tga terr_wornpath_1_wi02.tga terr_wornpath_1_wi01.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_wi01.tga
Flowers,terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga terr_medit_flowers.tga
EndEpochsPath_1,terr_wornpath_1_wi02.tga terr_wornpath_1_wi02.tga terr_wornpath_1_wi01.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_su.tga terr_wornpath_1_wi01.tga 
UnderBuilding_1_Temperate,terr_underbuilding_1_wi_01.tga terr_underbuilding_1_wi_02.tga terr_underbuilding_1_wi_02.tga terr_underbuilding_1_wi_01.tga terr_underbuilding_1_wi_01.tga terr_underbuilding_1.tga terr_underbuilding_1.tga terr_underbuilding_1.tga terr_underbuilding_1_fa_01.tga terr_underbuilding_1_fa_01.tga terr_underbuilding_1_fa_02.tga terr_underbuilding_1_wi_01.tga
UnderBuilding_2_Temperate,terr_underbuilding_2_wi_01.tga terr_underbuilding_2_wi_02.tga terr_underbuilding_2_wi_02.tga terr_underbuilding_2_wi_01.tga terr_underbuilding_2_wi_01.tga terr_underbuilding_2.tga terr_underbuilding_2.tga terr_underbuilding_2.tga terr_underbuilding_2_fa_01.tga terr_underbuilding_2_fa_01.tga terr_underbuilding_2_fa_02.tga terr_underbuilding_2_wi_01.tga
UnderBuilding_3_Temperate,terr_underbuilding_3_wi_01.tga terr_underbuilding_3_wi_02.tga terr_underbuilding_3_wi_02.tga terr_underbuilding_3_wi_01.tga terr_underbuilding_3_wi_01.tga terr_underbuilding_3.tga terr_underbuilding_3.tga terr_underbuilding_3.tga terr_underbuilding_3_fa_01.tga terr_underbuilding_3_fa_01.tga terr_underbuilding_3_fa_02.tga terr_underbuilding_3_wi_01.tga

// the following are building ambients with animated textures,
wildbush01,tre_wildbush01_wi.tga tre_wildbush01_wi.tga tre_wildbush01_wi.tga tre_wildbush01_su.tga tre_wildbush01_su.tga tre_wildbush01_su.tga tre_wildbush01_fa.tga tre_wildbush01_fa.tga    ETC....
And in Dbclimate.ddf:

Code: Select all

DbClimateInfo Steppe
{
	pTerrainDbName = DbTerrain_Steppe
	pSeasonalTexturesDbName = DbSeasonalTextureSets_Steppe
	pTerrainTextureDbName = DbTerrainTexture_Steppe
	bSnow = 1

	// Weather
	WeatherInfo = ClimateWeatherSteppe
	ToDSettingsMorning = ClimateToD_Steppe_Morn
	ToDSettingsAfternoon = ClimateToD_Steppe_Aft
	ToDSettingsEvening = ClimateToD_Steppe_Eve
	ToDSettingsNight = ClimateToD_Steppe_Nght

	// Animals
	domesticatedAnimals [ 
		{minGroupSize = 4; maxGroupSize = 8; unitType = Pig }
		{minGroupSize = 4; maxGroupSize = 8; unitType = Sheep }
	]
	wildAnimals [ 
		{minGroupSize = 3; maxGroupSize = 16; unitType = Horse }
		{minGroupSize = 3; maxGroupSize = 16; unitType = Whitehorse }
	]
	predators [ 
		{minGroupSize = 1; maxGroupSize = 1; unitType = Wolf }
		{minGroupSize = 1; maxGroupSize = 1; unitType = Brownbear }
	]
	birds
	[
		Eagle Vulture
	]
	
	// Food type info
	farms
	[
		FarmWheat FarmBarley
	]
	forageTrees
	[
		TRE_APPLE TRE_ORANGE
	]

	# DbTerrain_ = Steppe
	terrainBrushes {
		grassBrush {
			terrainTypes [
				{terrainType = Grass; weight = 30;}
				{terrainType = GrassPatchy; weight = 25;}
				{terrainType = GrassDark; weight = 5;}
				{terrainType = SparseGrass01; weight = 15;}
				{terrainType = SparseGrass02; weight = 5;}
				{terrainType = SparseGrass03; weight = 5;}
				{terrainType = FloodMeadow; weight = 5;}
		}
		oceanBrush {
			brushes
			[
				{terrainTypes [
					{terrainType = OceanFloor; weight = 100;}
// @NOTE: we probably want to create an 'OceanFloor2' which uses the ShallowWater texture, but has the 
// oceanfloor movement type
//					{terrainType = ShallowWater; weight = 50;}
				]}
				{terrainTypes [{terrainType = Beach; weight = 100;}]}
				{terrainTypes [
					{terrainType = CoastalGrass01; weight = 50;}
					{terrainType = CoastalGrass02; weight = 50;}
				]} 
				{terrainTypes [{terrainType = Saltgrass; weight = 100}]}
				{terrainTypes [{terrainType = SparseGrass03; weight = 100}]}
			]
		}
		forestBrush {
			brushes [
				{terrainTypes [{terrainType = ForestRoots; weight = 100;}]}
				{terrainTypes [
					{terrainType = UnderstoryThicket; weight = 50;}
					{terrainType = GrassDark; weight = 50;}
				]}
				{terrainTypes [
					{terrainType = GrassDark; weight = 50;}
					{terrainType = HillMeadow; weight = 50;}
				]}
			]
		}
		riverBrush {
			brushes [
				{terrainTypes [{terrainType = ShallowWater; weight = 100}]}
				{terrainTypes [{terrainType = RiverBank; weight = 100}]}
				{terrainTypes [
					{terrainType = RiverBankGrassy; weight = 50}
					{terrainType = RiverBankPatchy; weight = 50}
				]}
			]
		}
		// @NOTE: The first three entries should all have the 'Mountain' movement type
		mountainBrush {
			brushes [
				{terrainTypes [{terrainType = MountainTop; weight = 100;}]}
				{terrainTypes [{terrainType = Mountain01; weight = 100;}]}
				{terrainTypes [{terrainType = Mountain01; weight = 100;}]}
				{terrainTypes [{terrainType = MountainGrass; weight = 100;}]}
			]
		}
	}

	// Ambient audio
	ambientAudio = ambient_master_set_tropic03
	// Season suffixes for asset load
	winterSuffix = _wi
	springSuffix = _sp
	summerSuffix = _su
	fallSuffix   = _fa
}

User avatar
Dr.MonaLisa
High Representative
Posts: 7957
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: New climate; Steppe (with bugs)

Post by Dr.MonaLisa »

I'm sorry, I lost my glass ball, and I can't see what you actually mean by "doesn't work".

Doesn't display in the menu? Crashes on game start? Crashes on the setup screen? Crashes after pressing the Launch button? Or what?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
User avatar
Gonzalo
Posts: 252
Joined: 24 Aug 2018, 08:56

Re: New climate; Steppe (with bugs)

Post by Gonzalo »

It loads ok, but immediately after launching game, before it starts, crashes.

Added after 36 minutes 35 seconds:
DbAmbientAudio.ddf:

Code: Select all

//	---------------------------------------------
//	Steppe climate
//	---------------------------------------------

DbAmbientSoundSet ambset_land_tropic03
{
	loopingSounds =
	[
		{sound = ambloop_steppe_01_temp; priority = 1}
	]
	oneShotFreq = 5
	cutoffPriority = 0.2
	minVolume = 0.3
}

DbAmbientSoundSet ambset_forest_tropic03
{
	loopingSounds =
	[
		{sound = ambloop_forest_01_steppe; priority = 1}
		{sound = ambloop_forest_02_steppe; priority = 1}
	]
	sounds =
	[
		{sound = amb_steppe_bird_call_01; priority = 1}
		{sound = amb_steppe_bird_call_02; priority = 1}
		//{sound = amb_steppe_bird_call_01; priority = 1}
		//{sound = amb_steppe_bird_call_03; priority = 1}
		//{sound = amb_steppe_crow_solo; priority = 1}
		//{sound = amb_steppe_hawk_multiple; priority = 1}
		//{sound = amb_steppe_hawk_solo; priority = 1}
		//{sound = amb_steppe_loon_call; priority = 1}
	]
	oneShotFreq = 5
	cutoffPriority = 0.2
	minVolume = 0.5
}

DbAmbientMasterSoundSet ambient_master_set_tropic03
{
	weatherSoundSets = [ambset_rainlt ambset_rainhv ambset_snowlt ambset_snowhv]
	waterSoundSet = ambset_water
	landSoundSet = ambset_land_tropic03
	forestSoundSet = ambset_forest_tropic03
}


Added after 19 minutes 57 seconds:
It seems that game won't allow 7th climate, for I replaced all steppe files by the temperate files and still game crashed... :(
User avatar
Gonzalo
Posts: 252
Joined: 24 Aug 2018, 08:56

Re: New climate; Steppe (with bugs)

Post by Gonzalo »

Problem solved!!! Just left a gap at the end of DbClimate_Atmosphere.csv's code!!
Post Reply

Return to “EE2 files, modding, maps, testing, etc.”