Mig 15

nautil

Warlord
Joined
Feb 27, 2006
Messages
121
Location
israel,ashdod
ok, after a short break comes another unit - a well known MiG -15 . This was quite succesful airplane, that was used by many world armies.
The model is about 1000 polygons, with attached animation and sounds of original ingame jet fighter. I made two, almost identical skins, one is for russians with respective marks, and second is a generic fighter that can be used by any civilization.

In fact, i think i gonna start a series of Mig, mig 19 and Mig 23 are almost done, then i start with more modern models. just like this plane :)

Here are two screenshot from NIF viewer,polycount and two archives - one for russian version and second for generic.
Enjoy !

P.S. How to add new units guide
 

Attachments

  • migpolycount.jpg
    migpolycount.jpg
    41.9 KB · Views: 343
  • mig15.jpg
    mig15.jpg
    19.3 KB · Views: 503
  • mig15russian.jpg
    mig15russian.jpg
    20 KB · Views: 483
  • mig15russian.zip
    mig15russian.zip
    76 KB · Views: 495
  • mig15generic.zip
    mig15generic.zip
    75.3 KB · Views: 490
How do I use it? I added the nif to a folder, changed the artdefineunit nif of the jet fighter and I still get the jet fighter model!
 
Make sure you changed both the <NIF> tag and the <SHADERNIF> tag. Also make sure the game is actually loading the modified xml file - if you put it in a mod maybe you just forgot to load it.

Another thing that could happen if you just started modding - when you unpacked the art files, you might've left them there, in which case I think the game still uses them to load resources. You need to move them somewhere else - I ususally just move them outside the folder.
 
Ive followed
http://forums.civfanatics.com/showthread.php?t=139721
as best I could, but its of limited help.
I'm reasonably cluefull (dayjob as network admin) but I find the layout of the civ4 XML files very akward, and its unclear from the tutorial exactly what needs to be done when we actually have custom animation files...

I tried toadd in a mig15 at the end of the list (copy of the jet fighter except the graphics, so i had hoped) and all I got was a re-named jet fighter with a corrupted icon and the jet fighter graphics...

Any chance someone can PM or email me with the chunks that need to be added to the XML files (and maybe the expected path of the graphic files, and if any jetfighter resources need copying, etc) ?

Any pointers at a better tutorial?:confused:
 
gentimjs said:
Ive followed
http://forums.civfanatics.com/showthread.php?t=139721
as best I could, but its of limited help.
I'm reasonably cluefull (dayjob as network admin) but I find the layout of the civ4 XML files very akward, and its unclear from the tutorial exactly what needs to be done when we actually have custom animation files...

I tried toadd in a mig15 at the end of the list (copy of the jet fighter except the graphics, so i had hoped) and all I got was a re-named jet fighter with a corrupted icon and the jet fighter graphics...

Any chance someone can PM or email me with the chunks that need to be added to the XML files (and maybe the expected path of the graphic files, and if any jetfighter resources need copying, etc) ?

Any pointers at a better tutorial?:confused:

When you add your new unit to the CIV4ArtDefines_Unit.xml file you will need to point the <NIF> and <SHADERNIF> tags to the Mig15's nif file.

What I do is create a new folder just for the new unit (a folder named "MIG_15" for example). And put the Mig15 files I downloaded into that folder. Then I just have to tell the game where to find the nif files in the CIV4ArtDefines_Unit.xml file.

Like this:

Code:
		<UnitArtInfo>
			<Type>ART_DEF_UNIT_MIG_15</Type>
			<fScale>1.0</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			[B]<NIF>Art/Units/MIG_15/mig15.nif</NIF>[/B]
			<KFM>Art/Units/JetFighter/JetFighter.kfm</KFM>
			[B]<SHADERNIF>Art/Units/MIG_15/mig15.nif</SHADERNIF>[/B]
			<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>
			<bActAsRanged>0</bActAsRanged>
			<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
			<AudioRunSounds>
				<AudioRunTypeLoop/>
				<AudioRunTypeEnd/>
			</AudioRunSounds>
			<PatrolSound>AS3D_UN_JET_PATROL</PatrolSound>
			<SelectionSound>AS3D_UN_JET_COMMAND_PATROL</SelectionSound>
			<ActionSound>AS3D_UN_JET_COMMAND_PATROL</ActionSound>
		</UnitArtInfo>

And make sure the XML in the CIV4UnitInfos.xml file is looking for the right "ART_DEF_UNIT_SOMEUNIT" in this tag: <EarlyArtDefineTag>ART_DEF_UNIT_JET_FIGHTER</EarlyArtDefineTag>

You would want to change "JET_FIGHTER" to whatever you named the unit, like MIG_15.
 
Back
Top Bottom