[BNW] Any up to date reliable guides on importing custom models, textures and anims for units?

Joined
Jun 14, 2022
Messages
3
Preferably I would want to find somebody who can make 3d models for certain unique units(mostly airship units) that im wanting to add to the game as well as other custom unit models, sounds, animations, ETC, possibly willing to commission/throw money at you if you know how to import custom art defines and or help with animating said art defines. That way something like for example a futuristic flying aircraft carrier isn't using just the steampunk airship model, animations, sounds and textures. That way I can give custom models to all of my Unique units for my mods.

Is there any up to date guides? Reliable ones that is.

Bonus points if its easy to understand and or can be explained in a way that my ADHD brain can piece it together. Please and thank you Civfantics forums! Ive been trying to make custom civ mods for years but could for the life of me not find any guides on how to change art defines.
 

Attachments

  • image_2022-06-16_131202075.png
    image_2022-06-16_131202075.png
    314.4 KB · Views: 51
For using Blender

2.49
you will need blender scripts here they are in the attached zip in case you cant find them
this version offer better compatibility with older modes like civ 4, civ 4's models are in a nif format tend to import better in 2.49 then 2.79

2.79
you will need blender scripts here they are in the attached zip in case you cant find them
2.79 is my preferred version when it comes to modelling.
i cant remember for 2.49 but for 2.79 i do not believe the br2 relevant anymore, the fbx export works great now. at least I haven't needed the br2 over right.

i don't use beyond 2.79 so cant cant tell you about 2.8

Well for improvements this is how it goes.

step 1 open blender. hit A to highlight all objects. (the cube and camera) hit X and select delete.
upload_2022-6-21_22-31-31.png

step 2 while in 3d view hit add go to armature then too add single bone.
you can make more bones if you want or need too.
upload_2022-6-21_22-35-29.png

step 3 rename 2 new files. the first 1 the parent will be the name of the model when we view in in nexus and granny. inside there you may sometimes notice more then 1 model inside a gr2 file while viewing it in nexus.
the bone name will also be the name of the vertex we make later i often name mine point01 point02 ect...
every time you make a new one you can still use the same bone names again and again under another parent they can all be bone point01 if you want.
upload_2022-6-21_22-38-32.png


step 4 create or import your mesh. you can do this by importing object and fbx and all other sorts of imports. depending on the mesh you might have to delete other data from it. just get rid of everything but the mesh if it applies. drag that mesh under the first object/models what ever you call it and make that the parent set it as an object when prompted. dont make it the child of the bone. make it the child of the main thing we made.
go to file in the top left then to import and choose your file type.

on a side note when working with nif files you can use nifscope to view the nif and export it as an object file. you don't have to directly import the nif.

upload_2022-6-21_22-48-26.png



step 5
add a vertex group name it the same as the bone you made.
you can assign multiple meshes to the same vertex group
upload_2022-6-21_22-53-33.png



step 6

enter edit mode then tap A twice.
un-highlighting then highlighting all to make sure you have the whole mesh
upload_2022-6-21_22-57-11.png



step 7 with all highlighted in edit mode go back to you vertex group and hit assign.
this must be done per mesh

step 8. enter object mode again.
hit a and highlight all objects
hit ctrl A then go to scale and location
upload_2022-6-21_23-2-26.png



then it will also bring up or make the tab visible the apply object transform


upload_2022-6-21_23-3-22.png


depending on your meshes you might want up to all 3 checked
 

Attachments

  • Nexus-Buddy-2-Blender-Scripts-16.30.zip
    84.1 KB · Views: 26
  • upload_2022-6-21_22-46-47.png
    upload_2022-6-21_22-46-47.png
    756.3 KB · Views: 37
most people might tell you to do this step
step 9 (optional) adding a modifier - armature
im going to tell you for improvements at least skip that step it is unnecessary and more then that it will ruin/distort your model when they make the gr2 conversion
upload_2022-6-21_23-8-50.png
 
for making dds files.

step 1. enter edit mode again. make sure atleast faces are selected although in rare cases more might be needed you can hold shift and select them all if needed.
upload_2022-6-21_23-12-32.png


