He 219 "Uhu"

Saschkin

Warlord
Joined
Apr 2, 2008
Messages
109
Location
Saschkingrad
The Heinkel He219 Uhu night fighter, as requested by Ambrevile for his
Battle of Britain scenario/mod
http://forums.civfanatics.com/showthread.php?t=266526
http://en.wikipedia.org/wiki/He_219

Picture:


Download:
http://forums.civfanatics.com/downloads.php?do=file&id=9771
Edit:fixed download, see below
Edit2:fixed download again, see below

..uses Coyotes Mosquito animation which is included..

..and i didnt bother to change the bombing run, so as this plane is easily large enough,
if you WANT to attack ground targets with it you`ll slap some bombs on it..:p
 
Looks really good!
 
looks real great - good job :)
 
By the way, I installed the Uhu but I get a Python error. The aircraft looks fine when I put it there via WorldBuilder, but when I exit WB and click on the aircraft, I get the error.

Here's the message (out of the log file):

Code:
Traceback (most recent call last):

  File "CvScreensInterface", line 705, in forceScreenRedraw

  File "CvMainInterface", line 724, in redraw

  File "CvMainInterface", line 1093, in updatePlotListButtons

RuntimeError: unidentifiable C++ exception
ERR: Python function forceScreenRedraw failed, module CvScreensInterface

Any idea what may have gone wrong? Usually, when I goof something with my units, I get an XML error. That one's a first for me. :(

The error message is repeated many times in the log file.
 
If it's a graphic error, here's my Art Define entry, for ref.:

Spoiler :
Code:
		<UnitArtInfo>	
			<Type>ART_DEF_UNIT_H219</Type>
			<Button>Art/Interface/Buttons/Units/H219.dds</Button>
			<fScale>0.7</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			<bActAsLand>0</bActAsLand>
			<bActAsAir>0</bActAsAir>	
			<NIF>Art/Units/H219/Uhu.nif</NIF>	
			<KFM>Art/Units/H219/Mosquito.kfm</KFM>	
			<SHADERNIF>Art/Units/H219/Uhu.nif</SHADERNIF>	
			<ShadowDef>	
				<ShadowNIF>Art/Units/01_UnitShadows/FighterShadow.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>0</bActAsRanged>	
			<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>	
			<AudioRunSounds>	
				<AudioRunTypeLoop/>
				<AudioRunTypeEnd/>
			</AudioRunSounds>	
			<PatrolSound>AS3D_UN_FIGHTER_PATROL</PatrolSound>	
			<SelectionSound>AS3D_UN_FIGHTER_COMMAND_PATROL</SelectionSound>	
			<ActionSound>AS3D_UN_FIGHTER_COMMAND_PATROL</ActionSound>	
		</UnitArtInfo>
 
you must also add the mosquito.nif in the Uhu folder (or rename the uhu to mosquito), the kfm links to this file and without this file there is a python error. You must not link the mosquito.nif in the xml´s
 
you must also add the mosquito.nif in the Uhu folder (or rename the uhu to mosquito), the kfm links to this file and without this file there is a python error. You must not link the mosquito.nif in the xml´s

I'm confused now.

The files I got for the Uhu contain:
  • Mosquito.kfm
  • uhu.nif

Are you telling me to rename the uhu.nif file mosquito.nif?
 
yes would also work, but you can also use the updated download (with the missing nif), or link to one of the existing Mosquito animation you have already in your mod

@ Saschkin
hope you didn´t feeled offended by my post - the bold was though to make clear that this file absolut necessary
 
Eventually, I did figure it out...

you must also add the mosquito.nif in the Uhu folder (or rename the uhu to mosquito), the kfm links to this file and without this file there is a python error. You must not link the mosquito.nif in the xml´s

@ Coyote: Needed to rename the Uhu.nif file provided with the Uhu unit download to ---> mosquito.nif. I was thrown off by your last statement of "not linking the mosquito.nif in the XML" (WTH???)

@ Saschkin: make sure you fix that download.

:cheers:
 
I tried this approach too. Now that one did NOT work. Renaming the Uhu.nif file did.

weird now i´m confused (is there also the mosquito.nif missed in this folder?), but first sorry for confusing you :blush:, yes i wanted to say rename the uhu.nif to mosquito.nif and link to the renamed file or add the mosquito.nif to the folder and don´t link to her.

There should be the following files in the folder, the nif(s), the texture(s), the kfm, the nif linked in the kfm (in this case the mosquito.nif) and the kf files
 
Back
Top Bottom