Final Frontier - Request

maverick_mw

Toy Soldier
Joined
Jan 22, 2003
Messages
196
Location
United Kingdom
Hello.

I have a simple request for any modeler out there:

Can anyone make the Final Frontier Fighter Squadron and Bomber Squadron unit so that it just displays a single fighter/bomber rather than all three? I only want the first type really (not the later upgraded ones).

I'm guessing its quite simple but I really don't know 3D modelling at all.

Thanks.
 
It looks to me like the .nif contains the same model duplictated, there's no "number of units" tag in the xml, is there?
 
In vanilla civ in the UnitInfos.xml there is this:
Code:
			<UnitMeshGroups>
				[COLOR="Red"]<iGroupSize>3</iGroupSize>[/COLOR]
				<fMaxSpeed>1.75</fMaxSpeed>
				<fPadTime>1</fPadTime>
				<iMeleeWaveSize>3</iMeleeWaveSize>
				<iRangedWaveSize>0</iRangedWaveSize>
				<UnitMeshGroup>
					<iRequired>3</iRequired>
					<EarlyArtDefineTag>ART_DEF_UNIT_AT_INFANTRY</EarlyArtDefineTag>
				</UnitMeshGroup>
			</UnitMeshGroups>
When I've modded my game this changes the # of units shown but the fighter unit has it set as 1
 
Code:
<UnitMeshGroups>
<iGroupSize>1</iGroupSize>
<fMaxSpeed>10.0</fMaxSpeed>
<fPadTime>1</fPadTime>
<iMeleeWaveSize>1</iMeleeWaveSize>
<iRangedWaveSize>1</iRangedWaveSize>
<UnitMeshGroup>
	<iRequired>1</iRequired>
	<EarlyArtDefineTag>ART_DEF_UNIT_SPACE_FIGHTER</EarlyArtDefineTag>
</UnitMeshGroup>
</UnitMeshGroups>

Thats what is already in the UnitInfos.xml that I've got, which leads me to believe that the NIF contains 3 models. Correct me if I'm wrong...
 
I am fairly certain that if you change the # of both <iGroupSize> and <iRequired> then you would get the desired result.

Depending on how many units you would want to be visibly active at the same time during combat rounds, then you might have to increase the # in <iMeleeWaveSize> and/or <iRangedWaveSize> also.
 
But, as above, those numbers are "1" in all cases. Presumably you can't have fractions - hmm half an archer....
 
But, as above, those numbers are "1" in all cases. Presumably you can't have fractions - hmm half an archer....
Huh?

Those numbers are integers - and always was afaik (no fractions). But the way the unit handling works allows you to make any unit group consist of any number of different units, including duplicates of the same unit - which of course are displayed indpendently according to formation info (FF uses default formation it seems).

EDIT: <iGroupSize> indicates total # of units in a unit group and <iRequired> defines how many of each of the individual unit types there should be. Most unit groups only use one unit type, but if you need an example then the Settler in the regular game use more than 1 unit type for the unit group.
 
..right. But what I mean is that everything is already set to "1".
 
Lol ok, thought the problem was the other way around (doh) - sorry.

Yeah, it would appear that the Fighter unit is modelled to show 3 units at a count of 1. Sadly then I haven't dabbled in the 3D area myself yet, but perhaps one of the many talented 3D people on this forum could be convinced to make a NIF that reduced the number of displayed fighters to 1?
 
Back
Top Bottom