step 2 go to shading/UVs then to unwrap then to unwrap for smart uv project both can be used and both will give different results. you can only use 1 but you can mess around with the options until you get a desired template look

upload_2022-6-21_23-14-28.png


if your mesh us super complicated like these clouds for instance you must wait a few minutes clicking will make it unresponsive and crash just be patient.

the results
upload_2022-6-21_23-32-46.png

you can zoom in using the mouse wheel
upload_2022-6-21_23-33-15.png

you can zoom in pretty far


step 3 export that uv layout as a png file.
upload_2022-6-21_23-35-30.png

you can then open that file in another program like paint.net then save it as a dds file.
 

Attachments

  • upload_2022-6-21_23-32-12.png
    upload_2022-6-21_23-32-12.png
    1.2 MB · Views: 36
to export the model.

go to the upper left hand corner to file and then to export then export fbx
upload_2022-6-21_23-39-18.png


you can play around with the export setting if and when needed but make sure to have z up so it it standing up the right way.
z axis is the blue one
y axis in the green
x axis in the red
sometimes you may need to make the scale 0.01

99% of the time leave everything but the scale and rotation alone its not until you get into anything complicated do you need those.
 

Attachments

  • upload_2022-6-21_23-38-53.png
    upload_2022-6-21_23-38-53.png
    722.9 KB · Views: 32
now we convert that fbx to a gr2 with nexus buddy

the latest version is 2.5.3 i have other version on another pc i might post them another time just so you have all version incase for some odd reason a specific version might be needed

open nexus buddy and hit open fbx and select the fbx we made
upload_2022-6-21_23-53-2.png



depending on how complicated you make the models it can take a very long time to load see here were i have made models containing hundreds of meshes i dont have any dds files for them yet so they are ugly and need to be custom but check these out when you get a chance

https://forums.civfanatics.com/threads/making-an-apocalyptic-mod.677099/

its the very early stages of a wip but im going to be pretty active im only on asset designing and the early stages of that lol its a very long ways off and very ambitious.




lets talk about the materials assign outside of blender by the nexus mod buddy these define what mesh gets what dds file. and how that dds file works ill explain as it comes up.

-----buildingshader - is used for tile tile improvements/building ect.

upload_2022-6-22_0-4-29.png


diffuse is your main dds

sref is the overlaying dds if you have one. like a simple no gloss dds to remove or lessen gloss. you dont relly need to worry about the rest


----landmarkshaders material is similar to the buildingshader but used on a flat mesh you made in blender to be the ground. defining it as a landmarkshader makes it appear attached to the ground and coloring the ground if not it will float above the ground

----landmarkshaders_stencil this ised used to make an improvement on tree and have the tree be moved. this does it outside of the game making you chop down forest. this will remove tree models where ever the flat mesh is. you can cut holes it it to make a few tree appear if the tile is covered with a flat mesh assign the this it will not span trees where that mesh is. so you can make holes in it where you would like trees on small sections or to just not spawn tree under your building but still have them around it in the same tile. where the mesh is, trees will not be is the jist.
i discus an example of this in a thread here disregard what the person answered he miss understood the post. i go onto to answer the question myself accurately he thought i ment the xml like that makes you remove the tree prior to building the improvement. but that is not what i mean.
https://forums.civfanatics.com/thre...me-of-the-tree-models-not-all-of-them.677062/

unitshader_skinned is like the building shader but for units

you can type in the name of the name of dds when selecting them or find it in the file browser using the 3 dots on the right side. the dds still needs to be properly set up and imported in your mod data but this is also necessary.


make sure all meshes are assign a material and all materials are assigned meshes
you can make as many materials as you need for dds files 1 material to 1 dds file
you can assign a material to to any number of meshes, all your meshes could use 1 material if you wanted or needed

upload_2022-6-22_0-24-25.png



when you go to view the gr2 file you must first save it.
if the model appears in the viewer with a red box it is too large.

to fix this you can

shrink the scale in blend by re-exporting it and choosing smaller scale no need to shrink the model itself

or you can shrink the scale in game in the art defines section
 

