Hello All,
Updated to version 1.1 5/25/2006
version 1.0 had 45 downloads
Screenshots here: http://forums.civfanatics.com/member.php?u=38089
Download here
From the readme:
Flying Mod
by
Roger Bacon
version 1.1 (5/25/2006)
THE MOD:
This mod allows users to add a tag to any unit they want. A unit that has 1 will be able to move over both water and land. There is no need to, nor should you, change the domain type. It should be DOMAIN_LAND just as before. You can still limit a uint to coastal water squares by adding the following to its description (same as the galley unit).
TERRAIN_OCEAN
1
Also, you should add the following AI tag to the unit so it will attack water units.
UNITAI_ATTACK_SEA
1
THE PYTHON:
I have added two functions to CyUnit class that modders can use with python.
bool isFlying()
returns true if the unit can fly, false otherwise
void setFlying(bool newValue)
enables a unit to fly or disables its ability to fly.
With these functiosn you can control individually on hte unit level what can fly and what can't. So, for example you could make a fly spell and enable its targets to fly. Or you could disable an individual gunship's ability to fly.
THE XML
You must put the CIV4UnitSchema.xml in your My Documents\My Games\Civ4\CustomAssets\xml\units folder.
I have included the XML entry for the gunship. You can copy this one over your own gunship entry or just make the changes mentioned above.
THE DIFFERENCES BETWEEN DLLs
There are two seperate DLLs included. One is the FlyingOnly mod. The other combines the Flying mod with my "Borders over Water" mod and my "Three-square Radius Cities" mod.
Copy the DLL of yoru choice to your My Documents\My Games\Civ4\CustomAssets\ folder.
BONUS
I have also modded the game so that real air units (DOMAIN_AIR) that have more than one movement point can do multiple missions per turn. Currently none of the air units in Civ have more than one movement point so this won't change your game any unless you make a unit with more than one movement point. This could represent, for example, an advanced plane like the F-15 that can target and engage multiple threats at a time.
BONUS2
Added combat zoom mod. In vanilla civ the option to zoom in on battles only applies to battles where you are the attacker. Now if you have the camera zoom option enables it will work for battles where you are the attacker or battles where you are the defender.
SOURCE CODE
All of the *.h and *.cpp files are the source code. Non-modders can just ignore those.
Enjoy,
Roger Bacon
Version History
1.0 5/20/2006 Initial release
1.1 5/25/2006 Corrected the "Flying only dll" - it actually had all the features still in it. Also added the camera mod (see bonus2 baove).
Updated to version 1.1 5/25/2006
version 1.0 had 45 downloads
Screenshots here: http://forums.civfanatics.com/member.php?u=38089
Download here
From the readme:
Flying Mod
by
Roger Bacon
version 1.1 (5/25/2006)
THE MOD:
This mod allows users to add a
Also, you should add the following AI tag to the unit so it will attack water units.
THE PYTHON:
I have added two functions to CyUnit class that modders can use with python.
bool isFlying()
returns true if the unit can fly, false otherwise
void setFlying(bool newValue)
enables a unit to fly or disables its ability to fly.
With these functiosn you can control individually on hte unit level what can fly and what can't. So, for example you could make a fly spell and enable its targets to fly. Or you could disable an individual gunship's ability to fly.
THE XML
You must put the CIV4UnitSchema.xml in your My Documents\My Games\Civ4\CustomAssets\xml\units folder.
I have included the XML entry for the gunship. You can copy this one over your own gunship entry or just make the changes mentioned above.
THE DIFFERENCES BETWEEN DLLs
There are two seperate DLLs included. One is the FlyingOnly mod. The other combines the Flying mod with my "Borders over Water" mod and my "Three-square Radius Cities" mod.
Copy the DLL of yoru choice to your My Documents\My Games\Civ4\CustomAssets\ folder.
BONUS
I have also modded the game so that real air units (DOMAIN_AIR) that have more than one movement point can do multiple missions per turn. Currently none of the air units in Civ have more than one movement point so this won't change your game any unless you make a unit with more than one movement point. This could represent, for example, an advanced plane like the F-15 that can target and engage multiple threats at a time.
BONUS2
Added combat zoom mod. In vanilla civ the option to zoom in on battles only applies to battles where you are the attacker. Now if you have the camera zoom option enables it will work for battles where you are the attacker or battles where you are the defender.
SOURCE CODE
All of the *.h and *.cpp files are the source code. Non-modders can just ignore those.
Enjoy,
Roger Bacon
Version History
1.0 5/20/2006 Initial release
1.1 5/25/2006 Corrected the "Flying only dll" - it actually had all the features still in it. Also added the camera mod (see bonus2 baove).