Hybrid forest/jungle art

Leoreth

Bofurin
Retired Moderator
Joined
Aug 23, 2009
Messages
38,062
Location
風鈴高等学校
I'd like to create a new Rainforest feature type that is between Forest and Jungle in terms of habitability (no unhealth, can be removed earlier).

I would be satisfied to represent it graphically as some sort of hybrid between jungles and the leafy forest variety. Does something like this exist already? If not, would it be hard to create it? I'm unfamiliar with Nifskope, but I could handle if it amounted to copy and paste work from the existing feature NIFs.
 
You can do this with XML only, I think. If you use the FeatureArtPieces of both jungle and leafy forest, you should get a mix. It's in FeatureArtInfos.xml

EDIT: It turned out you can't.
 
Huh, didn't expect it to be that easy. Thanks.
 
I tried doing this, but the result was that all jungle looks like leafy forests:
Code:
		<FeatureArtInfo>
			<Type>ART_DEF_FEATURE_JUNGLE</Type>
			<bAnimated>0</bAnimated>
			<bRiverArt>0</bRiverArt>
			<TileArtType>TILE_ART_TYPE_TREES</TileArtType>
			<LightType>LIGHT_TYPE_SUN</LightType>
			<fScale>1.0</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			<Button>,Art/Interface/Buttons/TerrainFeatures/Jungle.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,5,3</Button>
			<FeatureVariety>
				<FeatureArtPieces>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy01_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle01_01.nif</ModelFile>
						<Connections>NW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy02_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle02_01.nif</ModelFile>
						<Connections>NE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy03_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle03_01.nif</ModelFile>
						<Connections>NW NE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy04_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle04_01.nif</ModelFile>
						<Connections>SE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy05_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle05_01.nif</ModelFile>
						<Connections>NW SE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy06_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle06_01.nif</ModelFile>
						<Connections>NE SE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy07_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle07_01.nif</ModelFile>
						<Connections>NW NE SE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy08_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle08_01.nif</ModelFile>
						<Connections>SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy09_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle09_01.nif</ModelFile>
						<Connections>NW SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy10_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle10_01.nif</ModelFile>
						<Connections>NE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy11_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle11_01.nif</ModelFile>
						<Connections>NW NE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy12_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle12_01.nif</ModelFile>
						<Connections>SE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy13_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle13_01.nif</ModelFile>
						<Connections>NW SE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy14_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle14_01.nif</ModelFile>
						<Connections>NE SE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/TreeLeafy/Leafy15_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle15_01.nif</ModelFile>
						<Connections>NW NE SE SW</Connections>
					</FeatureArtPiece>
				</FeatureArtPieces>
				<FeatureDummyNodes/>
				<bGenerateRotations>0</bGenerateRotations>
				<VarietyButton>Art/Interface/Buttons/TerrainFeatures/Jungle.dds</VarietyButton>
			</FeatureVariety>
		</FeatureArtInfo>
Am I supposed to do it differently? Can you link to where you found out about this?
 
Changing the TileArtType to TILE_ART_TYPE_HALF_TILING has the following result:

Spoiler :
attachment.php

I'd be okay with this if the trees weren't half buried in the ground, and the leafy trees weren't that weirdly textured, but that looks like something that could be solved relatively easily on a NIF level.
 

Attachments

  • Civ4ScreenShot0046.JPG
    Civ4ScreenShot0046.JPG
    379.1 KB · Views: 400
the last four weeks I was working on a similar project: the swamp reeds. It's a big job to do and that worked like a forest - sometimes less reeds, to spread out when the road... Can I try it , but not now . For ten days I'm going out of city and then I'll do cityset :(
 
It would be great if you could give it a go at some point. It definitely can wait. Thanks!
 
Awesome, thank you! Will try it out later today.
 
This is how it looks inside my game.
Spoiler :
attachment.php