Attachments

  • 23947-nexusbuddy2_1.zip
    3.7 MB · Views: 24
  • 40146-nexusbuddy2_3_2.zip
    3.7 MB · Views: 26
  • Nexus-Buddy-2_Release-2.5.2b.zip
    3.8 MB · Views: 30
  • Nexus-Buddy-2_Release-2.5.3.zip
    3.8 MB · Views: 26
  • upload_2022-6-21_23-51-54.png
    upload_2022-6-21_23-51-54.png
    686 KB · Views: 42
Last edited:
ok now assuming you know how to set up the xml or sql which ever you are using to set up the building/improvement/unit/feature/ect...
you specifically said you needed help with the art defines. im guessing you might also need help with the .fxsxml and the .ftsxml files also necessary.

for tile improvements

for the fxsxml

<Asset>
<Mesh file="your_model_name.gr2" source="Max" />
<Texture file="your_dds_file_name.dds" source="Max" />
<Texture file="Building_Environment_Dull.dds" source="Max" />
<Texture file="Building_Environment_Sharp.dds" source="Max" />
<Texture file="Building_Sunlight_Irradiance.dds" source="Max" />
</Asset>

just keep listing meshes if you have more then 1

if you want it to be under construction you must make a model that looks that way. set it up just like above but using the new model name. this model is defined in the improvements xml as underconstruction

for a pillaged model you must set it up in the xml as having a pillaged model just like the under construction

<Asset>
<Mesh file="your_model_name.gr2" source="Max" />
<Texture file="your_dds_file_name.dds" source="Max" />
<Texture file="Building_Environment_Dull.dds" source="Max" />
<Texture file="Building_Environment_Sharp.dds" source="Max" />
<Texture file="Building_Sunlight_Irradiance.dds" source="Max" />
<TimedTrigger file="FX_Triggers_ImprovementPLSmoke.ftsxml" source="Tool" model="PL_Biobldg_02" state="3" />
<BoneUsage>
<Bone name="Your_bone_name" />
</BoneUsage>
</Asset>

you may want to even add a fx_bone in nexus mod buddy and use an fx bone made by nexus
go to additional actions go to add scaled fx bone and save
not always necessary but good to know


Improvements do not have artdefines
it is defined in the main xml ill show you how to make it

