View Full Version : Gunships over water - now possible, but buggy


Clifford
Dec 17, 2005, 03:24 PM
I know a lot of people have been looking for a way to make gunships cross water. I came across this solution when looking for a way to mod artillery to Civ3 values. Hereīs how to do it:

Open your "CIV4UnitInfos.xml" file, you find it under civ4\Assets\XML\Units.

Search for "gunship".
The first two hits are upgrades for other units. When you hit search the third time you should find the following lines:
<UnitInfo>
<Class>UNITCLASS_GUNSHIP</Class>
<Type>UNIT_GUNSHIP</Type>
<UniqueNames/>
<Special>NONE</Special>
<Capture>NONE</Capture>
<Combat>UNITCOMBAT_HELICOPTER</Combat>
<Domain>Domain_land</Domain>

Now change the last line by deleting "domain_land".

it should look like this:
<UnitInfo>
<Class>UNITCLASS_GUNSHIP</Class>
<Type>UNIT_GUNSHIP</Type>
<UniqueNames/>
<Special>NONE</Special>
<Capture>NONE</Capture>
<Combat>UNITCOMBAT_HELICOPTER</Combat>
<Domain></Domain>

You will get a single error-message when starting Civ4, ignore it. I havenīt tested this thoroughly yet, but I do know you can attack and sink ships and so on, you also get your full movement allowance over water. This is still in a beta stage, of course, so do expect bugs to come along.

Please test it and report your success/failures here for all to see.

*EDIT*
Ok, the combat seems to work like this:
Anims are often weird, but thatīs to be expected.
The combat values are the strangest thing so far.
If the gunships attack, they win, even if they attack battleships. But when destroyers or others attack gunships, the ships win. This seems to be the most common result, although a few times other outcomes has appeared.
The oddest thing is that a single warrior, in a city, canīt be harmed by the gunships. The gunships are all destroyed trying to tackle a single warrior. Perhaps because they canīt take cities...Iīll be back with more testing soon*/EDIT*

*EDIT 2* Turns out combat is far too buggy right now. Iīve been trying to understand why some units are always sunk by the gunship, while for example caravels cannot be hurt at all.

So what practical use is there to this?
You can make a transport chopper that can only defend, but can cross water. Could be neat. Other than that, no practical use until I have experimented some more.*/EDIT*

Lord Olleus
Dec 17, 2005, 03:29 PM
does this mean that helicopters can end there turn on water?
seems a bit stupid if they can.

Clifford
Dec 17, 2005, 03:43 PM
Yes, as it is now, they can end turn over water.

anjf
Dec 17, 2005, 04:11 PM
try to make it so they can land on a carrier, and must end on land or carrier

Exavier
Dec 17, 2005, 04:18 PM
try to make it so they can land on a carrier, and must end on land or carrier

Only way to make things landable on carriers is to give them the SPECIALUNIT_FIGHTER trigger (hope i spelled it right).

Clifford
Dec 17, 2005, 04:57 PM
Turns out combat is far too buggy right now. I´ve been trying to understand why some units are always sunk by the gunship, while for example caravels cannot be hurt at all.

So what practical use is there to this?
You can make a transport chopper that can only defend, but can cross water. Could be neat. Other than that, I´ll have to experiment some more.