ww2steel
Chieftain
Hello,
I have made a heavily modified (very old version) of Rev DCM. I have always found what I needed in searches, but this time no luck. I think this is my first thread started on here.
A new unit I made freezes the game, and in a weird way (to me). In past experience, when I messed up art it would CTD, this is much more difficult. I always test a unit using worldbuilder, it works. After having problems with the unit I played around with the artdefines and built one in a city in WB, still worked 100%. When I play an actual game, 10 hours into the I build one, no errors, turn plays just fine, can begin and play the turn just fine, but when the unit comes up in it's order in the turn the map begins to scroll to it and the second it appears on the map (it does appear)... freeze. Have to Ctl-Alt-Del to get out.
I have created a new unit, a recon satellite called Reconsat in the xml. It's purpose was to reveal the map once building a single national unit. It could do recon missions, but on normal smaller maps I played I can just leave it fortified and the increased vis can see the entire map. As I couldn't find a satellite I used Dual's Tie Interceptor I found on here (it's really nice, BTW!). For it I created (I have done all of the major components before):
New UNITCLASS_RECONSAT (with air range of 99, what's the max on this anyway?)
New UNITCOMBAT_RECONSAT with additions to Unit Naming.xml
modified CIV4UnitCombatInfos.xml
Made a new promotion: PROMOTION_RECONSAT with +99 visibility (max?)
Modified CIV4UnitClassInfos.xml
Modified multiple text files, they all show correctly in the pedia
made a new file Reconsat.dds, which I pulled from Final Frontier into a single button
Modified CIV4ArtDefines_Unit.xml, as I think this is the problem- here is that addition:
<UnitArtInfo> <Type>ART_DEF_UNIT_TIE_INTERCEPTOR_TEAMCOLORS</Type>
<Button>Art/Interface/Buttons/Units/Reconsat.dds</Button>
<fScale>0.6</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/TIE_INTERCEPTOR_TEAMCOLORS/TIE_INTERCEPTOR.nif</NIF>
<KFM>Art/Units/JetFighter/JetFighter.kfm</KFM>
<SHADERNIF>Art/Units/TIE_INTERCEPTOR_TEAMCOLORS/TIE_INTERCEPTOR_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/JetFighterShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.75</fShadowScale>
</ShadowDef>
<iDamageStates>4</iDamageStates>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bSmoothMove>1</bSmoothMove>
<fBankRate>0.35</fBankRate>
<bActAsRanged>1</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
<PatrolSound>AS3D_UN_ICBM_SELECT</PatrolSound>
<SelectionSound>AS3D_UN_ICBM_SELECT</SelectionSound>
<ActionSound>AS3D_UN_ICBM_SELECT</ActionSound>
</UnitArtInfo>
The Tie Interceptor page, if it helps:
http://forums.civfanatics.com/showthread.php?t=164984
Also, is there a better way to reveal all non-submarine units on the map?
Thanks!!!
Mike
I have made a heavily modified (very old version) of Rev DCM. I have always found what I needed in searches, but this time no luck. I think this is my first thread started on here.

A new unit I made freezes the game, and in a weird way (to me). In past experience, when I messed up art it would CTD, this is much more difficult. I always test a unit using worldbuilder, it works. After having problems with the unit I played around with the artdefines and built one in a city in WB, still worked 100%. When I play an actual game, 10 hours into the I build one, no errors, turn plays just fine, can begin and play the turn just fine, but when the unit comes up in it's order in the turn the map begins to scroll to it and the second it appears on the map (it does appear)... freeze. Have to Ctl-Alt-Del to get out.
I have created a new unit, a recon satellite called Reconsat in the xml. It's purpose was to reveal the map once building a single national unit. It could do recon missions, but on normal smaller maps I played I can just leave it fortified and the increased vis can see the entire map. As I couldn't find a satellite I used Dual's Tie Interceptor I found on here (it's really nice, BTW!). For it I created (I have done all of the major components before):
New UNITCLASS_RECONSAT (with air range of 99, what's the max on this anyway?)
New UNITCOMBAT_RECONSAT with additions to Unit Naming.xml
modified CIV4UnitCombatInfos.xml
Made a new promotion: PROMOTION_RECONSAT with +99 visibility (max?)
Modified CIV4UnitClassInfos.xml
Modified multiple text files, they all show correctly in the pedia
made a new file Reconsat.dds, which I pulled from Final Frontier into a single button
Modified CIV4ArtDefines_Unit.xml, as I think this is the problem- here is that addition:
Spoiler :
<UnitArtInfo> <Type>ART_DEF_UNIT_TIE_INTERCEPTOR_TEAMCOLORS</Type>
<Button>Art/Interface/Buttons/Units/Reconsat.dds</Button>
<fScale>0.6</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/TIE_INTERCEPTOR_TEAMCOLORS/TIE_INTERCEPTOR.nif</NIF>
<KFM>Art/Units/JetFighter/JetFighter.kfm</KFM>
<SHADERNIF>Art/Units/TIE_INTERCEPTOR_TEAMCOLORS/TIE_INTERCEPTOR_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/JetFighterShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>0.75</fShadowScale>
</ShadowDef>
<iDamageStates>4</iDamageStates>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bSmoothMove>1</bSmoothMove>
<fBankRate>0.35</fBankRate>
<bActAsRanged>1</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
<PatrolSound>AS3D_UN_ICBM_SELECT</PatrolSound>
<SelectionSound>AS3D_UN_ICBM_SELECT</SelectionSound>
<ActionSound>AS3D_UN_ICBM_SELECT</ActionSound>
</UnitArtInfo>
The Tie Interceptor page, if it helps:
http://forums.civfanatics.com/showthread.php?t=164984
Also, is there a better way to reveal all non-submarine units on the map?
Thanks!!!
Mike