<GameData>
<Improvements>
<Row>
<Type>IMPROVEMENT_TypeNameHere</Type>
<Description>TXT_KEY_IMPROVEMENT_TypeNameHere</Description>
<Civilopedia>TXT_KEY_IMPROVEMENT_TypeNameHere_TEXT</Civilopedia>
<Help>TXT_KEY_IMPROVEMENT_TypeNameHere_HELP</Help>
<ArtDefineTag>ART_DEF_IMPROVEMENT_TypeNameHere</ArtDefineTag>
<PortraitIndex>your_portrate_index_number</PortraitIndex>
<IconAtlas>your_atlas</IconAtlas>
</Row>
</Improvements>
<Improvement_Yields>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<YieldType>YIELD_TYPE</YieldType>
<Yield>Yield amount number</Yield>
</Row>
</Improvement_Yields>
<Improvement_ValidTerrains>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<TerrainType>TERRAIN_Type</TerrainType>
</Row>
(list all terrain you want it to show up on)
</Improvement_ValidTerrains>
<Improvement_ValidFeatures>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<FeatureType>FEATURE_JUNGLE</FeatureType>
</Row>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<FeatureType>FEATURE_FOREST</FeatureType>
</Row>
(this allows it to be built on forests and jungles)
</Improvement_ValidFeatures>
<Improvement_TechYieldChanges>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<TechType>TECH_NAME</TechType>
<YieldType>YIELD_TYPE</YieldType>
<Yield>yield value number</Yield>
</Row>
(this can change yields based on technology adding or even subtracting)
</Improvement_TechYieldChanges>
<Policy_ImprovementYieldChanges>
<Row>
<PolicyType>POLICY_name</PolicyType>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<YieldType>YIELD_SCIENCE</YieldType>
<Yield>yield value number</Yield>
</Row>
(this can change yields based on Policies adding or even subtracting)
</Policy_ImprovementYieldChanges>
<Improvement_AdjacentCityYields>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<YieldType>YIELD_TYPE</YieldType>
<Yield>yield value number</Yield>
</Row>
</Improvement_AdjacentCityYields>
<Improvement_CoastalLandYields>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<YieldType>YIELD_TYPE</YieldType>
<Yield>yield value number</Yield>
</Row>
</Improvement_CoastalLandYields>
<Improvement_TechFreshWaterYieldChanges>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<TechType>TECH_Name</TechType>
<YieldType>YIELD_TYPE</YieldType>
<Yield>yield value number</Yield>
</Row>
</Improvement_TechFreshWaterYieldChanges>
<Improvement_HillsYields>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<YieldType>YIELD_TYPE</YieldType>
<Yield>yield value number</Yield>
</Row>
</Improvement_HillsYields>
<Improvement_ResourceTypes>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<ResourceType>RESOURCE_TYPE</ResourceType>
</Row>
</Improvement_ResourceTypes>
<Improvement_ResourceType_Yields>
<Row>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<ResourceType>RESOURCE_TYPE</ResourceType>
<YieldType>YIELD_TYPE</YieldType>
<Yield>yield value number</Yield>
</Row>
<Improvement_ResourceType_Yields>
<ArtDefine_LandmarkTypes>
<Row>
<Type>ART_DEF_IMPROVEMENT_TypeNameHere</Type>
<LandmarkType>Improvement</LandmarkType>
<FriendlyName>TypeNameHere (this will be the ingame name)</FriendlyName>
</Row>
</ArtDefine_LandmarkTypes>
<ArtDefine_Landmarks>
<Row>
<Era>Any</Era>
<State>Constructed</State>
<Scale>1.0</Scale>
<ImprovementType>ART_DEF_IMPROVEMENT_TypeNameHere</ImprovementType>
<LayoutHandler>SNAPSHOT</LayoutHandler>
<ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
<Model>CommsArray.fxsxml</Model>
</Row>
<Row>
<Era>Any</Era>
<State>Pillaged</State>
<Scale>1.0</Scale>
<ImprovementType>ART_DEF_IMPROVEMENT_TypeNameHere</ImprovementType>
<LayoutHandler>SNAPSHOT</LayoutHandler>
<ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
<Model>CommsArray_PL.fxsxml</Model>
</Row>
<Row>
<Era>Any</Era>
<State>UnderConstruction</State>
<Scale>1.0</Scale>
<ImprovementType>ART_DEF_IMPROVEMENT_TypeNameHere</ImprovementType>
<LayoutHandler>SNAPSHOT</LayoutHandler>
<ResourceType>ART_DEF_RESOURCE_ALL</ResourceType>
<Model>Your_fxsml_file_name.fxsxml</Model>
</Row>
</ArtDefine_Landmarks>
<Builds>
<Row>
<Type>BUILD_TypeNameHere</Type>
<Time>800</Time>
<PrereqTech>TECH_name</PrereqTech>
<ImprovementType>IMPROVEMENT_TypeNameHere</ImprovementType>
<Description>TXT_KEY_BUILD_TypeNameHere</Description>
<Help>TXT_KEY_BUILD_TypeNameHere_HELP</Help>
<Recommendation>TXT_KEY_BUILD_TypeNameHere</Recommendation>
<EntityEvent>ENTITY_EVENT_BUILD</EntityEvent>
<HotKey></HotKey>
<OrderPriority>98</OrderPriority>
<IconIndex>17</IconIndex>
<IconAtlas>FW_IMPROVEMENTS_ATLAS</IconAtlas>
</Row>
</Builds>
<BuildFeatures>
<Row>
<BuildType>BUILD_TypeNameHere</BuildType>
<FeatureType>FEATURE_MARSH</FeatureType>
<PrereqTech>TECH_Name_if_needed</PrereqTech>
<Time>construct time value</Time>
<Remove>true</Remove>(this tells it whether or not you need to chop down the forest or jungle before building the improvement)
</Row>
</BuildFeatures>
<Unit_Builds>
<Row>
<UnitType>UNIT_WORKER(ussually the worker, can be any unit, this allows units to build it)</UnitType>
<BuildType>BUILD_TypeNameHere</BuildType>
</Row>
</Unit_Builds>
<Language_en_US>
<Row Tag="TXT_KEY_IMPROVEMENT_TypeNameHere">
<Text>text</Text>
</Row>
<Row Tag="TXT_KEY_IMPROVEMENT_TypeNameHere_TEXT">
<Text>text</Text>
</Row>
<Row Tag="TXT_KEY_IMPROVEMENT_TypeNameHere_HELP">
<Text>text</Text>
</Row>
<Row Tag="TXT_KEY_BUILD_TypeNameHere">
<Text>text </Text>
</Row>
<Row Tag="TXT_KEY_BUILD_TypeNameHere_HELP">
<Text> text </Text>
</Row>
<Row Tag="TXT_KEY_BUILD_TypeNameHere_REC">
<Text> text </Text>
</Row>
</Language_en_US>
<IconTextureAtlases>
<Row>
<Atlas>your_ATLAS</Atlas>
<IconSize>###</IconSize>
<Filename>filename.dds</Filename>
<IconsPerRow>#</IconsPerRow>
<IconsPerColumn>#</IconsPerColumn>
</Row>
</IconTextureAtlases>
</GameData>






