TheLadiesOgre
Aspiring Codesmith
- Joined
- Jan 16, 2009
- Messages
- 505
****Important-- It has been brought to my attention that while this does work, it is not working as intended. This thread is henceforth to be considered a development thread. The download will remain, though you have been notified. "The AI is not yet choosing to utilize land transport capabilities by design, it is merely coincidence that occurs when a land transport and a potential cargo unit cross paths". My apologies for the cruel joke, I am currently trying to make this happen by design instead of coincidence.
AI Land Transport Usage Mod v0.1
By: TheLadiesOgre
Patch Compatibility: v3.19
MP Compatible: ? (though I see no reason why not)
Description:
Teaches the AI how to use Land Transport Units (which in the DLL/XML version are Gunships and Mech Infantry).
I think that troop mobility is an integral part of modern warfare and
to have it not be a part of such a great game seems to me to be a crime.
Installation Instructions:
Place the AI Land Transport Usage folder which contains this readme and the Assets folder in "C:\Program Files\Firaxis Games\Sid Meier's
Civilization 4\Beyond the Sword\Mods\" or "C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\". You can
then load AI Land Transport Usage as a mod in the normal way or set BTS to autoload AI Land Transport Usage in "\My Games\Beyond the Sword\CivilizationIV.ini".
The source code for the changes (changed files only) are also included in a zip. If you are not a modder, you do not need those files and there is no need to extract them from the zip file.
-----Notes to Modmakers-----
If you want to use AI Land Transport Usage in your mod I have tried to make things as
easy as possible for you. In the XML files I have added <!-- AI Land Transport Usage Start -->
and <!-- AI Land Transport Usage End --> in all of the places that I have made changes to the
original files.
In the SDK files I have added //TLO: AI Land Transport Usage Start and
//TLO: AI Land Transport Usage End or //TLO: AI Land Transport Usage Change
in all of the places that I have made changes to the original files. My
recommendation is to search "TLO:" (without the quotes of course) as in some
places the comment is far off to the right.
-----Version Information-----
-----v0.1----- (18.08.2009)
- Added UNITAI_ASSAULT_LAND which is essentially just a clone of
UNITAI_ASSAULT_SEA that has been tweaked for usage on land plots.
- Tweaked Gunships and Mech Infantry to be land transports (I changed
their default AI to UNITAI_ASSAULT_LAND, gave them both a cargo space
of 4 and added SPECIALUNIT_PEOPLE_GUN (Anti-Tank Infantry, Infantry,
Machine Gun, Marine and SAM Infantry) as their cargo type)
-----To Do & Ideas-----
-Potentially add UNITAI_TRANSPORT_AIR (load the transport plane and
rebase it is the idea) which would require that a suitable transport
plane be added (snafusmith made a C-130 Hercules iirc, which would do
nicely). This idea depends upon how it is recieved by the community.
-Potentially add UNITAI_MISSILE_CARRIER_LAND (for use with units like
the Missile Launcher from the Nuclear Arsenal mod). This idea also depends
upon how it is recieved by the community.
-----===Credits & Thanks===-----
- TheLopez, JDog5000
readme.txt format
- Seasnake
For getting me thinking about it
-JDog5000
For tips and pointers
Feel free to download and test for yourselves, questions and comments are welcome.
I Killed the Download
So, how do you all feel about the potential additions? Let me know if you want them and (if there is enough demand) I'll do it. I'm thinking that the UNITAI_MISSILE_CARRIER_LAND would be the easier of the two.
AI Land Transport Usage Mod v0.1
By: TheLadiesOgre
Patch Compatibility: v3.19
MP Compatible: ? (though I see no reason why not)
Description:
Teaches the AI how to use Land Transport Units (which in the DLL/XML version are Gunships and Mech Infantry).
I think that troop mobility is an integral part of modern warfare and
to have it not be a part of such a great game seems to me to be a crime.
Installation Instructions:
Place the AI Land Transport Usage folder which contains this readme and the Assets folder in "C:\Program Files\Firaxis Games\Sid Meier's
Civilization 4\Beyond the Sword\Mods\" or "C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization 4 Complete\Beyond the Sword\Mods\". You can
then load AI Land Transport Usage as a mod in the normal way or set BTS to autoload AI Land Transport Usage in "\My Games\Beyond the Sword\CivilizationIV.ini".
The source code for the changes (changed files only) are also included in a zip. If you are not a modder, you do not need those files and there is no need to extract them from the zip file.
-----Notes to Modmakers-----
If you want to use AI Land Transport Usage in your mod I have tried to make things as
easy as possible for you. In the XML files I have added <!-- AI Land Transport Usage Start -->
and <!-- AI Land Transport Usage End --> in all of the places that I have made changes to the
original files.
In the SDK files I have added //TLO: AI Land Transport Usage Start and
//TLO: AI Land Transport Usage End or //TLO: AI Land Transport Usage Change
in all of the places that I have made changes to the original files. My
recommendation is to search "TLO:" (without the quotes of course) as in some
places the comment is far off to the right.
-----Version Information-----
-----v0.1----- (18.08.2009)
- Added UNITAI_ASSAULT_LAND which is essentially just a clone of
UNITAI_ASSAULT_SEA that has been tweaked for usage on land plots.
- Tweaked Gunships and Mech Infantry to be land transports (I changed
their default AI to UNITAI_ASSAULT_LAND, gave them both a cargo space
of 4 and added SPECIALUNIT_PEOPLE_GUN (Anti-Tank Infantry, Infantry,
Machine Gun, Marine and SAM Infantry) as their cargo type)
-----To Do & Ideas-----
-Potentially add UNITAI_TRANSPORT_AIR (load the transport plane and
rebase it is the idea) which would require that a suitable transport
plane be added (snafusmith made a C-130 Hercules iirc, which would do
nicely). This idea depends upon how it is recieved by the community.
-Potentially add UNITAI_MISSILE_CARRIER_LAND (for use with units like
the Missile Launcher from the Nuclear Arsenal mod). This idea also depends
upon how it is recieved by the community.
-----===Credits & Thanks===-----
- TheLopez, JDog5000
readme.txt format
- Seasnake
For getting me thinking about it
-JDog5000
For tips and pointers
Feel free to download and test for yourselves, questions and comments are welcome.
I Killed the Download
So, how do you all feel about the potential additions? Let me know if you want them and (if there is enough demand) I'll do it. I'm thinking that the UNITAI_MISSILE_CARRIER_LAND would be the easier of the two.