I'm using the following XML:
Code:
		<FeatureArtInfo>
			<Type>ART_DEF_FEATURE_RAINFOREST</Type>
			<bAnimated>0</bAnimated>
			<bRiverArt>0</bRiverArt>
			<TileArtType>TILE_ART_TYPE_TREES</TileArtType>
			<LightType>LIGHT_TYPE_SUN</LightType>
			<fScale>1.0</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			<Button>,Art/Interface/Buttons/TerrainFeatures/Jungle.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,5,3</Button>
			<FeatureVariety>
				<FeatureArtPieces>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections></Connections>
					</FeatureArtPiece>
				</FeatureArtPieces>
				<FeatureDummyNodes/>
				<bGenerateRotations>0</bGenerateRotations>
				<VarietyButton>Art/Interface/Buttons/TerrainFeatures/Jungle.dds</VarietyButton>
			</FeatureVariety>
		</FeatureArtInfo>
What am I doing wrong? I'm not really used to messing around with terrain art.
 

Attachments

  • Civ4ScreenShot0050.JPG
    Civ4ScreenShot0050.JPG
    363.6 KB · Views: 356
I especially ask if you want some more changes in the model.
To make things work , you must set in ARTDEFINES: TILE_ART_TYPE_HALF_TILING and I have done all models. That is why it is such a work
 
Oh, it's using half tiling. Didn't realize that. As I said, terrain art is new territory for me.
 
I'm sorry . Can I try it myself , but it will take longer.
By the way , you have some way to ensure that game has generated your new features ?
 
My mod only runs on scenarios, so that's not a problem. To test it, I simply change the art defines of the usual jungle feature.
 
Okay, this is the result with half tiling:
Spoiler :
attachment.php

The XML:
Code:
		<FeatureArtInfo>
			<Type>ART_DEF_FEATURE_RAINFOREST</Type>
			<bAnimated>0</bAnimated>
			<bRiverArt>0</bRiverArt>
			<TileArtType>TILE_ART_TYPE_HALF_TILING</TileArtType>
			<LightType>LIGHT_TYPE_SUN</LightType>
			<fScale>1.0</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			<Button>,Art/Interface/Buttons/TerrainFeatures/Jungle.dds,Art/Interface/Buttons/BaseTerrain_TerrainFeatures_Atlas.dds,5,3</Button>
			<FeatureVariety>
				<FeatureArtPieces>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle01_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle02_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle03_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NW NE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle04_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>SE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle05_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NW SE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle06_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NE SE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle07_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NW NE SE</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle08_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle09_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NW SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle10_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle11_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NW NE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle12_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>SE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle13_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NW SE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle14_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NE SE SW</Connections>
					</FeatureArtPiece>
					<FeatureArtPiece>
						<ModelFile>Art/Terrain/Features/Jungle/Jungle15_01.nif</ModelFile>
						<ModelFile>Art/Terrain/Features/Rainforest/Leafy14_01.nif</ModelFile>
						<Connections>NW NE SE SW</Connections>
					</FeatureArtPiece>
				</FeatureArtPieces>
				<FeatureDummyNodes/>
				<bGenerateRotations>0</bGenerateRotations>
				<VarietyButton>Art/Interface/Buttons/TerrainFeatures/Jungle.dds</VarietyButton>
			</FeatureVariety>
		</FeatureArtInfo>
Sorry to be so complicated if this is a mistake on my end again. I like the color of the trees however, although judging from the NIF itself that is also some weird side effect.
 

Attachments

  • Civ4ScreenShot0051.JPG
    Civ4ScreenShot0051.JPG
    388.8 KB · Views: 361
I get similar results when I had a look at it in Caveman2Cosmos. The graphic is appearing at the four corners of the plot and not in the plot, if that helps.
 
I have something similar . It is work for a longer period - make all 15 basic files so that fits together.
What you see here is a large file to a place where you belong . There is no your fault. I just did one test file only. When will all , it will look better :)
 

Attachments

  • swamp.jpg
    swamp.jpg
    86.9 KB · Views: 138
Oh, so there is no avoiding this extra work.

In that case, wouldn't it be as easy to create them so it is possible to use TILE_ART_TYPE_TREES?
 
Back
Top Bottom