for units

for the ftsxml you can private message me ill walk you through that process if you want or need a custom effect trigger file for a unit.
the ftsxml tells the units effects when to trigger when the gun shots go off, and on what animation and during what action this will also tell your unit what sounds and when to make them.

for the fxsxml file
start with a civ unit from the game that closely resemble how yours will function
it should look like this replacing animation names with the ones you will be using if you have custom animations

<Asset>
<Mesh file="Mesh_name.gr2"/>
<Animation file="U_Aztec_Jaguar_IdleA.gr2" ec="1000"/>
<Animation file="U_Aztec_Jaguar_FidgetA.gr2" ec="1040"/>
<Animation file="U_Aztec_Jaguar_IdleA_Trans_IdleB.gr2" ec="1020"/>
<Animation file="U_Aztec_Jaguar_IdleB.gr2" ec="2000"/>
<Animation file="U_Aztec_Jaguar_FidgetB.gr2" ec="2040"/>
<Animation file="U_Aztec_Jaguar_IdleB_Trans_IdleA.gr2" ec="2020"/>
<Animation file="U_Aztec_Jaguar_Fortify.gr2" ec="1500"/>
<Animation file="U_Aztec_Jaguar_Fortify_Idle.gr2" ec="1520"/>
<Animation file="U_Aztec_Jaguar_Fortify_Idle_Fidget.gr2" ec="1540"/>
<Animation file="U_Aztec_Jaguar_Fortify_Idle_Trans_Combat_Ready_Idle.gr2" ec="1560"/>
<Animation file="U_Aztec_Jaguar_Fortify_Idle_Trans_IdleA.gr2" ec="1580"/>
<Animation file="U_Aztec_Jaguar_Combat_Ready.gr2" ec="1600"/>
<Animation file="U_Aztec_Jaguar_Shuffle.gr2" ec="1450"/>
<Animation file="U_Aztec_Jaguar_Combat_Ready_Idle.gr2" ec="1620"/>
<Animation file="U_Aztec_Jaguar_Combat_Ready_Idle_Trans_IdleA.gr2" ec="1640"/>
<Animation file="U_Aztec_Jaguar_Run.gr2" ec="1400"/>
<Animation file="U_Aztec_Jaguar_Stop_Run.gr2" ec="1440"/>
<Animation file="U_Aztec_Jaguar_Stop_Run_IdleB.gr2" ec="2440"/>
<Animation file="U_Aztec_Jaguar_Charge_Run.gr2" ec="1120"/>
<Animation file="U_Aztec_Jaguar_Charge_Attack.gr2" ec="1140"/>
<Animation file="U_Aztec_Jaguar_AttackA.gr2" ec="1100"/>
<Animation file="U_Aztec_Jaguar_AttackB.gr2" ec="2100"/>
<Animation file="U_Aztec_Jaguar_Attack_City.gr2" ec="1160, 1180"/>
<Animation file="U_Aztec_Jaguar_Victory.gr2" ec="1800"/>
<Animation file="U_Aztec_Jaguar_Bombard_Defense.gr2" ec="1280"/>
<Animation file="U_Aztec_Jaguar_Bombard_Defense_Idle.gr2" ec="1285"/>
<Animation file="U_Aztec_Jaguar_Bombard_Defense_Idle_Trans_IdleA.gr2" ec="1290"/>
<Animation file="U_Aztec_Jaguar_DeathA.gr2" ec="1200"/>
<Animation file="U_Aztec_Jaguar_DeathA_Idle.gr2" ec="1220"/>
<Animation file="U_Aztec_Jaguar_DeathB.gr2" ec="2200"/>
<Animation file="U_Aztec_Jaguar_DeathB_Idle.gr2" ec="2220"/>
<BoneUsage>
<Bone name="Spear"/>
<Bone name="Base HumanRPalm"/>
<Bone name="Base HumanLPalm"/>
<Bone name="Base HumanSpine2"/>
<Bone name="Base HumanHEAD"/>
<Bone name="Base HumanSpine1"/>
</BoneUsage>
<AnimGraph file="RUN_CHARGE_SHUFFLE_TO_SHUFFLE_RUN_CHARGE.dge"/>
<AnimGraph file="SHUFFLE_STOP_GRAPH.dge"/>
<AnimGraph file="START_RUN_CHARGE_SHUFFLE.dge"/>
<AnimGraph file="ATTACK_CITY_TO_RUN_CHARGE_SHUFFLE.dge"/>
<AnimGraph file="ATTACK_TO_RUN_CHARGE_SHUFFLE.dge"/>
<AnimGraph file="RUN_CHARGE_SHUFFLE_LOOP.dge"/>
<StateMachine file="1_OMNI_STATE_01.fsmxml"/>
<AnimGraph file="MELEE_ATTACKS.dge"/>
<AnimGraph file="FIDGETS_GRAPH.dge"/>
<AnimGraph file="IDLE_GRAPH.dge"/>
<AnimGraph file="STOP_RUNNING.dge"/>
<AnimGraph file="TRANSITIONS_FOR_IDLES.dge"/>
<AnimGraph file="FORTIFY_GRAPH.dge"/>
<AnimGraph file="COMBAT_READY_GRAPH.dge"/>
<AnimGraph file="FORTIFY_LEAVE_GRAPH.dge"/>
<AnimGraph file="ENTER_COMBAT_READY_GRAPH.dge"/>
<AnimGraph file="LEAVE_COMBAT_READY.dge"/>
<AnimGraph file="DEATH_GRAPH.dge"/>
<AnimGraph file="ENTER_BOMBARD_DEFEND_GRAPH.dge"/>
<AnimGraph file="BOMBARD_DEFEND_LOOP_GRAPH.dge"/>
<AnimGraph file="DEATH_FINAL_GRAPH.dge"/>
<AnimGraph file="LEAVE_BOMBARD_DEFEND_TRANS_IDLE_A_GRAPH.dge"/>
<AnimGraph file="ENTER_FORTIFY.dge"/>
<AnimGraph file="FORTIFY_FIDGET_GRAPH.dge"/>
<AnimGraph file="IDLE_OFFSET_CONTINUE_TRUE_GRAPH.dge"/>
<TimedTrigger file="fx_triggers_Your_Custom_trigger_or_a_trigger_from_civ_you_want_to_use.ftsxml"/>
</Asset>

