11 Magyar units

Zerver

CIV4 Unit-Maker
Joined
May 24, 2007
Messages
549
Location
unidentified
http://forums.civfanatics.com/./downloads.php?do=file&id=7247
magy1_JF0.jpg

magy2_39X.jpg

magy3_paF.jpg

Any suggestions, any comments?
 
Quality work, Zerver. The shield with the Hungarian flag is a bit too much, but that can be easily corrected if one wants. I must thank you for your hard work, Zerver! Keep the units coming!

PS: with these now I feel tempted more than ever to make a Hungarian mod
 
The shield with the Hungarian flag is a bit too much, but that can be easily corrected if one wants.

Yes hat the same thought about the shield. I looked it up and it seems the shield is not really wrong through the flag was different to different times.

Still i think it would look better, if you just used the coat of arms (герб) maybe on drak red or dark green background for the shild.
 
I have trouble with the Pikeman, no animation seems to be working correctly for him.

With the included PapalSpearman animation he just stands there like an X (i.e. arms and legs stretched), with Spearman or Pikeman he stands correctly, but always without a weapon.

Which animation do you actually use ?
 
The Pikeman has some problems, the included PapalSpearman_FX.nif does not include a spear and both the regular and the FX-nif refer to some resources with a fixed path (the latter doesn't seem to matter though for whatever reason).

He does work with the included animation tho, that was a typo ;)
 
I like your units very much, Zerver! I think I will add them to my magyar mod if you allow. In my opinion the red-white-greenish shield is also alright, it fits to the player flag used in the mod. Only one little thing: the horseman seems to wear a spear, right? Is it possible to make him using a bow like your archer does? I think this would come closer to historical facts. For the battle animation I would suggest to make him riding the horse without using his hands so he can fire with his bow. AFAIK this was the usual fighting technique of the early Magyars. But only a suggestion...
 
I like your units very much, Zerver! I think I will add them to my magyar mod if you allow. In my opinion the red-white-greenish shield is also alright, it fits to the player flag used in the mod. Only one little thing: the horseman seems to wear a spear, right? Is it possible to make him using a bow like your archer does? I think this would come closer to historical facts. For the battle animation I would suggest to make him riding the horse without using his hands so he can fire with his bow. AFAIK this was the usual fighting technique of the early Magyars. But only a suggestion...

GUYS, use these units where you want, just credit me
 
Yesterday I started to include all your units into my magyar mod (at the moment vanilla version only), but I got several problems. Firstly: your horseman sits wrongly on his horse. He is rotated at 90 degree to left. Secondly your Axeman and your Swordsman appear in magenta while they are not during their moving animation. Thirdly your Spearman doesn't hold his spear in his hands. The spear is next to the hand. Fourtly the colour of the chariot doesn't seems to be alright, at least not on every machine. It worked on my desktop pc, but on my laptop it seemed to be blue instead of green.

Here are my artdefines:

Axeman:

<UnitArtInfo>
<Type>ART_DEF_UNIT_MAGYAR_AXEMAN</Type>
<fScale>0.44</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<NIF>Art/Units/Axeman_magyar/HeavySwordsman.nif</NIF>
<KFM>Art/Units/Axeman/Axeman.kfm</KFM>
<SHADERNIF>Art/Units/Axeman_magyar/HeavySwordsman.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>


Swordsman:

<UnitArtInfo>
<Type>ART_DEF_UNIT_MAGYAR_SWORDSMAN</Type>
<fScale>0.44</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<NIF>Art/Units/swordsman_magyar/HeavySwordsman.nif</NIF>
<KFM>Art/Units/swordsman_magyar/HeavySwordsman.kfm</KFM>
<SHADERNIF>Art/Units/swordsman_magyar/HeavySwordsman.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>


Spearman:

