Lockheed C-130 Hercules

People need to realize there is a HUGE differance between a "mod" and a "model". This thread is for a unit model, not a mod. All this contains are the graphic files... you have to create your own XML entries (to your specifications/wants) to make this work in-game.

There's plenty of tutorials here for adding unit models into the game.
 
People need to realize there is a HUGE differance between a "mod" and a "model". This thread is for a unit model, not a mod. All this contains are the graphic files... you have to create your own XML entries (to your specifications/wants) to make this work in-game.

There's plenty of tutorials here for adding unit models into the game.

Sorry you got offended by that. Not everyone here is a code master genius. Obviously, this isn't a real mod--I figured out that much. Obviously, it doesn't work like that. I've spent the better part of a day trying to figure out how to get it to work in my game, and, well, it ain't working. I've done quite a bit of reading and to no avail. I keep getting errors about the XML not loading properly. I will try it again. Maybe your links have something I didn't already read...
 
Who said I was offended? I didn't say that. I'm clarifying what this thead is and isn't. Has nothing to do with being offended... people jump to conclusions.

In XML, you're either adding this as a NEW unit, or you're adding it as a "Flavor" unit (a new graphic to a pre-existing unit)... those are two differant ways of adding it to the game... so there's differant XML methods involved.
 
No problem. However, Wolf, I've run into a problem...

Unfortunately, you link didn't help me. I just had to figure it out on my own (Brain hurting from lack of sleep trying to figure this out...). Anway, the graphic in the Civilopedia seems to be wrong. The plane appears jammed into the ground. Instead of sky, there is land. What do I need to tweak?

Good to know someone is helping, sorta...!
 
Sounds like a KFM problem... I assume you have this linked to the default "bomber.kfm"?

<KFM>Art/Units/Bomber/Bomber.kfm</KFM>

Post your Civ4ArtDefines_Unit.xml if you're still having problems.
 
yes, the default kfm.

<UnitArtInfo>
<Type>ART_DEF_UNIT_AC130</Type>
<Button>,Art/Interface/Buttons/Units/Bomber.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,4,10</Button>
<fScale>0.5</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Modules/Custom Units/AC130/C130/C130.nif</NIF>
<KFM>Art/Units/Bomber/Bomber.kfm</KFM>
<SHADERNIF>Modules/Custom Units/AC130/C130/C130.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/BomberShadow.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>

I can't seem to find the actual kfm file where it should be. How do I get it?


UPDATE:

For some reason, when you switch the unit's domain type to LAND, the unit sinks into the ground. I guess it's the game's way of making sure it's attached. The Gunship's seem to be made with this in mind, while planes are not. Hence, the reason why it's sunk in the ground... Can someone mod the .nif to make it hover?
 
I don't see anything blatantly wrong with your XML coding... you might want to compare it with the Modern Warfare XML for the same unit (they have it in there as a transport, right?).
 
Reply to a discussion in the request thread rather than continue OT there. The discussion was concerning the AC-130 so is at least partly relevant here.

They are used against Armored Vehicles as well Dan. They are CAS aircraft. They are usually used over countries with lack of modern airforce or after their entire air defence and air superiority fighters are destroyed.

I'd like to see that unit too. Too bad i can't design myself.

Yes the aircraft can be used against armour as part of its CAS role but its not an anti-armour platform per se. The 105mm only employs HE and WP rounds and the 25 HEI only. Apparently there are AP rounds for the 40mm but HE is still the main diet. Yes the angle of attack will increase the chances of a top attack on the thinner armour there. Consider that the 40mm and 25mm weapons are being replaced by 30mm Bushmasters, one to ease maintenance concerns but also because of a lack of air burst ammunition for the 25mm.

Introducing a AC-130 type as has been suggested by some with the ability to attack multiple times and with an anti-armour bonus would unbalance combat significantly unless some rebalancing was done elsewhere. The low and slow aircraft should be made more vulnerable to interception and though should be given to the intorduction of anti-air assets that remain invisible until they fire and even then they should only have 50% chance of detection after the first one or two engagements to allow for the the employment shoot and scoot tactics, bearing in mind a single square is actually a very large area one the ground. If you wish to grant an uber-weapon to one side then it should balanced by counter-measures for the other side. Still these are just suggestions based on my own opinions of what is a balanced game. Obviously everyone is free to do what everever they whan with thier own mods :)