art defines

this is a standard art defines for a melee unit i made for some feral ghouls i made.
just change the names out to yours and adjust the scale to soot the scale of your unit
you can change the number of units you can add more then 1 model to a unit too. just make sure all the names correspond to the names you gave the items they are referring too.

<GameData>
<ArtDefine_UnitInfos>
<Row>
<Type>ART_DEF_UNIT_FERAL_GHOUL_GLOWING_ONE_4</Type>
<DamageStates>1</DamageStates>
<Formation>UnFormed</Formation>
</Row>
</ArtDefine_UnitInfos>
<ArtDefine_UnitInfoMemberInfos>
<Row>
<UnitInfoType>ART_DEF_UNIT_FERAL_GHOUL_GLOWING_ONE_4</UnitInfoType>
<UnitMemberInfoType>ART_DEF_UNIT_MEMBER_FERAL_GHOUL_GLOWING_ONE_4</UnitMemberInfoType>
<NumMembers>1</NumMembers>
</Row>
</ArtDefine_UnitInfoMemberInfos>
<ArtDefine_UnitMemberInfos>
<Row>
<Type>ART_DEF_UNIT_MEMBER_FERAL_GHOUL_GLOWING_ONE_4</Type>
<Scale>0.3</Scale>
<Model>Feral_Ghoul_Glowing_One_4.fxsxml</Model>
<MaterialTypeTag>METAL</MaterialTypeTag>
<MaterialTypeSoundOverrideTag>FLESH</MaterialTypeSoundOverrideTag>
</Row>
</ArtDefine_UnitMemberInfos>
<ArtDefine_UnitMemberCombats>
<Row>
<UnitMemberType>ART_DEF_UNIT_MEMBER_FERAL_GHOUL_GLOWING_ONE_4</UnitMemberType>
<EnableActions>Idle Attack RunCharge AttackCity Bombard Death BombardDefend Run Fortify CombatReady Walk AttackCharge</EnableActions>
<HasRefaceAfterCombat>1</HasRefaceAfterCombat>
<ReformBeforeCombat>1</ReformBeforeCombat>
<HasOpponentTracking>1</HasOpponentTracking>
</Row>
</ArtDefine_UnitMemberCombats>
<ArtDefine_UnitMemberCombatWeapons>
<Row>
<UnitMemberType>ART_DEF_UNIT_MEMBER_FERAL_GHOUL_GLOWING_ONE_4</UnitMemberType>
<Index>0</Index>
<SubIndex>0</SubIndex>
<WeaponTypeTag>BLUNT</WeaponTypeTag>
<WeaponTypeSoundOverrideTag>BLUNT</WeaponTypeSoundOverrideTag>
</Row>
<Row>
<UnitMemberType>ART_DEF_UNIT_MEMBER_FERAL_GHOUL_GLOWING_ONE_4</UnitMemberType>
<Index>1</Index>
<SubIndex>0</SubIndex>
<VisKillStrengthMin>10.0</VisKillStrengthMin>
<VisKillStrengthMax>20.0</VisKillStrengthMax>
<WeaponTypeTag>FLAMING_ARROW</WeaponTypeTag>
<MissTargetSlopRadius>10.0</MissTargetSlopRadius>
</Row>
</ArtDefine_UnitMemberCombatWeapons>
<ArtDefine_StrategicView>
<Row>
<StrategicViewType>ART_DEF_UNIT_FERAL_GHOUL_GLOWING_ONE_4</StrategicViewType>
<TileType>Unit</TileType>
<Asset>SV_Riflemen.dds</Asset>
</Row>
</ArtDefine_StrategicView>
</GameData>
 