<UnitArtInfo>
<Type>ART_DEF_UNIT_MAGYAR_SPEARMAN</Type>
<fScale>0.44</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<NIF>Art/Units/spearman_magyar/HeavySwordsman.nif</NIF>
<KFM>Art/Units/Spearman/Spearman.kfm</KFM>
<SHADERNIF>Art/Units/spearman_magyar/HeavySwordsman.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>

(I haven't included your kfm-file here, since the game crashes then when I add a Spearman with world builder)


chariot:

<UnitArtInfo>
<Type>ART_DEF_UNIT_MAGYAR_CHARIOT</Type>
<fScale>0.35</fScale>
<fInterfaceScale>0.9</fInterfaceScale>
<NIF>Art/Units/chariot_magyar/chariot.nif</NIF>
<KFM>Art/Units/Chariot/Chariot.kfm</KFM>
<SHADERNIF>Art/Units/chariot_magyar/chariot.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/ChariotShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<TrailDefinition>
<Texture>Art/Shared/wheeltread.dds</Texture>
<fWidth>1.0</fWidth>
<fLength>180.0</fLength>
<fTaper>0.0</fTaper>
<fFadeStartTime>0.2</fFadeStartTime>
<fFadeFalloff>0.35</fFadeFalloff>
</TrailDefinition>
<fBattleDistance>0.20</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bSmoothMove>1</bSmoothMove>
<fAngleInterpRate>360.0</fAngleInterpRate>
<fExchangeAngle>-30.0</fExchangeAngle>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_WHEELS</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_WHEELS</AudioRunTypeEnd>
</AudioRunSounds>
</UnitArtInfo>


I found at least one file (don't remember where) that's filename were criptical symbols. I guess you gave him a russian name and my (german) system does not recognize cyrillic symbols. Don't know if this could be a reason for one of these troubles. Hope you can help me with this.

BTW: Is it possible to make the Maceman wear a Mace? I don't want to bo sinewy, it's only a question...
 
Did that for warlords as well, same problems. But my Pikeman seems to work correctly. Here is my artdefine for it:

<UnitArtInfo>
<Type>ART_DEF_UNIT_MAGYAR_PIKEMAN</Type>
<fScale>0.44</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<NIF>Art/Units/PIKEMAN_MAGYAR/PapalSpearman.nif</NIF>
<KFM>Art/Units/PIKEMAN_MAGYAR/PapalSpearman.kfm</KFM>
<SHADERNIF>Art/Units/PIKEMAN_MAGYAR/PapalSpearman_FX.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop/>
<AudioRunTypeEnd/>
</AudioRunSounds>
</UnitArtInfo>

Hope that helps.
 
I forgot something: the strange file I have mentioned above is in longbowman's folder. Since the longbowman seems to work this is probably not the reason for my problems. However, this file is quite interesting, I couldn't even say what kind of file it is: there is no .*** fileending... Anyway.
 
The units work for me, I deleted all those strange files (Zerver has a habbit of leaving some of those around, they never are needed as far as I can tell).

Here are the definitions (BtS) :

Spoiler :
Code:
		<UnitArtInfo>
			<Type>ART_DEF_UNIT_AXEMAN_HUNGARY</Type>
			<Button>,Art/Interface/Buttons/Units/Axeman.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,3,1</Button>
			<fScale>0.44</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			<bActAsLand>0</bActAsLand>
			<bActAsAir>0</bActAsAir>
			<NIF>Modules/Custom Civilizations/Hungary/Units/Axeman_Hungary/HeavySwordsman.nif</NIF>
			<KFM>Modules/Custom Civilizations/Hungary/Units/Axeman_Hungary/HeavySwordsman.kfm</KFM>
			<SHADERNIF>Modules/Custom Civilizations/Hungary/Units/Axeman_Hungary/HeavySwordsman.nif</SHADERNIF>
			<ShadowDef>
				<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
				<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
				<fShadowScale>1.0</fShadowScale>
			</ShadowDef>
			<fBattleDistance>0.35</fBattleDistance>
			<fRangedDeathTime>0.31</fRangedDeathTime>
			<bActAsRanged>0</bActAsRanged>
			<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
			<AudioRunSounds>
				<AudioRunTypeLoop/>
				<AudioRunTypeEnd/>
			</AudioRunSounds>
		</UnitArtInfo>

		<UnitArtInfo>
			<Type>ART_DEF_UNIT_CHARIOT_HUNGARY</Type>
			<Button>,Art/Interface/Buttons/Units/Chariot.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,5,7</Button>
			<fScale>0.35</fScale>
			<fInterfaceScale>0.9</fInterfaceScale>
			<bActAsLand>0</bActAsLand>
			<bActAsAir>0</bActAsAir>
			<NIF>Modules/Custom Civilizations/Hungary/Units/Chariot_Hungary/chariot.nif</NIF>
			<KFM>Art/Units/Chariot/Chariot.kfm</KFM>
			<SHADERNIF>Modules/Custom Civilizations/Hungary/Units/Chariot_Hungary/chariot.nif</SHADERNIF>
			<ShadowDef>
				<ShadowNIF>Art/Units/01_UnitShadows/ChariotShadow.nif</ShadowNIF>
				<ShadowAttachNode>Chariot_Chariot</ShadowAttachNode>
				<fShadowScale>1.0</fShadowScale>
			</ShadowDef>
			<TrailDefinition>
				<Texture>Art/Shared/wheeltread.dds</Texture>
				<fWidth>0.9</fWidth>
				<fLength>180.0</fLength>
				<fTaper>0.0</fTaper>
				<fFadeStartTime>0.2</fFadeStartTime>
				<fFadeFalloff>0.35</fFadeFalloff>
			</TrailDefinition>
			<fBattleDistance>0.20</fBattleDistance>
			<fRangedDeathTime>0.31</fRangedDeathTime>
			<bSmoothMove>1</bSmoothMove>
			<fAngleInterpRate>360.0</fAngleInterpRate>
			<fExchangeAngle>-30.0</fExchangeAngle>
			<bActAsRanged>0</bActAsRanged>
			<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
			<AudioRunSounds>
				<AudioRunTypeLoop>LOOPSTEP_WHEELS</AudioRunTypeLoop>
				<AudioRunTypeEnd>ENDSTEP_WHEELS</AudioRunTypeEnd>
			</AudioRunSounds>
		</UnitArtInfo>

		<UnitArtInfo>
			<Type>ART_DEF_UNIT_SPEARMAN_HUNGARY</Type>
			<Button>,Art/Interface/Buttons/Units/Spearman.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,4,6</Button>
			<fScale>0.44</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			<bActAsLand>0</bActAsLand>
			<bActAsAir>0</bActAsAir>
			<NIF>Modules/Custom Civilizations/Hungary/Units/Spearman_Hungary/HeavySwordsman.nif</NIF>
			<KFM>Art/Units/Spearman/Spearman.kfm</KFM>
			<SHADERNIF>Modules/Custom Civilizations/Hungary/Units/Spearman_Hungary/HeavySwordsman.nif</SHADERNIF>
			<ShadowDef>
				<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
				<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
				<fShadowScale>1.0</fShadowScale>
			</ShadowDef>
			<fBattleDistance>0.35</fBattleDistance>
			<fRangedDeathTime>0.31</fRangedDeathTime>
			<bActAsRanged>0</bActAsRanged>
			<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
			<AudioRunSounds>
				<AudioRunTypeLoop/>
				<AudioRunTypeEnd/>
			</AudioRunSounds>
		</UnitArtInfo>

		<UnitArtInfo>
			<Type>ART_DEF_UNIT_SWORDSMAN_HUNGARY</Type>
			<Button>,Art/Interface/Buttons/Units/Swordsman.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,4,5</Button>
			<fScale>0.44</fScale>
			<fInterfaceScale>1.0</fInterfaceScale>
			<bActAsLand>0</bActAsLand>
			<bActAsAir>0</bActAsAir>
			<NIF>Modules/Custom Civilizations/Hungary/Units/Swordsman_Hungary/HeavySwordsman.nif</NIF>
			<KFM>Modules/Custom Civilizations/Hungary/Units/Swordsman_Hungary/HeavySwordsman.kfm</KFM>
			<SHADERNIF>Modules/Custom Civilizations/Hungary/Units/Swordsman_Hungary/HeavySwordsman.nif</SHADERNIF>
			<ShadowDef>
				<ShadowNIF>Art/Units/01_UnitShadows/UnitShadow.nif</ShadowNIF>
				<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
				<fShadowScale>1.0</fShadowScale>
			</ShadowDef>
			<fBattleDistance>0.35</fBattleDistance>
			<fRangedDeathTime>0.31</fRangedDeathTime>
			<bActAsRanged>0</bActAsRanged>
			<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
			<AudioRunSounds>
				<AudioRunTypeLoop/>
				<AudioRunTypeEnd/>
			</AudioRunSounds>
		</UnitArtInfo>

Oh, and the horseman uses the Art/Units/Unique/Mongol/Keshik/MongelKeshik.kfm animation.
 
The tip with the horseman helped, thank you. I have compared your artdefines with mines and I could only find one difference: your axeman points to a kfm that does not seem to come with civ 4 (I mean it must be a file made by Zever), but there is no kfm in Zervers axeman directory (only kf's). I have already downloaded his .zip two times to ensure there was no download problem. It's exactly 2697kb, your's too? Maybe you copied that from another of Zervers directories?

The other units' artdefines seem to be the same besides you have an other diretory structure than me. I think the game didn't find some file when it loaded the unit, so it replaced it (maybe a texture) with magenta.... Strange. I have already searched for typing mistakes, but I couldn't find anything...

The chariots colour is maybe alright, I will take a closer look on this later.
 
The tip with the horseman helped, thank you. I have compared your artdefines with mines and I could only find one difference: your axeman points to a kfm that does not seem to come with civ 4 (I mean it must be a file made by Zever), but there is no kfm in Zervers axeman directory (only kf's). I have already downloaded his .zip two times to ensure there was no download problem. It's exactly 2697kb, your's too? Maybe you copied that from another of Zervers directories?

Right he hasn't put it into the axeman directory, I assume by accident (all the other HeavySwordsman files are there). I copied it over from the swordsman ;)

You can download my Hungary civ here : http://forums.civfanatics.com/showthread.php?t=240115 while you won't be able to use it standalone, you at least can see which files I left in / added for which unit.
 
Okay, I copied the kfm to the axeman's directory and I tried these models on my laptop, too. On my laptop everything seems to be alright, except the Spearman that's Spear is not in his hand but moved a bit to one side. But this last thing is only a minor problem. On my desktop pc nothing changed. To be a bit more specific: when I add the swordsman and the axeman with the world builder it appears magenta immeadiatly. They have the same shape, too (means the axeman looks like swordsman). After switching back to game I move the units. While they are moving to their destination and some seconds after that they appear to be normal. Later they become magenta again. I am not that familiar in creating units etc, but the kfm is the file for the animation and the nif is the units 3d model, right? If so the kfm can not be the reason.

All these problems remind me of problems I had with flags some time ago. All these tutorials write that a players flag has to be saved with alpha. For most machines this seems to be correct. It worked on my laptop, for example. On my desktop pc it appeared totally white. I spend some time for this to figure out that the alpha was the reason. Once I saved without alpha it worked perfectly on my desktop pc, but was white on my laptop. At the end I had to include two flag file into my mod to solve this. My problem with the units seems to be similar. My theory is, that there is something with the HeavySwordsman.nif that causes incompatibility with some machines. I know I was not alone with this flag issues. I would be glad if someone that had these problems with the flag, too, could try these units. You can oad the magyar mod to try out flags (by default the game uses the flag that worked on my laptop).

Now I will take look on mambas mod. If I can't find out anything new I will post some screenies of my problem next time.
 
Back
Top Bottom