Dan
 
danrh,

Great! Love to hear more input on this. I've successfully created a prototype AC-130 already since yesterday. Long night, phew!

It is currently an air unit since the graphic is meant for air, so I can't change it without it looking quite ********. If someone can mod a similar graphic to a Gunship that floats in the air, I would be glad to change it to it to land. For the moment, it remains in the air domain...

Which makes it operate less like a helo and more like a fighter. As such, I've given it the following:

Strength: 30
Cost: 200
Attacks per turn: 1
Range: 12
Attack Mod: -50% vs. Naval Units
Can completely destroy targets


However, YOUR suggestion for multiple attackers per turn is a good one, and I suggested that, too. But someone else in another thread said that wasn't a good idea considering that no other air unit can do that. That's why I decided to give it kill completion like a Gunship, to "simulate" the ability to circle around until the target is terminated. But the interception part was something I was toying with, and I think I can get it to work. It just requires changing integers.
 
danrh,

Great! Love to hear more input on this. I've successfully created a prototype AC-130 already since yesterday. Long night, phew!

It is currently an air unit since the graphic is meant for air, so I can't change it without it looking quite ********. If someone can mod a similar graphic to a Gunship that floats in the air, I would be glad to change it to it to land. For the moment, it remains in the air domain...

Which makes it operate less like a helo and more like a fighter. As such, I've given it the following:

Strength: 30
Cost: 200
Attacks per turn: 1
Range: 12
Attack Mod: -50% vs. Naval Units
Can completely destroy targets


However, YOUR suggestion for multiple attackers per turn is a good one, and I suggested that, too. But someone else in another thread said that wasn't a good idea considering that no other air unit can do that. That's why I decided to give it kill completion like a Gunship, to "simulate" the ability to circle around until the target is terminated. But the interception part was something I was toying with, and I think I can get it to work. It just requires changing integers.

Um okay, nice to see. Just to be clear I was against the idea of multiple attacks :)

Dan
 
Um okay, nice to see. Just to be clear I was against the idea of multiple attacks :)

Dan


Dan, I have a new thread up on a modified C-130 as the AC-130. Unfortunately, the way the game is coded, I can't get it to work ideally as a single attack unit. Just take a look, and I'm sure you'll agree, it's balanced well so as not to be too uber...

http://forums.civfanatics.com/showthread.php?t=264688
 
yes, the default kfm.

<UnitArtInfo>
<Type>ART_DEF_UNIT_AC130</Type>
<Button>,Art/Interface/Buttons/Units/Bomber.dds,Art/Interface/Buttons/Unit_Resource_Atlas.dds,4,10</Button>
<fScale>0.5</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Modules/Custom Units/AC130/C130/C130.nif</NIF>
<KFM>Art/Units/Bomber/Bomber.kfm</KFM>
<SHADERNIF>Modules/Custom Units/AC130/C130/C130.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/BomberShadow.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>

I can't seem to find the actual kfm file where it should be. How do I get it?


UPDATE:

For some reason, when you switch the unit's domain type to LAND, the unit sinks into the ground. I guess it's the game's way of making sure it's attached. The Gunship's seem to be made with this in mind, while planes are not. Hence, the reason why it's sunk in the ground... Can someone mod the .nif to make it hover?

Okay, here is the Thomas Pi repair service again. :D

Please set
PHP:
<bActAsAir>0</bActAsAir>
to
PHP:
<bActAsAir>1</bActAsAir>

Now you should see the plane in the sky - the domain doesn't matter.
 
Amazing unit, who would expect less from snafusmith.

My question, has anyone been able to get the AI to use this (or any other air transport unit)?
 
heheheh, we meet again DVS lol.
 
Back
Top Bottom