Last edited:
one more thing

<ArtDefine_UnitMemberInfos>
<Row>
<Type>ART_DEF_UNIT_UnitName</Type>
<Scale>0.340000000596046</Scale>
<ZOffset>20</ZOffset>
<Model>crebain.fxsxml</Model>
<MaterialTypeTag>CLOTH</MaterialTypeTag>
<MaterialTypeSoundOverrideTag>FLESH</MaterialTypeSoundOverrideTag>
</Row>
</ArtDefine_UnitMemberInfos>

adding the " <ZOffset>20</ZOffset> " changes how high it is off the ground the line here is how you make units float

i made my cloud city float by putting the meshes way above the bones. technically it thinks its sitting on the ground. at least the bones are on the ground.
 
Last edited:
One day I'll re write a more detailed guide in its own thread and link it here.

But for now I can give you this.

Below is a link to a project I'm working on.
Still in the very early stages.

In the thread I post some rough import pictures of city set graphics. They have no dds files yet so are ugly and not colored.
But it serves as a proof of concept for changing city set graphics.
In that thread I'll link it to the guide for city sets I'll write up that will also include blend templates.
I still need to work out the kinks in the model and get a better under standing of how it functions. As city models are different then every other type of civ model.

https://forums.civfanatics.com/threads/making-an-apocalyptic-mod.677099/
 
Top Bottom