P-40 Flying Tiger

i downloaded ur unit ( its the first one i attempted to upload ;) ) it almost worked well, just the propeller didnt work and it was a bit weird. But otherwise i love it :D
good job :goodjob:
 
Thanks. :)

Could you post a screenshot of what you mean by "weird"? ;) Did you have the animations in the right folder?
(as in the default fighter .kf's?)
 
what i mean by weird is that i put some barbarians in to test it out, at first when my P-40s couldnt see it their symbol was a warrior and they had option to defend and explore and such, but when i flew a regular fighter over the barbarians their symbol was the right one and they could functioned normal (except the proppeller not moving)
 
they used the right animation except like i said before the proppeller and their machine gun didnt go off (dont know if you made it like that)
 
what i mean by weird is that i put some barbarians in to test it out, at first when my P-40s couldnt see it their symbol was a warrior and they had option to defend and explore and such, but when i flew a regular fighter over the barbarians their symbol was the right one and they could functioned normal (except the proppeller not moving)
The button was a warrior?

Sure ain't my art, did you code it correctly? Its impossible that its this unit art's fault, try making it replace the default fighter in a mod, it will work.
 
The unit works nicely, it is your xml that is wrong.

Spoiler :

Code:
		<UnitArtInfo>
			<Type>ART_DEF_UNIT_FIGHTER</Type>
			<Button>,Art/Interface/Buttons/Units/Fighter.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,6,10</Button>
			<fScale>0.5</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			<bActAsLand>0</bActAsLand>
			<bActAsAir>0</bActAsAir>
			<NIF>P40/fighter_fx.nif</NIF>
			<KFM>Art/Units/Fighter/Fighter.kfm</KFM>
			<SHADERNIF>P40/fighter_fx.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>

Use proper paths for where you put the unit (<NIF> and <SHADERNIF>) and maybe give it another name (<Type>) and assign it to a single civ only. I just replaced the regular fighter with it for this short test.
 
do i have to do anything with the formation infos folder? in the tutorial i read it said to view other tutorials about this. I just skipped that part
 
I have no idea what you're trying to do, just use Mamba's code, don't mess with the formations.
 
I have no idea what you're trying to do, just use Mamba's code, don't mess with the formations.
Sorry for the tone before. ;)

Long day. ;) Anyway, what tutorial are you using exactly? I'll try to help...

Thanks for that Bernie. :p
 
tone? lol i didnt even notice it :D. im using rabbits 6 step tutorial to adding units, i also used the XML changes from sovarns guide to help me
 
Oh sure... Bernie gets thanked for mentioning it's been done before! :lol:
...
tone? lol i didnt even notice it :D. im using rabbits 6 step tutorial to adding units, i also used the XML changes from sovarns guide to help me
Now, I'd follow exclusively Sovarn's tutorial because that is everything you need, the XML. What I'd personally do is use modulars, but that's a bit confusing if you're just starting at this stuff (or even if you've been doing it a long time). Follow his tutorial, except copy the sections in each XML for the default Fighter and paste them underneath and make changes as need be. For example, you want the button to be the same as the default fighter (because I didn't make a button, I can if you want) so you'd leave that as be, but you need the new .nif so you'd change that, etc.

Just say if you run into problems.
 
Here's a fancy render of the fancy version of the P-40 I made:
P-40RenderNew.png
 
Who's flying the plane?
 
No one! :p

I had a pilot there but he slowed Blender down so much and I couldn't get the lighting right I decided to delete him. I may add him once I get it all working again.
 
Back
Top Bottom